[FFmpeg-trac] #5017(avformat:reopened): av_seek_frame on MXF failed to seek with latest ffmpeg

FFmpeg trac at avcodec.org
Fri Nov 27 11:43:19 CET 2015


#5017: av_seek_frame on MXF failed to seek with latest ffmpeg
-------------------------------------+------------------------------------
             Reporter:  verem        |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by verem):

 The file i tested against comes from Omneon samples (sometimes i assume
 them (files) as reference for testing)

 But i did also a tests against
 '''MainconceptLogo_XDCAMHD_1920x1080_422.mxf''' that comes from
 http://downloads.mainconcept.com/MainConceptLogo_XDCAMHD_1920x1080_422.zip,
 the result is the same:
 {{{
 av_seek_frame(MainconceptLogo_XDCAMHD_1920x1080_422.mxf)=-1
 }}}

 ffmpeg output:
 {{{
 ffmpeg version N-76817-g13834c1 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.6.3 (GCC) 20120306 (Red Hat 4.6.3-2)
   configuration: --prefix=/usr/local/enctools --enable-shared
   libavutil      55.  9.100 / 55.  9.100
   libavcodec     57. 16.100 / 57. 16.100
   libavformat    57. 19.100 / 57. 19.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 15.100 /  6. 15.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Splitting the commandline.
 Reading option '-dump' ... matched as option 'dump' (dump each input
 packet) with argument '1'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '0'.
 Reading option '-i' ... matched as input file with argument
 'MainconceptLogo_XDCAMHD_1920x1080_422.mxf'.
 Reading option '-vframes' ... matched as option 'vframes' (set the number
 of video frames to output) with argument '1'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option 'temp.jpg' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option dump (dump each input packet) with argument 1.
 Applying option loglevel (set logging level) with argument debug.
 Applying option y (overwrite output files) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file
 MainconceptLogo_XDCAMHD_1920x1080_422.mxf.
 Applying option ss (set the start time offset) with argument 0.
 Successfully parsed a group of options.
 Opening an input file: MainconceptLogo_XDCAMHD_1920x1080_422.mxf.
 [mxf @ 0x17b5460] Format mxf probed with size=2048 and score=100
 [mxf @ 0x17b5460] Dark key 06.0e.2b.34.01.01.01.01.03.01.02.10.01.00.00.00
 [mxf @ 0x17b5460] Dark key 06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.23.00
 [mxf @ 0x17b5460] Dark key 06.0e.2b.34.01.01.01.01.03.01.02.10.01.00.00.00
     Last message repeated 4 times
 [mxf @ 0x17b5460] Dark key 06.0e.2b.34.02.05.01.01.0d.01.02.01.01.11.01.00
 [mxf @ 0x17b5460] Dark key 06.0e.2b.34.01.01.01.01.03.01.02.10.01.00.00.00
     Last message repeated 1 times
 [mxf @ 0x17b5460] mpeg2video: Universal Label:
 060e2b34.0401.0103.04010202.01040300
 [mxf @ 0x17b5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0x17b5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0x17b5460] Before avformat_find_stream_info() pos: 7680 bytes
 read:103572 seeks:6
 [mxf @ 0x17b5460] Probe buffer size limit of 5000000 bytes reached
 [mxf @ 0x17b5460] rfps: 24.416667 0.018103
     Last message repeated 1 times
 [mxf @ 0x17b5460] rfps: 24.500000 0.013300
     Last message repeated 1 times
 [mxf @ 0x17b5460] rfps: 24.583333 0.009236
     Last message repeated 1 times
 [mxf @ 0x17b5460] rfps: 24.666667 0.005911
     Last message repeated 1 times
 [mxf @ 0x17b5460] rfps: 24.750000 0.003325
     Last message repeated 1 times
 [mxf @ 0x17b5460] rfps: 24.833333 0.001478
     Last message repeated 1 times
 [mxf @ 0x17b5460] rfps: 24.916667 0.000369
     Last message repeated 1 times
 [mxf @ 0x17b5460] rfps: 25.000000 0.000000
 [mxf @ 0x17b5460] rfps: 25.083333 0.000369
 [mxf @ 0x17b5460] rfps: 25.166667 0.001478
 [mxf @ 0x17b5460] rfps: 25.250000 0.003325
 [mxf @ 0x17b5460] rfps: 25.333333 0.005911
 [mxf @ 0x17b5460] rfps: 25.416667 0.009236
 [mxf @ 0x17b5460] rfps: 25.500000 0.013300
 [mxf @ 0x17b5460] rfps: 25.583333 0.018103
 [mxf @ 0x17b5460] rfps: 50.000000 0.000000
 [mxf @ 0x17b5460] After avformat_find_stream_info() pos: 5100910 bytes
 read:5196802 seeks:6 frames:61
 [mxf @ 0x17b5460] invalid dts/pts combination 19
     Last message repeated 9 times
 MainconceptLogo_XDCAMHD_1920x1080_422.mxf: could not seek to position
 0.000
 Guessed Channel Layout for  Input Stream #0.1 : mono
 Guessed Channel Layout for  Input Stream #0.2 : mono
 Input #0, mxf, from 'MainconceptLogo_XDCAMHD_1920x1080_422.mxf':
   Metadata:
     uid             : 153f5305-2f61-844e-ae5d-9c2260660400
     generation_uid  : 153f5305-2f61-844e-ae5d-9c2260660500
     company_name    : SONY
     product_name    : Opt
     product_version : 1.20
     product_uid     : 060e2b34-0401-0103-0e06-0120027e0200
     modification_date: 2009-09-21 17:09:41
     material_package_umid:
 0x060A2B340101010501010D4313000000153F53052F61844EAE5D9C2260660100
     timecode        : 00:00:00:00
   Duration: 00:00:09.64, start: 0.000000, bitrate: 51655 kb/s
     Stream #0:0, 21, 1/25: Video: mpeg2video (4:2:2), 1 reference frame,
 yuv422p(tv, bt709, topleft), 1920x1080 [SAR 1:1 DAR 16:9], 1/50, 50000
 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D4313000000153F53052F61844EAE5D9C2260660200
     Stream #0:1, 20, 1/48000: Audio: pcm_s16le, 48000 Hz, 1 channels, s16,
 768 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D4313000000153F53052F61844EAE5D9C2260660200
     Stream #0:2, 20, 1/48000: Audio: pcm_s16le, 48000 Hz, 1 channels, s16,
 768 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D4313000000153F53052F61844EAE5D9C2260660200
 Successfully opened the file.
 Parsing a group of options: output file temp.jpg.
 Applying option vframes (set the number of video frames to output) with
 argument 1.
 Successfully parsed a group of options.
 Opening an output file: temp.jpg.
 Successfully opened the file.
 detected 4 logical cores
 [graph 0 input from stream 0:0 @ 0x17d1ae0] Setting 'video_size' to value
 '1920x1080'
 [graph 0 input from stream 0:0 @ 0x17d1ae0] Setting 'pix_fmt' to value '4'
 [graph 0 input from stream 0:0 @ 0x17d1ae0] Setting 'time_base' to value
 '1/25'
 [graph 0 input from stream 0:0 @ 0x17d1ae0] Setting 'pixel_aspect' to
 value '1/1'
 [graph 0 input from stream 0:0 @ 0x17d1ae0] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 0x17d1ae0] Setting 'frame_rate' to value
 '25/1'
 [graph 0 input from stream 0:0 @ 0x17d1ae0] w:1920 h:1080 pixfmt:yuv422p
 tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
 [format @ 0x17d28c0] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
 [format @ 0x17d28c0] Setting 'pix_fmts' to value
 'yuvj420p|yuvj422p|yuvj444p'
 [auto-inserted scaler 0 @ 0x17d2dc0] Setting 'flags' to value 'bicubic'
 [auto-inserted scaler 0 @ 0x17d2dc0] w:iw h:ih flags:'bicubic' interl:0
 [format @ 0x17d28c0] auto-inserting filter 'auto-inserted scaler 0'
 between the filter 'Parsed_null_0' and the filter 'format'
 [AVFilterGraph @ 0x17d0f60] query_formats: 5 queried, 3 merged, 1 already
 done, 0 delayed
 [auto-inserted scaler 0 @ 0x17d2dc0] picking yuvj422p out of 3 ref:yuv422p
 alpha:0
 [swscaler @ 0x17d3800] deprecated pixel format used, make sure you did set
 range correctly
 [auto-inserted scaler 0 @ 0x17d2dc0] w:1920 h:1080 fmt:yuv422p sar:1/1 ->
 w:1920 h:1080 fmt:yuvj422p sar:1/1 flags:0x4
 [mjpeg @ 0x17ce100] Forcing thread count to 1 for MJPEG encoding, use
 -thread_type slice or a constant quantizer if you want to use multiple cpu
 cores
 [mjpeg @ 0x17ce100] intra_quant_bias = 96 inter_quant_bias = 0
 Output #0, image2, to 'temp.jpg':
   Metadata:
     uid             : 153f5305-2f61-844e-ae5d-9c2260660400
     generation_uid  : 153f5305-2f61-844e-ae5d-9c2260660500
     company_name    : SONY
     product_name    : Opt
     product_version : 1.20
     product_uid     : 060e2b34-0401-0103-0e06-0120027e0200
     modification_date: 2009-09-21 17:09:41
     material_package_umid:
 0x060A2B340101010501010D4313000000153F53052F61844EAE5D9C2260660100
     timecode        : 00:00:00:00
     encoder         : Lavf57.19.100
     Stream #0:0, 0, 1/25: Video: mjpeg, 1 reference frame, yuvj422p(pc,
 topleft), 1920x1080 [SAR 1:1 DAR 16:9], 1/25, q=2-31, 200 kb/s, 25 fps, 25
 tbn, 25 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D4313000000153F53052F61844EAE5D9C2260660200
       encoder         : Lavc57.16.100 mjpeg
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> mjpeg (native))
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
     Last message repeated 1 times
 [output stream 0:0 @ 0x17d2640] EOF on sink link output stream
 0:0:default.
 No more output streams to write to, finishing.
 frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Input file #0 (MainconceptLogo_XDCAMHD_1920x1080_422.mxf):
   Input stream #0:0 (video): 0 packets read (0 bytes); 0 frames decoded;
   Input stream #0:1 (audio): 0 packets read (0 bytes);
   Input stream #0:2 (audio): 0 packets read (0 bytes);
   Total: 0 packets (0 bytes) demuxed
 Output file #0 (temp.jpg):
   Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
   Total: 0 packets (0 bytes) muxed
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 0 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0x17bdf00] Statistics: 67433546 bytes read, 7 seeks
 }}}

 Samples from http://opencubetech.com/page47/ gives the same:

 '''xdcamhd-sxs-50mbps-1080i50.mxf'''

 {{{
 av_seek_frame(xdcamhd-sxs-50mbps-1080i50.mxf)=-1
 }}}

 {{{
 ffmpeg version N-76817-g13834c1 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.6.3 (GCC) 20120306 (Red Hat 4.6.3-2)
   configuration: --prefix=/usr/local/enctools --enable-shared
   libavutil      55.  9.100 / 55.  9.100
   libavcodec     57. 16.100 / 57. 16.100
   libavformat    57. 19.100 / 57. 19.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 15.100 /  6. 15.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Splitting the commandline.
 Reading option '-dump' ... matched as option 'dump' (dump each input
 packet) with argument '1'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '0'.
 Reading option '-i' ... matched as input file with argument 'xdcamhd-sxs-
 50mbps-1080i50.mxf'.
 Reading option '-vframes' ... matched as option 'vframes' (set the number
 of video frames to output) with argument '1'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option 'temp.jpg' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option dump (dump each input packet) with argument 1.
 Applying option loglevel (set logging level) with argument debug.
 Applying option y (overwrite output files) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file xdcamhd-sxs-50mbps-1080i50.mxf.
 Applying option ss (set the start time offset) with argument 0.
 Successfully parsed a group of options.
 Opening an input file: xdcamhd-sxs-50mbps-1080i50.mxf.
 [mxf @ 0xaa5460] Format mxf probed with size=2048 and score=100
 [mxf @ 0xaa5460] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
     Last message repeated 1 times
 [mxf @ 0xaa5460] Dark key 06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.23.00
 [mxf @ 0xaa5460] Dark key 06.0e.2b.34.01.01.01.05.03.01.02.20.01.00.00.00
 [mxf @ 0xaa5460] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
     Last message repeated 3 times
 [mxf @ 0xaa5460] Dark key 06.0e.2b.34.02.05.01.01.0d.01.02.01.01.11.01.00
 [mxf @ 0xaa5460] mpeg2video: Universal Label:
 060e2b34.0401.0103.04010202.01040300
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xaa5460] Before avformat_find_stream_info() pos: 56320 bytes
 read:98940 seeks:6
 [mxf @ 0xaa5460] Probe buffer size limit of 5000000 bytes reached
 [mxf @ 0xaa5460] rfps: 24.250000 0.019125
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.333333 0.015111
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.416667 0.011569
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.500000 0.008500
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.583333 0.005903
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.666667 0.003778
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.750000 0.002125
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.833333 0.000944
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 24.916667 0.000236
     Last message repeated 1 times
 [mxf @ 0xaa5460] rfps: 25.000000 0.000000
 [mxf @ 0xaa5460] rfps: 25.083333 0.000236
 [mxf @ 0xaa5460] rfps: 25.166667 0.000944
 [mxf @ 0xaa5460] rfps: 25.250000 0.002125
 [mxf @ 0xaa5460] rfps: 25.333333 0.003778
 [mxf @ 0xaa5460] rfps: 25.416667 0.005903
 [mxf @ 0xaa5460] rfps: 25.500000 0.008500
 [mxf @ 0xaa5460] rfps: 25.583333 0.011569
 [mxf @ 0xaa5460] rfps: 25.666667 0.015111
 [mxf @ 0xaa5460] rfps: 25.750000 0.019125
 [mxf @ 0xaa5460] rfps: 50.000000 0.000000
 [mxf @ 0xaa5460] After avformat_find_stream_info() pos: 5211384 bytes
 read:5254004 seeks:6 frames:145
 [mxf @ 0xaa5460] invalid dts/pts combination 15
     Last message repeated 5 times
 xdcamhd-sxs-50mbps-1080i50.mxf: could not seek to position 0.000
 Guessed Channel Layout for  Input Stream #0.1 : mono
 Guessed Channel Layout for  Input Stream #0.2 : mono
 Guessed Channel Layout for  Input Stream #0.3 : mono
 Guessed Channel Layout for  Input Stream #0.4 : mono
 Guessed Channel Layout for  Input Stream #0.5 : mono
 Guessed Channel Layout for  Input Stream #0.6 : mono
 Guessed Channel Layout for  Input Stream #0.7 : mono
 Guessed Channel Layout for  Input Stream #0.8 : mono
 Input #0, mxf, from 'xdcamhd-sxs-50mbps-1080i50.mxf':
   Metadata:
     uid             : b3c3c8a0-28f4-11e2-8b42-00195b542ed4
     generation_uid  : b3c3c8a0-28f4-11e2-8b43-00195b542ed4
     company_name    : oc
     product_name    : OCtk
     product_version : 2.5
     product_uid     : 109c5440-d21d-b211-8029-001111ebc476
     modification_date: 2012-11-07 17:03:42
     material_package_umid:
 0x060A2B340101010501010D2013000000B3C2691028F411E28B2600195B542ED4
     timecode        : 14:49:13:20
   Duration: 00:00:06.64, start: 0.000000, bitrate: 60456 kb/s
     Stream #0:0, 17, 1/25: Video: mpeg2video (4:2:2), 1 reference frame,
 yuv422p(tv, bt709, topleft), 1920x1080 [SAR 1:1 DAR 16:9], 1/50, 50000
 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:1, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:2, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:3, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:4, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:5, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:6, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:7, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
     Stream #0:8, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
 Successfully opened the file.
 Parsing a group of options: output file temp.jpg.
 Applying option vframes (set the number of video frames to output) with
 argument 1.
 Successfully parsed a group of options.
 Opening an output file: temp.jpg.
 Successfully opened the file.
 detected 4 logical cores
 [graph 0 input from stream 0:0 @ 0xac8500] Setting 'video_size' to value
 '1920x1080'
 [graph 0 input from stream 0:0 @ 0xac8500] Setting 'pix_fmt' to value '4'
 [graph 0 input from stream 0:0 @ 0xac8500] Setting 'time_base' to value
 '1/25'
 [graph 0 input from stream 0:0 @ 0xac8500] Setting 'pixel_aspect' to value
 '1/1'
 [graph 0 input from stream 0:0 @ 0xac8500] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 0xac8500] Setting 'frame_rate' to value
 '25/1'
 [graph 0 input from stream 0:0 @ 0xac8500] w:1920 h:1080 pixfmt:yuv422p
 tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
 [format @ 0xac8f00] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
 [format @ 0xac8f00] Setting 'pix_fmts' to value
 'yuvj420p|yuvj422p|yuvj444p'
 [auto-inserted scaler 0 @ 0xac9840] Setting 'flags' to value 'bicubic'
 [auto-inserted scaler 0 @ 0xac9840] w:iw h:ih flags:'bicubic' interl:0
 [format @ 0xac8f00] auto-inserting filter 'auto-inserted scaler 0' between
 the filter 'Parsed_null_0' and the filter 'format'
 [AVFilterGraph @ 0xaa5e20] query_formats: 5 queried, 3 merged, 1 already
 done, 0 delayed
 [auto-inserted scaler 0 @ 0xac9840] picking yuvj422p out of 3 ref:yuv422p
 alpha:0
 [swscaler @ 0xac9e60] deprecated pixel format used, make sure you did set
 range correctly
 [auto-inserted scaler 0 @ 0xac9840] w:1920 h:1080 fmt:yuv422p sar:1/1 ->
 w:1920 h:1080 fmt:yuvj422p sar:1/1 flags:0x4
 [mjpeg @ 0xac54e0] Forcing thread count to 1 for MJPEG encoding, use
 -thread_type slice or a constant quantizer if you want to use multiple cpu
 cores
 [mjpeg @ 0xac54e0] intra_quant_bias = 96 inter_quant_bias = 0
 Output #0, image2, to 'temp.jpg':
   Metadata:
     uid             : b3c3c8a0-28f4-11e2-8b42-00195b542ed4
     generation_uid  : b3c3c8a0-28f4-11e2-8b43-00195b542ed4
     company_name    : oc
     product_name    : OCtk
     product_version : 2.5
     product_uid     : 109c5440-d21d-b211-8029-001111ebc476
     modification_date: 2012-11-07 17:03:42
     material_package_umid:
 0x060A2B340101010501010D2013000000B3C2691028F411E28B2600195B542ED4
     timecode        : 14:49:13:20
     encoder         : Lavf57.19.100
     Stream #0:0, 0, 1/25: Video: mjpeg, 1 reference frame, yuvj422p(pc,
 topleft), 1920x1080 [SAR 1:1 DAR 16:9], 1/25, q=2-31, 200 kb/s, 25 fps, 25
 tbn, 25 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000B3C157A028F411E28B0B00195B542ED4
       encoder         : Lavc57.16.100 mjpeg
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> mjpeg (native))
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
     Last message repeated 1 times
 [output stream 0:0 @ 0xac8c60] EOF on sink link output stream 0:0:default.
 No more output streams to write to, finishing.
 frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Input file #0 (xdcamhd-sxs-50mbps-1080i50.mxf):
   Input stream #0:0 (video): 0 packets read (0 bytes); 0 frames decoded;
   Input stream #0:1 (audio): 0 packets read (0 bytes);
   Input stream #0:2 (audio): 0 packets read (0 bytes);
   Input stream #0:3 (audio): 0 packets read (0 bytes);
   Input stream #0:4 (audio): 0 packets read (0 bytes);
   Input stream #0:5 (audio): 0 packets read (0 bytes);
   Input stream #0:6 (audio): 0 packets read (0 bytes);
   Input stream #0:7 (audio): 0 packets read (0 bytes);
   Input stream #0:8 (audio): 0 packets read (0 bytes);
   Total: 0 packets (0 bytes) demuxed
 Output file #0 (temp.jpg):
   Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
   Total: 0 packets (0 bytes) muxed
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 0 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0xaadf40] Statistics: 55376304 bytes read, 7 seeks

 }}}

 '''xdcamhd-50mbps-1080i50.mxf''':

 {{{
 av_seek_frame(xdcamhd-50mbps-1080i50.mxf)=-1
 }}}


 {{{
 ffmpeg version N-76817-g13834c1 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.6.3 (GCC) 20120306 (Red Hat 4.6.3-2)
   configuration: --prefix=/usr/local/enctools --enable-shared
   libavutil      55.  9.100 / 55.  9.100
   libavcodec     57. 16.100 / 57. 16.100
   libavformat    57. 19.100 / 57. 19.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 15.100 /  6. 15.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Splitting the commandline.
 Reading option '-dump' ... matched as option 'dump' (dump each input
 packet) with argument '1'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '0'.
 Reading option '-i' ... matched as input file with argument 'xdcamhd-
 50mbps-1080i50.mxf'.
 Reading option '-vframes' ... matched as option 'vframes' (set the number
 of video frames to output) with argument '1'.
 Reading option '-y' ... matched as option 'y' (overwrite output files)
 with argument '1'.
 Reading option 'temp.jpg' ... matched as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option dump (dump each input packet) with argument 1.
 Applying option loglevel (set logging level) with argument debug.
 Applying option y (overwrite output files) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file xdcamhd-50mbps-1080i50.mxf.
 Applying option ss (set the start time offset) with argument 0.
 Successfully parsed a group of options.
 Opening an input file: xdcamhd-50mbps-1080i50.mxf.
 [mxf @ 0xf3f460] Format mxf probed with size=2048 and score=100
 [mxf @ 0xf3f460] Dark key 06.0e.2b.34.01.01.01.01.03.01.02.10.01.00.00.00
 [mxf @ 0xf3f460] Dark key 06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.23.00
 [mxf @ 0xf3f460] Dark key 06.0e.2b.34.01.01.01.05.03.01.02.20.01.00.00.00
 [mxf @ 0xf3f460] Dark key 06.0e.2b.34.01.01.01.01.03.01.02.10.01.00.00.00
     Last message repeated 3 times
 [mxf @ 0xf3f460] Dark key 06.0e.2b.34.02.05.01.01.0d.01.02.01.01.11.01.00
 [mxf @ 0xf3f460] mpeg2video: Universal Label:
 060e2b34.0401.0103.04010202.01040300
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] none: Universal Label:
 00000000.0000.0000.00000000.00000000
 [mxf @ 0xf3f460] Before avformat_find_stream_info() pos: 14848 bytes
 read:69244 seeks:5
 [mxf @ 0xf3f460] Probe buffer size limit of 5000000 bytes reached
 [mxf @ 0xf3f460] rfps: 24.250000 0.019125
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.333333 0.015111
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.416667 0.011569
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.500000 0.008500
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.583333 0.005903
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.666667 0.003778
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.750000 0.002125
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.833333 0.000944
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 24.916667 0.000236
     Last message repeated 1 times
 [mxf @ 0xf3f460] rfps: 25.000000 0.000000
 [mxf @ 0xf3f460] rfps: 25.083333 0.000236
 [mxf @ 0xf3f460] rfps: 25.166667 0.000944
 [mxf @ 0xf3f460] rfps: 25.250000 0.002125
 [mxf @ 0xf3f460] rfps: 25.333333 0.003778
 [mxf @ 0xf3f460] rfps: 25.416667 0.005903
 [mxf @ 0xf3f460] rfps: 25.500000 0.008500
 [mxf @ 0xf3f460] rfps: 25.583333 0.011569
 [mxf @ 0xf3f460] rfps: 25.666667 0.015111
 [mxf @ 0xf3f460] rfps: 25.750000 0.019125
 [mxf @ 0xf3f460] rfps: 50.000000 0.000000
 [mxf @ 0xf3f460] After avformat_find_stream_info() pos: 5169912 bytes
 read:5224308 seeks:5 frames:145
 [mxf @ 0xf3f460] invalid dts/pts combination 15
     Last message repeated 5 times
 xdcamhd-50mbps-1080i50.mxf: could not seek to position 0.000
 Guessed Channel Layout for  Input Stream #0.1 : mono
 Guessed Channel Layout for  Input Stream #0.2 : mono
 Guessed Channel Layout for  Input Stream #0.3 : mono
 Guessed Channel Layout for  Input Stream #0.4 : mono
 Guessed Channel Layout for  Input Stream #0.5 : mono
 Guessed Channel Layout for  Input Stream #0.6 : mono
 Guessed Channel Layout for  Input Stream #0.7 : mono
 Guessed Channel Layout for  Input Stream #0.8 : mono
 Input #0, mxf, from 'xdcamhd-50mbps-1080i50.mxf':
   Metadata:
     uid             : a3e01880-28f4-11e2-8ace-00195b542ed4
     generation_uid  : a3e01880-28f4-11e2-8acf-00195b542ed4
     company_name    : OC
     product_name    : OCTk
     product_version : 2.5
     product_uid     : 109c5440-d21d-b211-8029-001111ebc476
     modification_date: 2012-11-07 17:03:16
     material_package_umid:
 0x060A2B340101010501010D2013000000A3DEB8F028F411E28AB200195B542ED4
     timecode        : 14:49:13:20
   Duration: 00:00:06.64, start: 0.000000, bitrate: 60409 kb/s
     Stream #0:0, 17, 1/25: Video: mpeg2video (4:2:2), 1 reference frame,
 yuv422p(tv, bt709, topleft), 1920x1080 [SAR 1:1 DAR 16:9], 1/50, 50000
 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:1, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:2, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:3, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:4, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:5, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:6, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:7, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
     Stream #0:8, 16, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32
 (24 bit), 1152 kb/s
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
 Successfully opened the file.
 Parsing a group of options: output file temp.jpg.
 Applying option vframes (set the number of video frames to output) with
 argument 1.
 Successfully parsed a group of options.
 Opening an output file: temp.jpg.
 Successfully opened the file.
 detected 4 logical cores
 [graph 0 input from stream 0:0 @ 0xf623e0] Setting 'video_size' to value
 '1920x1080'
 [graph 0 input from stream 0:0 @ 0xf623e0] Setting 'pix_fmt' to value '4'
 [graph 0 input from stream 0:0 @ 0xf623e0] Setting 'time_base' to value
 '1/25'
 [graph 0 input from stream 0:0 @ 0xf623e0] Setting 'pixel_aspect' to value
 '1/1'
 [graph 0 input from stream 0:0 @ 0xf623e0] Setting 'sws_param' to value
 'flags=2'
 [graph 0 input from stream 0:0 @ 0xf623e0] Setting 'frame_rate' to value
 '25/1'
 [graph 0 input from stream 0:0 @ 0xf623e0] w:1920 h:1080 pixfmt:yuv422p
 tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
 [format @ 0xf62e80] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
 [format @ 0xf62e80] Setting 'pix_fmts' to value
 'yuvj420p|yuvj422p|yuvj444p'
 [auto-inserted scaler 0 @ 0xf63320] Setting 'flags' to value 'bicubic'
 [auto-inserted scaler 0 @ 0xf63320] w:iw h:ih flags:'bicubic' interl:0
 [format @ 0xf62e80] auto-inserting filter 'auto-inserted scaler 0' between
 the filter 'Parsed_null_0' and the filter 'format'
 [AVFilterGraph @ 0xf3fbc0] query_formats: 5 queried, 3 merged, 1 already
 done, 0 delayed
 [auto-inserted scaler 0 @ 0xf63320] picking yuvj422p out of 3 ref:yuv422p
 alpha:0
 [swscaler @ 0xf63d20] deprecated pixel format used, make sure you did set
 range correctly
 [auto-inserted scaler 0 @ 0xf63320] w:1920 h:1080 fmt:yuv422p sar:1/1 ->
 w:1920 h:1080 fmt:yuvj422p sar:1/1 flags:0x4
 [mjpeg @ 0xf5f4e0] Forcing thread count to 1 for MJPEG encoding, use
 -thread_type slice or a constant quantizer if you want to use multiple cpu
 cores
 [mjpeg @ 0xf5f4e0] intra_quant_bias = 96 inter_quant_bias = 0
 Output #0, image2, to 'temp.jpg':
   Metadata:
     uid             : a3e01880-28f4-11e2-8ace-00195b542ed4
     generation_uid  : a3e01880-28f4-11e2-8acf-00195b542ed4
     company_name    : OC
     product_name    : OCTk
     product_version : 2.5
     product_uid     : 109c5440-d21d-b211-8029-001111ebc476
     modification_date: 2012-11-07 17:03:16
     material_package_umid:
 0x060A2B340101010501010D2013000000A3DEB8F028F411E28AB200195B542ED4
     timecode        : 14:49:13:20
     encoder         : Lavf57.19.100
     Stream #0:0, 0, 1/25: Video: mjpeg, 1 reference frame, yuvj422p(pc,
 topleft), 1920x1080 [SAR 1:1 DAR 16:9], 1/25, q=2-31, 200 kb/s, 25 fps, 25
 tbn, 25 tbc
     Metadata:
       file_package_umid:
 0x060A2B340101010501010D2013000000A3DDA78028F411E28A9700195B542ED4
       encoder         : Lavc57.16.100 mjpeg
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg2video (native) -> mjpeg (native))
 Press [q] to stop, [?] for help
 cur_dts is invalid (this is harmless if it occurs once at the start per
 stream)
     Last message repeated 1 times
 [output stream 0:0 @ 0xf62c00] EOF on sink link output stream 0:0:default.
 No more output streams to write to, finishing.
 frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Input file #0 (xdcamhd-50mbps-1080i50.mxf):
   Input stream #0:0 (video): 0 packets read (0 bytes); 0 frames decoded;
   Input stream #0:1 (audio): 0 packets read (0 bytes);
   Input stream #0:2 (audio): 0 packets read (0 bytes);
   Input stream #0:3 (audio): 0 packets read (0 bytes);
   Input stream #0:4 (audio): 0 packets read (0 bytes);
   Input stream #0:5 (audio): 0 packets read (0 bytes);
   Input stream #0:6 (audio): 0 packets read (0 bytes);
   Input stream #0:7 (audio): 0 packets read (0 bytes);
   Input stream #0:8 (audio): 0 packets read (0 bytes);
   Total: 0 packets (0 bytes) demuxed
 Output file #0 (temp.jpg):
   Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
   Total: 0 packets (0 bytes) muxed
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 0 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 0xf47f40] Statistics: 55349680 bytes read, 6 seeks
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5017#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list