[FFmpeg-trac] #545(avformat:open): Matroska demuxer fails with invalid testsuite file test7.mkv (was: Matroska demuxer unable to play valid file #2)

FFmpeg trac at avcodec.org
Wed Oct 12 10:57:53 CEST 2011


#545: Matroska demuxer fails with invalid testsuite file test7.mkv
------------------------------------+------------------------------------
             Reporter:  brad        |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  minor       |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * priority:  important => minor
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Matroska test-suite is available at
 http://www.matroska.org/downloads/test_w1.html
 The file in question is test7.mkv which is described as "Extra
 unknown/junk elements & damaged"
 It is ~37 seconds long, can be tested with -ss 2
 {{{
 ffmpeg -i test7.mkv -qscale 2 out.avi
 ffmpeg version N-33546-gb81f888, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 12 2011 10:52:22 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable-
 version2
   libavutil    51. 20. 1 / 51. 20. 1
   libavcodec   53. 20. 1 / 53. 20. 1
   libavformat  53. 15. 0 / 53. 15. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 43. 6 /  2. 43. 6
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [matroska,webm @ 0x1351780] Unknown entry 0x4001
 [matroska,webm @ 0x1351780] Unknown entry 0xEA
 [matroska,webm @ 0x1351780] Invalid track number 87
 [matroska,webm @ 0x1351780] Invalid stream 87 or size 31
 Input #0, matroska,webm, from 'test7.mkv':
   Metadata:
     TITLE           : Big Buck Bunny - test 7
     DATE_RELEASED   : 2010
     COMMENT         : Matroska Validation File 7, junk elements are
 present at the beggining or end of clusters, the parser should skip it.
 There is also a damaged element at 451418
   Duration: 00:00:37.04, start: 0.000000, bitrate: 4718 kb/s
     Stream #0:0: Video: h264 (Main), yuv420p, 1024x576, SAR 1:1 DAR 16:9,
 24 fps, 24 tbr, 1k tbn, 48 tbc
     Stream #0:1: Audio: aac, 48000 Hz, stereo, s16
 [buffer @ 0x1444740] w:1024 h:576 pixfmt:yuv420p tb:1/1000000 sar:1/1
 sws_param:
 Incompatible sample format 's16' for codec 'ac3', auto-selecting format
 'flt'
 Output #0, avi, to 'out.avi':
   Metadata:
     INAM            : Big Buck Bunny - test 7
     DATE_RELEASED   : 2010
     ICMT            : Matroska Validation File 7, junk elements are
 present at the beggining or end of clusters, the parser should skip it.
 There is also a damaged element at 451418
     ISFT            : Lavf53.15.0
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1024x576 [SAR
 1:1 DAR 16:9], q=2-31, 200 kb/s, 24 tbn, 24 tbc
     Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, flt,
 128 kb/s
 Stream mapping:
   Stream #0.0 -> #0.0 (h264 -> mpeg4)
   Stream #0.1 -> #0.1 (aac -> ac3)
 Press [q] to stop, [?] for help
 frame=   24 fps=  0 q=2.0 Lsize=     705kB time=00:00:01.00
 bitrate=5777.2kbits/s
 video:678kB audio:16kB global headers:0kB muxing overhead 1.623823%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/545#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list