FFmpeg By Example is a documentation website to showcase all the unique and different ways to use FFmpeg. Got a cool idea to share with the community? Send your contribution here! Generate test video color pattern with 'testsrc' filter ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 testsrc.mpg Copy to clipboard Try it online All Examples ▲ Extract Raw Keyframe and Non Keyframes Out of a Video tags: #video-extract ▲ Print a Data Channel to STDOUT Using Ffmpeg tags: #no-video #metadata ▲ Cut Audio Files by Sample by Atrim tags: #mp3 ▲ Extract X Frames From Specific Times to JPG Files tags: #extract-thumbnails #video-extract ▲ Loop Images at Specific Frame Rate to Generate a Video tags: #gif #meme ▲ Erratic Camera Movement Effect Using Crop Filter tags: #testsrc #camera #crop ▲ Stream Local File to RTMP Server and Client tags: #server #rtmp ▲ "Retro Video Filter" Using Video Masking, Sepia Tones and Advanced Overlaying Technics tags: #filter #sepia #art ▲ Fade in and Out Text Using the 'Drawtext' Filter tags: #generator #filter #subtitles ▲ Transcode Canon EOS 5D Mark II Footage tags: #canon5d 1 2 3 >