eladg / ffmpeg-by-example

Creative Commons Attribution 4.0 International
8 stars 5 forks source link

Generate test video color pattern with 'testsrc' filter - FFmpeg By Example #49

Open eladg opened 2 years ago

eladg commented 2 years ago

https://www.ffmpegbyexample.com/examples/k9yvdbls/generate_test_video_color_pattern_with_testsrc_filter/

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):