Thursday, November 3, 2011

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

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

No comments:

Post a Comment

Facebook - Control privacy setting of liked page

By default, Facebook displayed your liked page to public. It is the user responsibility to adjust the privacy setting. And in my opinion, F...