[FFmpeg-user] Screen Capture - Windows 10
Moritz Barsnick
barsnick at gmx.net
Thu Jun 1 22:38:40 EEST 2017
On Thu, Jun 01, 2017 at 08:59:50 -0400, Ron Barnes wrote:
> Does anyone see where I may have gone south in the script below or the
> hardware I'm using? If possible, would someone offer an alternate script I
> can try?
As already mentioned, the hardware acceleration of your browser can
apparently not be captured.
> ffmpeg -y -rtbufsize 2000M -f gdigrab -thread_queue_size 1024 -probesize 50M
> -r 30 -video_size 1920x1080 -draw_mouse 1 -i desktop -f dshow -i
> audio="Stereo Mix (Realtek High Definition Audio)" -c:v libx264 -r 30
> -preset ultrafast -tune zerolatency -crf 25 -pix_fmt yuv420p -c:a aac
> -strict -2 -ac 2 -b:a 96k -y "I:\Captured\TestAV.mp4"
You're using gdigrab for video. Have you tried adding the dshow capture
device?
https://github.com/rdp/screen-capture-recorder-to-video-windows-free
If you install it, your "ffmpeg -list_devices true -f dshow -i dummy"
should show a new video device "screen-capture-recorder". Perhaps that
works for you. (I have no experience with it - it may suffer the same
limitation. Please do report.)
Cheers,
Moritz
More information about the ffmpeg-user
mailing list