[FFmpeg-user] overlay and drawtext

Roger Pack rogerdpack2 at gmail.com
Thu Aug 30 19:37:27 CEST 2012

> Hi all,
> I have a need to overlay an image on top of a video and then draw text on the output of overlay.I am a bit confused how to do this.
> ffmpeg -i video -i image -filter_complex overlay="0:0" ...?

This worked for me:

$ ffmpeg -i video.mpg -i image.jpg -filter_complex "[0] [1] overlay
[b]; [b] drawtext=fontfile=arial.ttf:text=yo" output

(it prints yo over the top)

More information about the ffmpeg-user mailing list