[FFmpeg-soc] [PATCH] new avfilter vf_logo.c to overlay a (alpha-pathed) logo onto a video stream

Jürgen Meissner Juergen_Meissner at spiegel.de
Sun Apr 26 13:42:04 CEST 2009


vf_logo.c implements avfilters "logo" and "logo_without_alpha"

logo=10:20:logo.jpg overlays the video at x=10 y=20 with the logo (is 
respecting the alpha-path of the logo)
logo=-1:1:logo.png   overlays the video at 1 pixel from the right and 1 
pixel from the top border
logo_without_alpha=10:20:logo.gif overlays the video at 10,20 for all 
pixels of the logo, doesn't look for an alpha-path in the logo
logo=0:0:0:10:20:logo.gif overlays video at 10,20 and assumes black 
RGB=(0,0,0) is the transparent color in the logo

vf_logo.c is relying on the new pixdesc.c rather than the old pix-fmt.c 
and therefor needs pixdesc.o to be included into the libavcodec.a archive.

03_libavcodec_Makefile.diff adds the pixdesc.o to the OBS list in the 
libavcodec/Makefile

mfG J.Meissner



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vf_logo.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20090426/30cb6624/attachment.asc>


More information about the FFmpeg-soc mailing list