[FFmpeg-user] insert a logo with transparency

Stefano Sabatini stefasab at gmail.com
Mon Jun 25 14:45:13 CEST 2012


On date Sunday 2012-06-24 23:39:21 -0300, Rossana Guerra encoded:
> Well I installed the FFmpeg version for Ubuntu 12.04 (not the fork, the
> "actual")
> 
> Now it seems I have problems to insert logo, there's a syntax error, I
> can't realize what according to FFmpeg documentation.
> I appreciate any help.
[...] 
> // The command to insert the logo.
> 
> usuario at pangolin:~/Vídeos/Xelestina$ ffmpeg -loglevel error -i video1.avi
> -vf "movie=logo2.bmp [logo]; [in][logo] overlay=W-w-10:10:1[out]" -vcodec
> libx264 -b 1400k outlogo30.avi >> logerror.txt
> [overlay @ 0x1f6dd20] Missing key or no key/value separator found after key
> '1'
> Error initializing filter 'overlay' with args 'W-w-10:10:1'
> Error opening filters!

http://ffmpeg.org/libavfilter.html#overlay-1

Syntax is: x_expression:y_expression:named_options

You're specifying a third value, which is confusing the parser which
interprets that "1" like it is the name of an option followed by no
value.

In other words you want:
overlay=W-w-10:10

I don't know what the trailing ":1" is meant for.
-- 
ffmpeg-user random tip #34
FFmpeg life source: ffplay -f lavfi life


More information about the ffmpeg-user mailing list