[FFmpeg-devel] [PATCH] Add alphaextract, alphamerge filters

Stefano Sabatini stefasab at gmail.com
Sun Jul 22 12:24:15 CEST 2012


On date Friday 2012-07-20 11:29:18 +0200, Stefano Sabatini encoded:
> On date Thursday 2012-07-19 21:43:31 -0700, Steven Robertson encoded:
> [...]
> > From af200d4fdfe2997600b6f3924500cdeb34ae6cd2 Mon Sep 17 00:00:00 2001
> > From: Steven Robertson <steven at strobe.cc>
> > Date: Tue, 10 Jul 2012 22:14:57 -0700
> > Subject: [PATCH] Add alphaextract, alphamerge filters.
> > 
> > These filters are designed for storing and transmitting video sequences
> > with alpha using higher-efficiency codecs such as x264 which don't
> > natively support an alpha channel. 'alphaextract' takes an input stream
> > with an alpha channel and returns a video containing just the alpha
> > component as a grayscale value; 'alphamerge' takes an RGB or YUV stream
> > and adds an alpha channel recovered from a second grayscale stream.
> > 
> > Signed-off-by: Steven Robertson <steven at strobe.cc>
[...]
> Patch looks good.

Applied with a few changes in end_frame() for avoiding a mixing
declaration and code ISO C90 warning and an additional
"inlink->cur_buf = NULL" required after the recent changes.

Much thank!
-- 
FFmpeg = Foolish & Funny Meaningless Pitiful Eager Ghost


More information about the ffmpeg-devel mailing list