I tried to create such a test image video using ffmpeg device "lavfi", but my LTS Ubuntu told me:
"Unknown input format: 'lavfi'"
I got that my ffmpeg seems to miss that device. But how to fix this?
i used this:
ffmpeg -f lavfi -i testsrc=duration=120:size=1280x720:rate=30 test.mp4
You can do a ffmpeg -formats | grep lavfi
to see if it supports the format.
Your ffmpeg
may be really outdated, try with a newer version. There's a PPA for Trusty but it's recommended to compile it yourself from the git development branch snapshot. Static builds are also available.
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