these examples are from
https://ffmpeg.org/ffmpeg-all.html#Ex...
I show 5 examples that I have adapted from information in the examples. I will go through other examples given by the site in a later video.
video chapters
00:00 Title
00:05 Adding a logo bottom left
00:50 Adding a logo bottom right
01:35 Adding a logo bottom left and right
02:00 Adding a red square left
03:00 removing a logo
Adding a logo bottom left:
ffmpeg -i input.MOV -i image1.JPG -filter_complex 'overlay=10:main_h-overlay_h-10' output.MOV
note: about transparency and image formats:
JPG: JPG is designed for photos with lots of color. So, naturally, alpha channel is not supported. JPG does not support transparency.
GIF: GIF supports a full 256 color range but only 256 colors can be referenced at once. As for transparency, GIF does not support alpha-channel transparency.
PNG: PNG does support alpha-channel transparency.
SVG: SVG also known as Scalable Vector Graphics is a XML-based vector image (read more here). SVG allows image to be manipulated without losing quality. SVG does support alpha-channel transparency.
Adding a logo bottom right:
ffmpeg -i input.MOV -i logo.JPG -filter_complex 'overlay=x=main_w-overlay_w-10:y=main_h-overlay_h-10' output.MOV
Adding a logo bottom left and right:
ffmpeg -i input.MOV -i logo1.JPG -i logo2.JPG -filter_complex 'overlay=x=10:y=H-h-10,overlay=x=W-w-10:y=H-h-10' output.MOV
Adding a red square left:
ffmpeg -i input.MOV -vf "[email protected]:size=800x800 [over]; [in][over] overlay=shortest=1" output.MOV
removing a logo:
ffmpeg -i input.MOV -vf '[in]split[split_main][split_delogo];[split_delogo]delogo=10:580:500:375[delogoed];[split_main][delogoed]overlay=eof_action=pass[out]' output.MOV
Watch video using ffmpeg to add or remove logos online without registration, duration hours minute second in high quality. This video was added by user A Forum 18 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,286 once and liked it 8 people.