2

I want to add text and logo image on video at same time and i have both command, but i want to merge them into one command. i tried a lot but its not working this command used for add logo

ffmpeg -i video.mp4 -vf "movie=e\:/logo.png [watermark]; [in][watermark] overlay=10:10 [out]"-y output.mp4.

this command used for add text on video

ffmpeg -i video.mp4 -filter:v drawtext="fontfile=e\:/font/segoeui.ttf:text='Hello World':[email protected]:fontsize=30:y=h/2:x=0"-y output.mp4

1 Answer 1

4

No need for the movie filter: that's a very old, unnecessary, and outdated workaround. Just add logo.png like any other input and join simple filters with a comma.

ffmpeg -i video.mp4 -i logo.png -filter_complex "[0:v][1:v]overlay=10:10,drawtext=text='Hello World'" -c:a copy -movflags +faststart output.mp4
1
  • Thank you for the help, this one is working for me...ffmpeg -i video.mp4 -i logo.png -filter_complex "[0:v][1:v]overlay=10:10,drawtext=fontfile=e\\:/font/segoeui.ttf:text='Hello World':[email protected]:fontsize=30:y=h/2:x=0:enable='between(t,6,20)'" -c:a copy -movflags +faststart output.mp4 Commented Feb 19, 2019 at 6:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .