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

Stefano Sabatini stefano.sabatini-lala
Tue Mar 23 01:05:49 CET 2010


On date Tuesday 2010-03-23 00:37:42 +0100, Michael Niedermayer encoded:
> On Mon, Mar 22, 2010 at 11:29:46PM +0100, Stefano Sabatini wrote:
> > Hi, as in subject.
> > 
> > These are defined in the nut spec (nut4cc.txt):
> > 
> > RGB[15] Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), little-endian [NOT in AVI]
> > BGR[15] Packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), little-endian [NOT in AVI]
> > RGB[16] Packed RGB 5:6:5, 16bpp, (msb)   5R 6G 5B(lsb), little-endian [NOT in AVI]
> > BGR[16] Packed BGR 5:6:5, 16bpp, (msb)   5B 6G 5R(lsb), little-endian [NOT in AVI]
> > [15]BGR Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), big-endian [NOT in AVI]
> > [15]RGB Packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-endian [NOT in AVI]
> > [16]BGR Packed RGB 5:6:5, 16bpp, (msb)   5R 6G 5B(lsb), big-endian [NOT in AVI]
> > [16]RGB Packed BGR 5:6:5, 16bpp, (msb)   5B 6G 5R(lsb), big-endian [NOT in AVI]
> > RGBA    Packed RGBA 8:8:8:8, 32bpp, RGBA [NOT in AVI]
> > BGRA    Packed RGBA 8:8:8:8, 32bpp, BGRA [NOT in AVI]
> > ABGR    Packed RGBA 8:8:8:8, 32bpp, ABGR [NOT in AVI]
> > ARGB    Packed RGBA 8:8:8:8, 32bpp, ARGB [NOT in AVI]
> > RGB[24] Packed RGB 8:8:8, 24bpp RGB [NOT in AVI]
> > BGR[24] Packed RGB 8:8:8, 24bpp BGR [NOT in AVI]
> > 
> 
> > BTW what about to extend nut to make it support also other pixel
> > formats?
> 
> iam not aware of a limitation




More information about the ffmpeg-devel mailing list