문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top