[FFmpeg-devel] [PATCH]Support decoding Flash Video / Sorenson Spark in f4v

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Sep 13 00:04:44 CEST 2011


Hi!

It seems that Flash Media Server allows to remux all flv codecs into f4v / 
isom, violating the f4v specification.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/isom.c b/libavformat/isom.c
index 5955bb1..bcd227c 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -215,6 +215,8 @@ const AVCodecTag codec_movvideo_tags[] = {
     { CODEC_ID_PRORES, MKTAG('a', 'p', 'c', 'o') }, /* Apple ProRes 422 Proxy */
     { CODEC_ID_PRORES, MKTAG('a', 'p', '4', 'h') }, /* Apple ProRes 4444 */
 
+    { CODEC_ID_FLV1, MKTAG('H', '2', '6', '3') }, /* Flash Media Server */
+
     { CODEC_ID_NONE, 0 },
 };
 


More information about the ffmpeg-devel mailing list