Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This subject was discussed here before but my problem is a little different. I have a transparent tiff sequence with sequential numbers that I wish to overlay on top of another tiff sequence in order to create a video file.

In addition, I'd like to add a text overlay from a text file using the drawtext filter.

Seperatly, I've managed to do both of these actions but when I try to combine them to a single command line, the code either doesn't work or it produces only one of the video filters.

This is the code I've used for the sequential numbers overlay:

ffmpeg -i sc060_sh0050_v02.%4d.tif -i %d.tif -vcodec v210 -filter_complex overlay -shortest

And this is the code I've used for the title overlay:

ffmpeg -f image2 -i sc060_sh0050_v02.%4d.tif -vcodec v210 -vf "[in]drawtext=fontfile=Arial.ttf: fontsize=50: textfile=filename.txt: r=25: x=100: y=(lh): fontcolor=0x76FF08: box=1: boxcolor=0x00000099[out]" -y

Does anyone know of a way I can make both effects work in a single command line?

share|improve this question
what's the failing command line? – rogerdpack Jun 18 '13 at 0:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.