[FFmpeg-user] Watermark and Text overlay at the same time?
Les Irvin
lesirvin at gmail.com
Tue Dec 30 23:27:42 CET 2014
I am creating a video slideshow with audio and a png as a watermark.
This code works great:
ffmpeg -r 1/4 -i img_%03d.jpg -i audio.mp3 -codec:a copy -c:v libx264
-vcodec png
-vf "movie=wm.png [wm]; [in][wm] overlay=10:main_h-overlay_h-10 [out]"
-shortest output.mp4
Now, I'm trying to add a text overlay as well:
-vf "[0:v]drawtext=fontfile=Average-Regular.ttf:text='TESTING';"
Both of these -vf commands work great individually, but not together. I
understand I may have to use -filter_complex instead of -vf, but I'm
unsure how. Can anyone show me how to combine the 2?
Thanks in advance,
Les
More information about the ffmpeg-user
mailing list