Water marking in video using ffmpeg help

inigonirmal

Joined: 2006-05-26
Posts: 3
Posted: Fri, 2006-05-26 05:20

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

 
onishi
onishi's picture

Joined: 2003-12-27
Posts: 14
Posted: Thu, 2006-06-01 04:47

Can you tell me how to install ffmpeg on Linux? Is there somewhere i can donwload the binary?

 
wickedmoon

Joined: 2006-04-16
Posts: 10
Posted: Sat, 2008-12-27 20:27

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

 
inigonirmal

Joined: 2006-05-26
Posts: 3
Posted: Fri, 2006-06-02 11:51

[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]

 
inigonirmal

Joined: 2006-05-26
Posts: 3
Posted: Fri, 2006-06-02 11:54

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);

 
mshams

Joined: 2009-03-16
Posts: 1
Posted: Mon, 2009-03-16 04:40

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

 
rahulmehtaraj

Joined: 2010-02-24
Posts: 1
Posted: Wed, 2010-02-24 10:56

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

 
Andre Soileau

Joined: 2010-05-14
Posts: 1
Posted: Fri, 2010-05-14 18:47

vhook is deprecated as of FFmpeg .5, see http://www.ffmpeg.org/releases/ffmpeg-0.5.release.
See libavfilter instead.

 
Nicholy

Joined: 2010-03-18
Posts: 3
Posted: Fri, 2010-06-04 09:52

I usually use VidLogo to add watermark into my video.