Question

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
Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top