[FFmpeg-user] insert a logo with transparency

Rossana Guerra guerra.rossana at gmail.com
Tue Jun 19 22:05:16 CEST 2012


2012/6/19 Rossana Guerra <guerra.rossana at gmail.com>

>
>
> 2012/6/19 Roger Pack <rogerdpack2 at gmail.com>
>
>> > Hello I have logo.bmp, I need not to display the logo background.  The
>> logo
>> > is well inserted, but not with alpha.
>> > I need a png instead? Is there a way with a .bmp
>>
>> Does the alpha "look right" when used in gimp or paint.net/photoshop et
>> al?
>> -r
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>
>
> Sorry, the bmp has no alpha. I've checked with Gimp. NonetheIess I tryed
> with a .png with alpha and the commmand below works. Is the same command
> for a bmp?.
> Thanks
>
> Regards
>
> Rossana
>

Hi Carl, below it is the console output, actually I need to know it it is
the correct command line for bmp with alpha.

Thanks for your help

Rossana


 ffmpeg -loglevel error -i video1.avi -vf "movie=logo.BMP [logo];
[in][logo] overlay=W-w-10:10 1[out]" -vcodec libx264 -b 1400k outlogo3.avi

Seems stream 0 codec frame rate differs from container frame rate: 30000.00
(30000/1) -> 23.98 (24000/1001)
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
[mp3 @ 0x1bfac00] incomplete frame291757kB time=1396.77
bitrate=1711.1kbits/s
Error while decoding stream #0.1
frame=33531 fps=  9 q=21.0 Lsize=  293421kB time=1398.48
bitrate=1718.8kbits/s
video:236677kB audio:54631kB global headers:0kB muxing overhead 0.725643%


More information about the ffmpeg-user mailing list