[FFmpeg-devel] [PATCH]Allow QuickTime rawvideo tag in avi

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Dec 14 13:10:35 CET 2011


Hi!

Apparently, it is possible to mux Apple codecs in avi with "MPEG Streamclip".

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 27c9ae8..8c4d797 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -174,6 +174,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
     { CODEC_ID_RAWVIDEO,     MKTAG('2', 'V', 'u', '1') },
     { CODEC_ID_RAWVIDEO,     MKTAG('2', 'v', 'u', 'y') },
     { CODEC_ID_RAWVIDEO,     MKTAG('y', 'u', 'v', 's') },
+    { CODEC_ID_RAWVIDEO,     MKTAG('y', 'u', 'v', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('P', '4', '2', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', '1', '2') },
     { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', '1', '6') },


More information about the ffmpeg-devel mailing list