[MPlayer-dev-eng] Re: New remove-logo filter

Oded Shimon ods15 at ods15.dyndns.org
Fri Feb 25 19:13:15 CET 2005


On Friday 25 February 2005 20:08, Trent Piepho wrote:
> On Fri, 25 Feb 2005, Reimar Dצffinger wrote:
> > On Fri, Feb 25, 2005 at 04:21:34PM +0000, Martin Atkins wrote:
> > > There's already PNG-loading code that will require little modification
> > > in the deblendlogo filter. However, that entire filter is disabled if
> > > libpng isn't linked, which might be seen as a major drawback by some. A
> > > simple, generic image loading API for mplayer which supports all
> > > available image loaders would help fix this, but would be extra bloat
> > > in itself I suppose.
> >
> > Look at my pgm-loading code in this thread, it can be use with almost
> > zero modification for RGB ppm images, and it's less than 50 lines of pur
>
> But the deblendlogo filter uses an alpha channel, and ppm images don't
> support alpha.

Yes, the 2 filters are quite different in what input they require - one needs 
only a bit a per pixel - blur? yes/no.   the other needs RGB and A...
It is still possible to make them both accept same files though... basically 
if A is nonzero, it means to the blurring 'remove_logo' that the area should 
be blurred.. that's all...
PNG is probably not the best file format. does anyone have an idea for a good 
format which allows 4 channels?...

- ods15




More information about the MPlayer-dev-eng mailing list