[FFmpeg-devel] [PATCH] riff: add "YUV8" FourCC

compn tempn at twmi.rr.com
Wed Jul 4 02:15:30 CEST 2012


On Wed, 04 Jul 2012 02:05:22 +0200, Piotr Bandurski wrote:
>
>sample:
>
>http://samples.mplayerhq.hu/V-codecs/yuv8/MAILTEST.AVI
>
>
>[yuv8.txt  text/plain (942B)]
>diff --git a/libavformat/riff.c b/libavformat/riff.c
>index a9715b5..fe8b49f 100644
>--- a/libavformat/riff.c
>+++ b/libavformat/riff.c
>@@ -262,6 +262,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
>     { CODEC_ID_VC1IMAGE,     MKTAG('W', 'V', 'P', '2') },
>     { CODEC_ID_LOCO,         MKTAG('L', 'O', 'C', 'O') },
>     { CODEC_ID_WNV1,         MKTAG('W', 'N', 'V', '1') },
>+    { CODEC_ID_WNV1,         MKTAG('Y', 'U', 'V', '8') },
>     { CODEC_ID_AASC,         MKTAG('A', 'A', 'S', '4') },
>     { CODEC_ID_AASC,         MKTAG('A', 'A', 'S', 'C') },
>     { CODEC_ID_INDEO2,       MKTAG('R', 'T', '2', '1') },

LGTM

(yay, yet another fourcc down!)

-compn


More information about the ffmpeg-devel mailing list