[FFmpeg-user] insert a logo with transparency

Rossana Guerra guerra.rossana at gmail.com
Mon Jun 25 21:33:49 CEST 2012


2012/6/25 Stefano Sabatini <stefasab at gmail.com>

> 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.
>

Thanks Stefano, maybe it was something related to the Fmmpeg fork syntax.
It was to set the alpha level. In the fork version it works in that way.

Regards

Rossana


> --
> ffmpeg-user random tip #34
> FFmpeg life source: ffplay -f lavfi life
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list