Hai friends,
I am very new to this group.
i need to watermark a video file.
i have installed ffmpeg successfully in linux.
plz reply me the command of watermarking for below details
1. The source file is
src.avi
2. the Target file is
Target.mpeg
3. the watermark file
watermark.png or watermark.avi
plz send me the linux commands.
is there anyone know plz reply soon
Thanks & Regards,
Inigo Nirmal N
9840223953
Posts: 14
Can you tell me how to install ffmpeg on Linux? Is there somewhere i can donwload the binary?
Posts: 10
I didn't know watermarking video on the server was possible. Can ffmpeg also watermark with specified text, rather than an image? I currently do this with software on my PC. I would appreciate any information on how this is done, or whether it will require custom programming.
Jason
Posts: 3
[img]Hai jason,
Yes we can able to watermark a video file with ffmpeg.
but we need the vhook component..
the coding is ...
$ffmpegcmd1 = "ffmpeg -i '$fileLocation' -t 0:0:60 -qscale 4 -ar 22050 -s 200x150 -aspect 4:3 -r 30 -vhook '/usr/local/lib/vhook/watermark.so -f media.gif' '$sampfile'";
$ret = shell_exec($ffmpegcmd1);
INigo Nirmal N [/img]
Posts: 3
Hi Jason,
We can watermark a video file with a uses ffmpeg..
But we need to add a vhook module.
the code is ....
$ffmpegcmd1 = "ffmpeg -i '$fileLocation' -t 0:0:60 -qscale 4 -ar 22050 -s 200x150 -aspect 4:3 -r 30 -vhook '/usr/local/lib/vhook/watermark.so -f media.gif' '$sampfile'";
$ret = shell_exec($ffmpegcmd1);
Posts: 1
When i run the command
$ffmpegcmd1 = "ffmpeg -i '$fileLocation' -t 0:0:60 -qscale 4 -ar 22050 -s 200x150 -aspect 4:3 -r 30 -vhook '/usr/local/lib/vhook/watermark.so -f media.gif' '$sampfile'";
$ret = shell_exec($ffmpegcmd1);
I'm getting the out put but only audio is there in the generated output but not video........... Can anyone give me the solution for this
Regards
Posts: 1
I cannot find this
/usr/local/lib/vhook/watermark.so
I dont know how to install this vhook and watermark.so in my system,please help I am a newbie
Can someone please tell me how to use this option as I spent 2days continously trying to figure out how to do it
Posts: 1
vhook is deprecated as of FFmpeg .5, see http://www.ffmpeg.org/releases/ffmpeg-0.5.release.
See libavfilter instead.
Posts: 3
I usually use VidLogo to add watermark into my video.