Hello everybody,
Is there a way to remove logo / watermark from a video using FFMPEG solution or any other program in a command line.
Thank you in advance
Hello everybody,
Is there a way to remove logo / watermark from a video using FFMPEG solution or any other program in a command line.
Thank you in advance
There are videofilters in ffmpeg & mplayer (delogo)
grossly simplied cmd line:
ffmpeg -i inputfile -vf "delogo" out.mpg
Can set the active "delogo" region of the video frame.
http://ffmpeg.org/ffmpeg.html#delogo
Might have to build your ffmpeg or use Jon Severrisson ppa to get video-filters.
Think the mplayer delogo feature has been around for sometime..
Last edited by BicyclerBoy; September 20th, 2012 at 05:16 AM.
Does the logo/watermark indicate copyright information, etc?
The Community Java Wiki | The Community ATI Driver Wiki | Find what you need in the Ubuntu Community wikis
Hey! Where are the donuts?
@BicyclerBoy: Oh, thanks
@QIII: it is a website written thereCode:ffmpeg -i 4wX5bMF_a_s.mp4 -vf "delogo=x=10:y=100" out.mp4 [delogo @ 0x806ae20] Option w was not set. Error initializing filter 'delogo' with args 'x=10:y=100' Error opening filters!
Post the ffmpeg version..
Like I said before ? you need a recent ffmpeg build..
ffmpeg has been replaced (in Ubuntu) by libav project "avconv"
Your cmd is complaining that w is not set..so set w...
I'm using this
ffmpeg version 0.10.4-6:0.10.4-0ubuntu0jon2
& this cmd is valid syntax:
ffmpeg -f v4l2 -i /dev/video0 -vf "delogo=x=0:y=0:w=100:h=77:band=10" out.mpg
this is the output result:Code:Version: 6:0.10.4-0ubuntu0jon2~lucid2
Code:[video4linux2,v4l2 @ 0x806f020] ioctl(VIDIOC_QUERYCAP): Inappropriate ioctl for device 4wX5bMF_a_s.mp4: Inappropriate ioctl for device
My cmd line was just syntactically correct not a useful cmd for you..
My cmd captures my netbook webcam & delogos it..just rework your command..
Your cmd is complaining that w is not set..so set w...
something like:
Can we make any background color?Code:$ ffmpeg -i trimmed.mp4 -strict experimental -vf "delogo=x=20:y=350:w=100:h=100:band=100:show=1" outTrimmed.mp4
The :show=1 colour could be fixed..maybe the band value can change it..
The green colour block is to help you set the x:y:w:h values..
:show=0 (the default value) replaces logo with pixels interpolated from surroundings..
:band might work better with values like 2 to 20 & not =100..
ThxBicyclerBoy
I'll play around these options and get back to you
Bookmarks