[FFmpeg-trac] #879(avformat:new): mxf files without FooterPartition

FFmpeg trac at avcodec.org
Thu Jan 5 21:28:45 CET 2012


#879: mxf files without FooterPartition
------------------------------------+------------------------------------
             Reporter:  zhukov      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mxf         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by zhukov):

 this is what i've done:
 ffmpeg-git -i 1GB.mxf
 {{{

 ffmpeg version N-36448-g1edf866, Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jan  4 2012 16:32:31 with llvm_gcc 4.2.1 (Based on Apple Inc.
 build 5658) (LLVM build 2335.15.00)
   configuration: --enable-libopenjpeg
   libavutil      51. 34.100 / 51. 34.100
   libavcodec     53. 53.100 / 53. 53.100
   libavformat    53. 29.100 / 53. 29.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 57.101 /  2. 57.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  5.100 /  0.  5.100
 [mxf @ 0x7fa69303d800] inconsistent FooterPartition value: 1132608274 !=
 4294967296
 [mxf @ 0x7fa69303d800] PreviousPartition points to this partition or
 forward
 [mxf @ 0x7fa69303d800] error reading header metadata
 1GB.mxf: Operation not permitted
 }}}

 dd if=1GB.mxf of=10MB.mxf bs=1m count=10
 ffmpeg-git -i 10MB.mxf
 {{{
 ffmpeg version N-36448-g1edf866, Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jan  4 2012 16:32:31 with llvm_gcc 4.2.1 (Based on Apple Inc.
 build 5658) (LLVM build 2335.15.00)
   configuration: --enable-libopenjpeg
   libavutil      51. 34.100 / 51. 34.100
   libavcodec     53. 53.100 / 53. 53.100
   libavformat    53. 29.100 / 53. 29.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 57.101 /  2. 57.101
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0.  5.100 /  0.  5.100
 [mxf @ 0x7fd88a83d800] broken or empty index
 Input #0, mxf, from '10MB.mxf':
   Duration: 00:00:37.24, start: 0.000000, bitrate: 2252 kb/s
     Stream #0:0: Video: j2k, 1920x1080, 23.98 fps, 23.98 tbr, 23.98 tbn,
 23.98 tbc
 At least one output file must be specified
 }}}

 ffmpeg-0.7.8 -i 1GB.mxf
 {{{

 ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
   built on Dec 19 2011 16:47:49 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --prefix=/opt/local --enable-gpl --enable-postproc
 --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis
 --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-
 libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx --enable-
 libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads
 --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm
   libavutil    50. 43. 0 / 50. 43. 0
   libavcodec   52.123. 0 / 52.123. 0
   libavformat  52.111. 0 / 52.111. 0
   libavdevice  52.  5. 0 / 52.  5. 0
   libavfilter   1. 80. 0 /  1. 80. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 [libopenjpeg @ 0x7ff0ca83fc00] Only first component will be used.
 Input #0, mxf, from '1GB.mxf':
   Duration: 00:00:37.24, start: 0.000000, bitrate: 243273 kb/s
     Stream #0.0: Video: libopenjpeg, gray, 1920x1080, 23.98 fps, 23.98
 tbr, 23.98 tbn, 23.98 tbc
 At least one output file must be specified
 }}}

 ffmpeg-0.7.8 -i 10MB.mxf
 {{{
 ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
   built on Dec 19 2011 16:47:49 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --prefix=/opt/local --enable-gpl --enable-postproc
 --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis
 --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-
 libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx --enable-
 libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads
 --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm
   libavutil    50. 43. 0 / 50. 43. 0
   libavcodec   52.123. 0 / 52.123. 0
   libavformat  52.111. 0 / 52.111. 0
   libavdevice  52.  5. 0 / 52.  5. 0
   libavfilter   1. 80. 0 /  1. 80. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 [libopenjpeg @ 0x7f838383fc00] Only first component will be used.
 Input #0, mxf, from '10MB.mxf':
   Duration: 00:00:37.24, start: 0.000000, bitrate: 2252 kb/s
     Stream #0.0: Video: libopenjpeg, gray, 1920x1080, 23.98 fps, 23.98
 tbr, 23.98 tbn, 23.98 tbc
 At least one output file must be specified
 }}}

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


More information about the FFmpeg-trac mailing list