rdp / screen-capture-recorder-to-video-windows-free

a free open source windows "screen capture" device and recorder (also allows VLC/ffmpeg and others to capture/stream desktop/audio)
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
Other
2.11k stars 463 forks source link

Screen "Stretched" during video capture on certain resolutions #12

Open Archenoth opened 11 years ago

Archenoth commented 11 years ago

Heyas.

I recently attempted to record a video with this DirectShow capture filter using VLC 2.0.5. (Twoflower) The audio worked perfectly, however the video was captured in a stretched and twisted state, similar in appearance to a CRT monitor when you set the resolution too high. I have attached a still from the video that was recorded below:

record

The specifications for my system are:

Operating System
    Microsoft Windows 7 Home Premium 64-bit SP1
CPU
    Intel Core i5 2450M @ 2.50GHz
    Sandy Bridge 32nm Technology
Motherboard
    Acer JM30_HR (CPU1)
Graphics
    Generic PnP Monitor (1366x768@60Hz)
    1024MB GeForce GT 540M (Acer Incorporated [ALI])

This is a laptop with dual video cards, one of them is an Intel embedded one, and the other is the NVidia card mentioned above. (Optimus)

rdp commented 11 years ago

What screen resolution?

On Thu, Jan 10, 2013 at 8:33 PM, Matthew MacLean notifications@github.comwrote:

Heyas.

I recently attempted to record a video with this DirectShow capture filter using VLC 2.0.5. (Twoflower) The audio worked perfectly, however the video was captured in a stretched and twisted state, similar in appearance to a CRT monitor when you set the resolution too high. I have attached a still from the video that was recorded below:

[image: record]https://f.cloud.github.com/assets/1385527/59081/c69ad2da-5b9d-11e2-840a-edf5cab0c5c7.png

The specifications for my system are:

Operating System Microsoft Windows 7 Home Premium 64-bit SP1 CPU Intel Core i5 2450M @ 2.50GHz Sandy Bridge 32nm Technology Motherboard Acer JM30_HR (CPU1) Graphics Generic PnP Monitor (1366x768@60Hz) 1024MB GeForce GT 540M (Acer Incorporated [ALI])

This is a laptop with dual video cards, one of them is an Intel embedded one, and the other is the NVidia card mentioned above. (Optimus)

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/12.

rdp commented 11 years ago

Anyway my hunch is that your resolution is not a "multiple of 4" or "multiple of 8" or something, which VLC doesn't handle well, but it would be fun to try and track it down precisely and figure this out...

On Thu, Jan 10, 2013 at 8:33 PM, Matthew MacLean notifications@github.comwrote:

Heyas.

I recently attempted to record a video with this DirectShow capture filter using VLC 2.0.5. (Twoflower) The audio worked perfectly, however the video was captured in a stretched and twisted state, similar in appearance to a CRT monitor when you set the resolution too high. I have attached a still from the video that was recorded below:

[image: record]https://f.cloud.github.com/assets/1385527/59081/c69ad2da-5b9d-11e2-840a-edf5cab0c5c7.png

The specifications for my system are:

Operating System Microsoft Windows 7 Home Premium 64-bit SP1 CPU Intel Core i5 2450M @ 2.50GHz Sandy Bridge 32nm Technology Motherboard Acer JM30_HR (CPU1) Graphics Generic PnP Monitor (1366x768@60Hz) 1024MB GeForce GT 540M (Acer Incorporated [ALI])

This is a laptop with dual video cards, one of them is an Intel embedded one, and the other is the NVidia card mentioned above. (Optimus)

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/12.

Archenoth commented 11 years ago

Actually... That's very likely the problem.

It runs at 1366x768.

Should I update the title of the issue?

rdp commented 11 years ago

Try adjusting resolution slightly and see if it fixes it (setting a manual resolution). Does it have to be a multiple of 4? 8? I'm beginning to think that in future releases I should check if it's vlc and, if it is, automagically scale it somehow to alleviate this problem, I guess... -r

On Fri, Jan 11, 2013 at 9:43 AM, Matthew MacLean notifications@github.comwrote:

Actually... That's probably the problem.

It runs at 1366x768.

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/12#issuecomment-12152368.

Archenoth commented 11 years ago

I changed the resolution to 1360x768, and the resulting video recorded fine. I have attached a still from the resulting video.

Screenshot from 2013-01-11 12:48:50

6 pixels can make quite the improvement. :)

I'll go ahead and change the issue title now that we know the issue.

rdp commented 11 years ago

so powers of 4 work, or just powers of 8, do you know? (that sounds like pieces of 8...)

On Fri, Jan 11, 2013 at 12:54 PM, Matthew MacLean notifications@github.comwrote:

I changed the resolution to 1360x768, and the resulting video recorded fine. I have attached a still from the resulting video.

[image: Screenshot from 2013-01-11 12:48:50]https://f.cloud.github.com/assets/1385527/60888/39aa2192-5c28-11e2-83ac-8ad74c60a13c.png

6 pixel can make quite the improvement. :)

I'll go ahead and change the issue title now that we know the issue.

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/12#issuecomment-12160639.

Archenoth commented 11 years ago

Well, 1360 is divisible by 8, and that certainly works. (I believe standard resolutions are divisible by 4. But then again, I could be very wrong.)

I could check a few other resolutions later if you'd like.

rdp commented 11 years ago

Yes please :)

On Fri, Jan 11, 2013 at 3:02 PM, Matthew MacLean notifications@github.comwrote:

Well, 1360 is divisible by 8, and that certainly works. (I believe standard resolutions are divisible by 4. But then again, I could be very wrong.)

I could check a few other resolutions later if you'd like.

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/12#issuecomment-12165736.

Archenoth commented 11 years ago

Alright... Of all of the modes that I tested, the only one that failed was 1366x768.

The other modes I checked are: 1360x768, 1280x768, 1280x720, 1280x600, 1024x768, and 800x600...

I also noticed that you get really wonky non-playable videos (At least in VLC) if you switch resolution mid-record. Should I open another issue for this?

rdp commented 11 years ago

Sure on the new ticket (though it may be VLC's fault...) Could you try it with a few more variations in width? is that the only thing that causes it to fail? do multiples of 1, 2, 4, 8, or 16 work? Thanks so much!

On Sat, Jan 12, 2013 at 1:03 PM, Matthew MacLean notifications@github.comwrote:

Alright... Of all of the modes that I tested, the only one that failed was 1366x768.

The other modes I checked are: 1360x768, 1280x768, 1280x720, 1280x600, 1024x768, and 800x600...

I also noticed that you get really wonky non-playable videos (At least in VLC) if you switch resolution mid-record. Should I open another issue for this?

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/12#issuecomment-12183459.

Archenoth commented 11 years ago

I could... I'll need to set up a few new modes though, so I can't do it right away...

And alright. I'll open a new ticket.

rdp commented 11 years ago

no rush on this one, I think I have a bead on the problem now, so thanks for your feedback! (I was more suggesting just to arbitrarily set it up to capture "from x to y" of a given screen, so it's easier to control, as well, I probably didn't make that too clear :P Thanks for your help! -r

On Sun, Jan 13, 2013 at 6:27 PM, Matthew MacLean notifications@github.comwrote:

I could... I'll need to set up a few new modes though, so I can't do it right away...

And alright. I'll open a new ticket.

— Reply to this email directly or view it on GitHubhttps://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/12#issuecomment-12204178.