I tried to create such a test video using the ffmpeg "lavfi" device, but my Ubuntu LTS told me:
"Unknown input format: 'lavfi'"
I realized that my ffmpeg seems to have missed this device. But how to fix it?
I used this:
ffmpeg -f lavfi -i testsrc=duration=120:size=1280x720:rate=30 test.mp4
source
share