[FFmpeg-user] Watermark and Text overlay at the same time?

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Dec 31 00:05:18 CET 2014


Les Irvin <lesirvin <at> gmail.com> writes:

> 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';"

Please try to remove the following from your command line:
 [out]" -vf "[0:v]
And instead use "," or ";" (sorry, I always forget which 
one to use).

This is ticket #4184.

Carl Eugen

PS: There is something strange about "-c:v libx264 -vcodec png"



More information about the ffmpeg-user mailing list