[FFmpeg-devel] Decoding the MPEG-4 profile 'MP4V'.

kuwabara-dev at kuwata.sakura.ne.jp kuwabara-dev
Fri Nov 26 03:57:50 CET 2010


Hello!

This is a content that I questioned on in ffmpeg-user before. 

*Encoding the movie taken by N-02B(Japanese cellular phone). But movie 
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/29041

I succeeded in self-solving the problem. 
It is thought this animation to be Xvid, But codec_tag was 'MP4V'. 
It is possible to solve it by correcting 'libavcodec/h263dec.c' as follows. 

Index: libavcodec/h263dec.c
===================================================================
--- libavcodec/h263dec.c	(revision 25830)
+++ libavcodec/h263dec.c	(working copy)
@@ -428,8 +428,9 @@

     if(s->xvid_build==-1 && s->divx_version==-1 && s->lavc_build==-1){
         if(s->stream_codec_tag == AV_RL32("XVID") ||
            s->codec_tag == AV_RL32("XVID") || s->codec_tag == AV_RL32("XVIX") ||
            s->codec_tag == AV_RL32("RMP4") ||
+           s->codec_tag == AV_RL32("MP4V") ||
            s->codec_tag == AV_RL32("SIPP")
            )
             s->xvid_build= 0;




More information about the ffmpeg-devel mailing list