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.09k stars 458 forks source link

high dpi is much requested! #50

Open rdp opened 9 years ago

gandalfliang commented 9 years ago

adding this code "SetProcessDPIAware();" under PushSourceDesktop.cpp's default child constructor resolve my high dpi problem under windows 8.1

rdp commented 9 years ago

how about SetProcessDPIAwareness same fix? What exactly does it fix how to reproduce?

On Sat, Nov 22, 2014 at 1:41 AM, Gandalfliang notifications@github.com wrote:

adding this code "SetProcessDPIAware();" under PsuSourceDesktop.cpp's default child constructor resolve my high dpi problem under windows 8.1

— Reply to this email directly or view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/50#issuecomment-64073663 .

gandalfliang commented 9 years ago

my previous problem is capturing full screen under windows 8.1 with DPI setting up to 150% and my screen resolution is 2160x1440, however, without the high dpi setting, screen-capture-recorder detected my screen resolution as 1440x900, which means I can only capture part of my desktop screen. So I add the code I mentioned and my problem with high DPI setting solved.

bui commented 9 years ago

bump also #31 #56

DuBistKomisch commented 9 years ago

A workaround we've found is to set the compatibility mode flag "Disable display scaling on high DPI settings" on whatever executable is loading the DLL, which in our case is ffmpeg.exe. This can be done programmatically via the registry, which is a bit of a pain when distributing.

bui commented 9 years ago

@DuBistKomisch that works, but the cursor appears to be more scaled up/pixelated. did you find a workaround for that?

DuBistKomisch commented 9 years ago

Nope, haven't looked into it too deeply yet. Just getting the full screen is good enough for our purposes in the short term. I'll report anything else I end up finding.