Generate test video color pattern with 'testsrc' filter Edit 7 192 The testsrc filter generates a test video pattern showing a color pattern, a scrolling gradient, and a timestamp. This is useful for testing purposes. This example will create a 10 second output, 30 fps (300 frames total), with a frame size of 640x360 (testsrc.mpg): by Elad Gariany <elad@gariany.com> Updated on: March 22, 2022 tags: #lavfi #testings ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 testsrc.mpg Copy to clipboard Try it online