[FFmpeg-trac] #2345(avformat:open): Convert DCP video file to jpeg files

FFmpeg trac at avcodec.org
Tue Mar 12 02:36:14 CET 2013


#2345: Convert DCP video file to jpeg files
-------------------------------------+------------------------------------
             Reporter:  jrousseau    |                    Owner:
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mxf j2k      |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by cehoyos):

 * status:  reopened => open
 * component:  undetermined => avformat
 * reproduced:  0 => 1


Comment:

 I wonder if this is a valid mxf file...
 {{{
 $ ffmpeg -i jp2k_ec22bdb5-5363-d449-b935-123e76d63162_vid.mxf
 ffmpeg version N-50652-g73b40e2 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Mar 12 2013 01:41:50 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
   libavutil      52. 19.100 / 52. 19.100
   libavcodec     54. 92.100 / 54. 92.100
   libavformat    54. 63.104 / 54. 63.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 44.101 /  3. 44.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mxf @ 0x2c52a20] "OPAtom" with 2 ECs - assuming OP1a
 [mxf @ 0x2c52a20] Could not find codec parameters for stream 0 (Video:
 none, 1998x1080): unknown codec
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 jp2k_ec22bdb5-5363-d449-b935-123e76d63162_vid.mxf: could not find codec
 parameters
 }}}
 {{{
 $ ffmpeg -loglevel debug -vcodec libopenjpeg -i
 jp2k_ec22bdb5-5363-d449-b935-123e76d63162_vid.mxf
 ffmpeg version N-50652-g73b40e2 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Mar 12 2013 01:41:50 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
   libavutil      52. 19.100 / 52. 19.100
   libavcodec     54. 92.100 / 54. 92.100
   libavformat    54. 63.104 / 54. 63.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 44.101 /  3. 44.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Splitting the commandline.
 Reading option '-loglevel' ... matched as option 'loglevel' (set libav*
 logging level) with argument 'debug'.
 Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
 ('copy' to copy stream)) with argument 'libopenjpeg'.
 Reading option '-i' ... matched as input file with argument
 'jp2k_ec22bdb5-5363-d449-b935-123e76d63162_vid.mxf'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set libav* logging level) with argument debug.
 Successfully parsed a group of options.
 Parsing a group of options: input file
 jp2k_ec22bdb5-5363-d449-b935-123e76d63162_vid.mxf.
 Applying option vcodec (force video codec ('copy' to copy stream)) with
 argument libopenjpeg.
 Successfully parsed a group of options.
 Opening an input file: jp2k_ec22bdb5-5363-d449-b935-123e76d63162_vid.mxf.
 [mxf @ 0x2029b40] Format mxf probed with size=2048 and score=100
 [mxf @ 0x2029b40] "OPAtom" with 2 ECs - assuming OP1a
 [mxf @ 0x2029b40] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0x2029b40] File position before avformat_find_stream_info() is
 16384
 [mxf @ 0x2029b40] parser not found for codec jpeg2000, packets or times
 may be invalid.
     Last message repeated 1 times
 [mxf @ 0x2029b40] All info found
 [mxf @ 0x2029b40] File position after avformat_find_stream_info() is 16899
 Input #0, mxf, from 'jp2k_ec22bdb5-5363-d449-b935-123e76d63162_vid.mxf':
   Metadata:
     timecode        : 00:00:00:00
   Duration: 00:00:12.50, start: 0.000000, bitrate: 129938 kb/s
     Stream #0:0, 1, 1/24: Video: jpeg2000, rgb48le (12 bpc), 1998x1080,
 1/24, 24 tbr, 24 tbn, 24 tbc
 Successfully opened the file.
 At least one output file must be specified
 Statistics: 69164 bytes read, 2 seeks
 }}}

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


More information about the FFmpeg-trac mailing list