[FFmpeg-devel] [PATCH] Make nut muxer and demuxer recognize the extended nut tags associated to rawvideo pixel formats

Stefano Sabatini stefano.sabatini-lala
Sat Apr 3 21:00:06 CEST 2010


On date Tuesday 2010-03-30 16:46:29 +0200, Michael Niedermayer encoded:
> On Tue, Mar 30, 2010 at 09:48:33AM +0000, Carl Eugen Hoyos wrote:
> > Michael Niedermayer <michaelni <at> gmx.at> writes:
> > 
> > > >     { PIX_FMT_RGB555,  MKTAG('R', 'G', 'B', 15) },
> > > >     { PIX_FMT_BGR555,  MKTAG('B', 'G', 'R', 15) },
> > > >     { PIX_FMT_RGB565,  MKTAG('R', 'G', 'B', 16) },
> > > >     { PIX_FMT_BGR565,  MKTAG('B', 'G', 'R', 16) },
> > > >     { PIX_FMT_RGB565,  MKTAG( 3 ,  0 ,  0 ,  0 ) },
> > > 
> > > this looks wrong, for which files was that added?
> > 
> > svn log -r6806:6807
> > I especially like the second part of the messages;-)
> > 
> > svn log -r19172
> 
> well then just change them to the LE variant. It would still be
> nice to have some idea what uses them though but not essential

See attachment.

BTW, now my question is: how can I add nut-specific tags?

If I add them to raw.c, they will end up to be used also by other
formats (AVI, QT) for which they are not valid.

Regards.
-- 
FFmpeg = Fanciful and Forgiving Mythic Purposeless Ecumenical Governor



More information about the ffmpeg-devel mailing list