[FFmpeg-user] Removing an overlay

Tom Evans tevans.uk at googlemail.com
Fri Apr 26 18:24:24 CEST 2013

On Fri, Apr 26, 2013 at 5:12 PM, Greg <gregborbonus at gmail.com> wrote:
> Seems I did not see this one.
> I am attempting to use it, however, I get the following error:
> Mask image size 150x56 does not match with the input video size 560x430
> [graph 0 input from stream 0:1 @ 0x4abd6a0] Failed to configure input pad on
> Parsed_removelogo_0
> Error opening filters!
> I figured that means that my logo does not completely overlay the video, but
> is a partial.
> Any ideas?

The image must be exactly the same size as the video. Pixels
corresponding with the logo should be white, other pixels should be
black. See the docs:


There is also delogo, which operates in a different way - you specify
a box around the location the logo takes up in the video:




More information about the ffmpeg-user mailing list