Apr 24
Watermark video with ffmpeg
Watermarking a video with ffmpeg is simple - at least once you have the correct command line. Here is what I’ve figured out:
ffmpeg -y -i ‘inputFile.mpg’ -vhook ‘/usr/lib/vhook/watermark.so -f /home/user/VideoTag.gif’ …
I am using the older “-vhook” (video hook) functionality of ffmpeg. Please be carful with the location of the watermark.so library. Depending on your system, version of the library, etc. the location may differ. Look for it in either “/usr/lib/vhook/watermark.so” or “/usr/local/lib/vhook/watermark.so”!
