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.


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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.