Basically I am using ubuntu 18.04 and I am trying to get a specific window screen and record it into the .flv or .mp4 file using FFmpeg but when I run this command
ffmpeg -f gdigrab -framerate 30 -i title="german.avi - VLC media player" -b:v 3M germ.flv
I got an error attached in the screenshot Saying Unknown input format: 'gdigrab'

I tried to use dshow instead of gdigrab but got same error. Can someone tell me how to solve this issue or another method that could be able to record a specific window screen.
Any help in this regard would be greatly appreciated.
gdigrab and dshow are only meant for Windows.
On linux, use x11grab. See -ffmpeg -h demuxer=x11grab for options.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With