FFmpegByExample 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!

Animate drawtext and drawbox with the sendcmd filter

ffmpeg -y -i input.mp4 -vf 'sendcmd=f=sendcmd.txt,drawbox,drawtext' output.mp4

All Examples

  • The following command generates a 10-second video (600 frames at 60 FPS) using an image (image.png) as the foreground and a black background while applying zoom and panning effects.
    tags: #zoompan
  • If you try to transcode footage from Canon EOS 5D Mark II, you will find that ffmpeg, left to its defaults, will produce image that is slightly color shifted and also darker, drowning the blacks.
    tags: #canon5d