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!

Stitch two video files side by side

ffmpeg -y -i yoga.mp4 -i sharks.mp4 -filter_complex "[0:v]pad=iw+iw:ih[v1];[v1][1:v]overlay=overlay_w:0[vid]" -an -map "[vid]" -c:v libx264 -crf 23 -preset veryfast output.mp4

All Examples