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