[MPlayer-users] Mplayer bug with several files

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue Oct 31 20:25:36 CET 2006


Nico Sabbi wrote:

>
>> I upload 5 MB part of ploblem video file to mplayer inbox:
>> ftp://mplayerhq.hu/MPlayer/incoming/brokenvideo.avi
>>
>> Thank you for any hint.
>>
>>  
>>
> the file you played was an mpegts, but anyway...
>

found: something has broken in libavcodec when the format is set to 
0x1000004
proof:

mplayer -demuxer lavf broken.avi plays well but the video stream is 
identified as FMP4
mplayer -demuxer lavf -dumpfile dump.m4v -dumpstream broken.avi
mplayer dump.m4v -demuxer mpeg4es shows garbage
mplayer dump.m4v -demuxer lavf ok but the video stream is identified as FMP4

with this patch applied:

Index: libmpdemux/demux_ts.c
===================================================================
--- libmpdemux/demux_ts.c       (revisione 20544)
+++ libmpdemux/demux_ts.c       (copia locale)
@@ -68,7 +68,8 @@
        UNKNOWN         = -1,
        VIDEO_MPEG1     = 0x10000001,
        VIDEO_MPEG2     = 0x10000002,
-       VIDEO_MPEG4     = 0x10000004,
+       //VIDEO_MPEG4   = 0x10000004,
+       VIDEO_MPEG4     = mmioFOURCC('F', 'M', 'P', '4'),
        VIDEO_H264      = 0x10000005,
        VIDEO_AVC       = mmioFOURCC('a', 'v', 'c', '1'),
        AUDIO_MP2       = 0x50,

and adding -fps 25 everything plays well.

Michael, what happened to the poor old 0x10000004 ?



More information about the MPlayer-users mailing list