I'm trying to record a specific window, so I tried this answer.

But it gave me this error: Unknown input format: 'gdigrab'

I'm using ffmpeg version n4.4.

1 Answer 1


gdigrab is specific to Windows. For linux, x11grab is the relevant device.

Run ffmpeg -h demuxer=x11grab to see its options.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .