ffmpeg - Burning overlay logo
ffmpeg provide a way to burn a customized logo to your video. The command as folllow
Burn logo at bottom right corner
ffmpeg -i input\your.mp4 -vf "movie=input/your_logo.png [logo];[in][logo] overlay=W-w-10:H-h-10 [out]" -vcodec libx264 output\your_output.mp4
Burn logo at bottm left corner
ffmpeg -i input\your.mp4 -vf "movie=input/your_logo.png [logo];[in][logo] overlay=10:main_h-overlay_h-10 [out]" -vcodec libx264 output\your_output.mp4
Burn logo at bottom right corner
ffmpeg -i input\your.mp4 -vf "movie=input/your_logo.png [logo];[in][logo] overlay=W-w-10:H-h-10 [out]" -vcodec libx264 output\your_output.mp4
Burn logo at bottm left corner
ffmpeg -i input\your.mp4 -vf "movie=input/your_logo.png [logo];[in][logo] overlay=10:main_h-overlay_h-10 [out]" -vcodec libx264 output\your_output.mp4
In general, the command description as follow
movie=input/your_logo.png
This define your image logo. Note, if your logo exist at different folder, your path separator is /
overlay=W-w-10:H-h-10
This define your location of your logo
Comments
Post a Comment