[FFmpeg-user] gdigrab just capturing a still frame when using window title
rogerdpack2 at gmail.com
Thu May 18 01:58:43 EEST 2017
On 5/12/17, Kenn Sippell <kennsippell at gmail.com> wrote:
> Hello! I am attempting to use ffmpeg to record some video games. In this
> scenario I'm recording Dota 2 from my PC (working great) and from my laptop
> (having some problems).
> ffmpeg -f gdigrab -i desktop output.flv
> This command works fine on both my PC and my laptop.
> ffmpeg -f gdigrab -i title="Dota 2" output.flv
> This command works fine on my PC but does not work on my laptop. On my
> laptop, I'm often seeing either a) the game window is transparent, and I
> can see the desktop or other windows beneath it, or b) a single random
> frame from the game. In all cases the mouse is capturing accurately.
> My laptop has two graphic cards:
> - Intel HD Graphics 4600
> - nVidia GeForce GTX 860M
> I thought this might just be a manifestation of this sort of issue --
> But I've tried configuring ffmpeg.exe as described with no results.
> Is this a well understood issue or one I can work around in gdigrab?
> Is there an alternative to gdigrab that can capture the game in Windows?
> I'm very performance conscious for my scenario (minimize CPU), is there an
> alternative to gdigrab that is less CPU intense?
Try grabbing the whole desktop and cropping help?
More information about the ffmpeg-user