Image overlaying on a video file with FFMpeg
Posted in Image Processing by canerblt on July 10, 2011
To add a logo/image on a video file you need FFMpeg with vhook lib. New versions of FFMpeg cut the support for this lib. So you should find older FFMpeg versions with vhook DLL files. There are two DLL files under vhook directory which can be used for image overlaying. Watermark.dll and Imlib2.dll.
The below command can be run on CMD or CLI,
ffmpeg -i son.flv -vhook “imlib2.dll -x 10 -y 10 -i arge.png” b1.flv
The arge.png file will be cordinated with x and y values on video. The son.flv video file will be converted wiht image overlaying to b1.flv vide file.
Thanks.
Advertisement
leave a comment