Capture Screen with ffmpeg / screencast

On Windows you can record your screen to an .mp4 file using ffmpeg:

  • Download ffmpeg for Windows from
  • Run e.g. with following command: ffmpeg -f gdigrab -framerate 30 -show_region 1 -i desktop out.mp4

(the capture devices




did not work for me on my Windows 10 machine, they were not even listed in the available video devices.)

For details see ffmpeg's

On Windows 10, you can also try to use Windows' Screen Recording to record a window. Just press Win+G and check Yes, this is a game. Afterwards you get a Record button. Your recordings will be saved to %HOMEPATH%\Videos\Captures

One thought on “Capture Screen with ffmpeg / screencast”

  1. Many thanks for your tip.

    It is the only way of screen capture with ffmpeg on the Win10 computer I have to use (I’m a Fedora user).

    Do you know how I could capture sound from the audio card?

Leave a Reply

Your email address will not be published. Required fields are marked *