[FFmpeg-user] Watermark image, fade in and out.

Dennis mediastream at gmail.com
Tue Aug 27 00:46:37 CEST 2013


Is there a way to display watermark for ten seconds then fade it out?

So far this works for me, but if I add fade out it fades out the whole
image not just the watermark  -- but if I add duration it removes the
watermark after 10 sec. Not sure how command is defined as global versus
localized to watermark only.

Shows logo for 10 sec.
ffmpeg2 -i big_buck_bunny_1080p_h264.mov -i logo1.png -filter_complex
'overlay=100:main_h-overlay_h-200:enable=lte(t\,10)'  -t 20 1.mp4

Shows logo for 10 sec then fades out the whole screen with logo, so its 1/2
working (:
ffmpeg2 -i big_buck_bunny_1080p_h264.mov -i logo1.png -filter_complex
'overlay=100:main_h-overlay_h-200:enable=lte(t\,10),fade=out:0:300:alpha=1'
-t 20 1.mp4

Any advice on how to fade out logo only please?


Thank you.
Dennis.


More information about the ffmpeg-user mailing list