#4232(ffmpeg:new): gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop
#4232: gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop -------------------------------------+------------------------------------- Reporter: umansky | Type: defect Status: new | Priority: normal Component: ffmpeg | Version: Keywords: gdigrab, | unspecified desktop | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: On a hidpi device such as a touchscreen tablet, running Windows 7, attempting to grab the desktop when the DPI setting is set to a number higher than 100% in Control Panel\Appearance and Personalization\Display results in a cropped video and does not grab the entire desktop. If I set the DPI setting back to 100%, gdigrab correctly gets the right resolution, but this is undesierable as text is practically impossible to read. How to reproduce: {{{ % ffmpeg.exe -f gdigrab -i desktop video.mp4 -report ffmpeg version N-68881-ga79ac73 Copyright (c) 2000-2015 the FFmpeg developers built on Jan 5 2015 22:02:22 with gcc 4.9.2 (GCC) }}} This reports the resolution of the tablet as 1280x800, when the actual resolution of the screen is 1920x1200. If I give it the -video_size flag to be the actual resolution of the monitor, it says I've gone out of bounds. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4232> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4232: gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop -------------------------------------+------------------------------------- Reporter: umansky | Owner: Type: defect | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: gdigrab, | Blocked By: desktop | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by umansky): Also, just as an extra bit of info, 150% of 1280 is 1920, which points directly to this being related to the DPI setting. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4232#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4232: gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop -------------------------------------+------------------------------------- Reporter: umansky | Owner: Type: defect | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: gdigrab, | Blocked By: desktop | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Cigaes): Why do you talk about percentages and DPI setting together? -- Ticket URL: <https://trac.ffmpeg.org/ticket/4232#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4232: gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop -------------------------------------+------------------------------------- Reporter: umansky | Owner: Type: defect | Status: new Priority: normal | Component: ffmpeg Version: unspecified | Resolution: Keywords: gdigrab, | Blocked By: desktop | Reproduced by developer: 0 Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by umansky): This is the setting that fixes/breaks gdigrab on the hidpi device. At 100%, it works, at higher values (the tablet where I'm having the issue is on 150% by default) it reports an incorrect resolution. [[Image(http://i.imgur.com/NMamaNW.png)]] -- Ticket URL: <https://trac.ffmpeg.org/ticket/4232#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4232: gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop -------------------------------------+------------------------------------- Reporter: umansky | Owner: Type: defect | rogerdpack Priority: normal | Status: open Version: unspecified | Component: ffmpeg Keywords: gdigrab, | Resolution: desktop | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by rogerdpack): * cc: rogerdpack@… (added) * owner: => rogerdpack * status: new => open Comment: Hope to still get to this :) https://www.mail-archive.com/ffmpeg- devel@ffmpeg.org/msg20334.html -- Ticket URL: <https://trac.ffmpeg.org/ticket/4232#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4232: gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop ------------------------------------+-------------------------------------- Reporter: umansky | Owner: rogerdpack Type: defect | Status: open Priority: normal | Component: avdevice Version: git-master | Resolution: Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+-------------------------------------- Changes (by cehoyos): * keywords: gdigrab, desktop => gdigrab * version: unspecified => git-master * component: ffmpeg => avdevice -- Ticket URL: <https://trac.ffmpeg.org/ticket/4232#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#4232: gdigrab does not get correct monitor resolution on hidpi device when grabbing desktop ------------------------------------+-------------------------------------- Reporter: umansky | Owner: rogerdpack Type: defect | Status: closed Priority: normal | Component: avdevice Version: git-master | Resolution: fixed Keywords: gdigrab | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+-------------------------------------- Changes (by rogerdpack): * status: open => closed * resolution: => fixed Comment: OK hopefully fixed in https://github.com/FFmpeg/FFmpeg/commit/e82883aa88bfccf2669e914eab9deef6cecf... please report back and reopen if not. -- Ticket URL: <https://trac.ffmpeg.org/ticket/4232#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg