[FFmpeg-user] Problem with GDIGRAB device on Windows 7

Roger Pack rogerdpack2 at gmail.com
Sat Nov 22 20:22:45 CET 2014

On Sun, Oct 5, 2014 at 9:26 PM, Yan Brenman <ybrenman at xopnetworks.com>

> Hello ffmpeg/gdigrab gurus!
> We are using "gdigrab" device on Windows to share/stream video for a
> specific application window (identified by a title as "gdigrab" requires).
> Everything works great on Window 8.x - actual application window (and not
> the region on the desktop occupied by the application window)
> is getting shared and successfully played by the player on the receiving
> side. Which means that even if shared window is overlapped by the
> other window on the source - still the application window is getting
> played.
> Unfortunately, as we discovered, "gdigrab" doesn't work correctly on
> Window 7. And instead window sharing it actually does the region sharing.
> Which pretty much means that if shared window is being overlapped by the
> other window on the desktop - that's what getting played on the
> receiving side.
> Just for reference - we tried to do window sharing with
> screen-capture-recorder and unfortunately got exactly the same results.
> I would greatly appreciate any help/advise anybody can provide on the
> subject. And please let me know if there is any other information I can
> provide.

Unfortunately there's no easy "fix" unless someone were to implement the
"PrintWindow" API.
Patches welcome, for sure.
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

More information about the ffmpeg-user mailing list