Z
Z
zobov2012-06-08 15:00:24
linux
zobov, 2012-06-08 15:00:24

How to apply watermark from png with transparent background using ffmpeg?

Hello. The question is actually in the title.

ffmpeg -i source.mp4 -acodec copy -b 500k -vf "movie=logo.png [logo]; [in][logo] overlay=0:0 [out]" out.mp4

Gives me a video that does indeed have a watermark, but the transparent background is replaced with black.

If there is some other utility that will not dance with a tambourine, please advise.
If with CUDA support, it’s generally great :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex10, 2015-11-08
@Alex10

ffmpeg -i f.mp4 -vf 'movie=image.png [img]; [in] [img] overlay=0:0 [out]' -t 5 -y full.mp4

But until I figured out how to set the time interval for the pop-up of the inscription, this option simply cuts out 5 seconds of the video and overlays it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question