Can FFMPEG capture from the screen in Windows?

Solution 1:

You can do it using FFmpeg and screen-capture-recorder-to-video-windows-free.

Sample command

ffmpeg -f dshow -i video=screen-capture-recorder -r 24000/1001 -q 1 out.avi

Small writeup

Solution 2:

This worked for me on Windows 7:

ffmpeg -f gdigrab -i desktop output.flv

See FFmpeg gdigrab documentation for more info.