Opened 5 months ago

Last modified 5 months ago

#6345 open defect

MPEG2 decode error

Reported by: alexeysad Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: mpeg2video cc
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:

I have an XDCAM-422 MXF file which displays colored blocks near the very bottom part of some frames when decoded by ffmpeg decoder.
The blocks appear when doing ffmpeg transcoding, in ffplay and when using libavcodec from a custom application.
I would have guessed that the file is corrupt but other decoders (I tried opening the very same file in Adobe Premiere) display all the frames just fine.

How to reproduce:

ffmpeg started on 2017-04-24 at 00:34:07
Report written to "ffmpeg-20170424-003407.log"
Command line:
"C:\\my\\ffmpeg-20170418-6108805-win64-shared\\bin\\ffmpeg.exe" -report -i mpeg2_decode_artefact.mxf -an -vcodec h264 test.mp4
ffmpeg version N-85588-g6108805 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input url with argument 'mpeg2_decode_artefact.mxf'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264'.
Reading option 'test.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url mpeg2_decode_artefact.mxf.
Successfully parsed a group of options.
Opening an input file: mpeg2_decode_artefact.mxf.
[file @ 000000000259c740] Setting default whitelist 'file,crypto'
[mxf @ 000000000259b720] Format mxf probed with size=2048 and score=100
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.23.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.02.05.01.01.0d.01.02.01.01.11.01.00
[mxf @ 000000000259b720] mpeg2video: Universal Label: 060e2b34.0401.0103.04010202.01040300
[mxf @ 000000000259b720] video_line_map: (21, 584), field_dominance: 1
[mxf @ 000000000259b720] none: Universal Label: 00000000.0000.0000.00000000.00000000
[mxf @ 000000000259b720] none: Universal Label: 00000000.0000.0000.00000000.00000000
[mxf @ 000000000259b720] Before avformat_find_stream_info() pos: 6656 bytes read:68220 seeks:5 nb_streams:3
[mxf @ 000000000259b720] Probe buffer size limit of 5000000 bytes reached
[mxf @ 000000000259b720] rfps: 29.250000 0.017316
[mxf @ 000000000259b720] rfps: 29.250000 0.017316
[mxf @ 000000000259b720] rfps: 29.333333 0.013540
[mxf @ 000000000259b720] rfps: 29.333333 0.013540
[mxf @ 000000000259b720] rfps: 29.416667 0.010227
[mxf @ 000000000259b720] rfps: 29.416667 0.010227
[mxf @ 000000000259b720] rfps: 29.500000 0.007379
[mxf @ 000000000259b720] rfps: 29.500000 0.007379
[mxf @ 000000000259b720] rfps: 29.583333 0.004994
[mxf @ 000000000259b720] rfps: 29.583333 0.004994
[mxf @ 000000000259b720] rfps: 29.666667 0.003074
[mxf @ 000000000259b720] rfps: 29.666667 0.003074
[mxf @ 000000000259b720] rfps: 29.750000 0.001617
[mxf @ 000000000259b720] rfps: 29.750000 0.001617
[mxf @ 000000000259b720] rfps: 29.833333 0.000624
[mxf @ 000000000259b720] rfps: 29.833333 0.000624
[mxf @ 000000000259b720] rfps: 29.916667 0.000095
[mxf @ 000000000259b720] rfps: 29.916667 0.000095
[mxf @ 000000000259b720] rfps: 30.000000 0.000030
[mxf @ 000000000259b720] rfps: 60.000000 0.000120
[mxf @ 000000000259b720] rfps: 120.000000 0.000480
[mxf @ 000000000259b720] rfps: 240.000000 0.001920
[mxf @ 000000000259b720] rfps: 29.970030 0.000000
[mxf @ 000000000259b720] rfps: 59.940060 0.000000
[mxf @ 000000000259b720] After avformat_find_stream_info() pos: 5157376 bytes read:5218940 seeks:5 frames:58
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Input #0, mxf, from 'mpeg2_decode_artefact.mxf':
  Metadata:
    uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
    generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
    company_name    : FFmpeg
    product_name    : OP1a Muxer
    product_version : 57.57.100
    product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
    modification_date: 2017-04-24T04:02:49.000000Z
    material_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22900
    timecode        : 00:00:00;00
  Duration: 00:00:04.00, start: 0.000000, bitrate: 55261 kb/s
    Stream #0:0, 20, 1001/30000: Video: mpeg2video (4:2:2), yuv422p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 50000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
    Stream #0:1, 19, 1/48000: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
    Stream #0:2, 19, 1/48000: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
Successfully opened the file.
Parsing a group of options: output url test.mp4.
Applying option an (disable audio) with argument 1.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264.
Successfully parsed a group of options.
Opening an output file: test.mp4.
Matched encoder 'libx264' for codec 'h264'.
[file @ 000000000260bf80] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 12 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'pix_fmt' to value '4'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'time_base' to value '1001/30000'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] w:1920 h:1080 pixfmt:yuv422p tb:1001/30000 fr:30000/1001 sar:1/1 sws_param:flags=2
[format @ 0000000002c12040] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 0000000002c12040] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[AVFilterGraph @ 000000000260b4c0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0000000000e274a0] using mv_range_thread = 24
[libx264 @ 0000000000e274a0] using SAR=1/1
[libx264 @ 0000000000e274a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0000000000e274a0] profile High 4:2:2, level 4.0, 4:2:2 8-bit
[libx264 @ 0000000000e274a0] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test.mp4':
  Metadata:
    uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
    generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
    company_name    : FFmpeg
    product_name    : OP1a Muxer
    product_version : 57.57.100
    product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
    modification_date: 2017-04-24T04:02:49.000000Z
    material_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22900
    timecode        : 00:00:00;00
    encoder         : Lavf57.72.101
    Stream #0:0, 0, 1/30000: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
      encoder         : Lavc57.93.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] end mismatch left=2728 3 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in P frame
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] end mismatch left=2333 18 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in I frame
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] end mismatch left=2656 3 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in P frame
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] ignoring extra picture following a frame-picture
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
frame=   59 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[libx264 @ 0000000000e274a0] frame=   0 QP=24.65 NAL=3 Slice:I Poc:0   I:8160 P:0    SKIP:0    size=81415 bytes
[libx264 @ 0000000000e274a0] frame=   1 QP=24.61 NAL=2 Slice:P Poc:8   I:2800 P:5026 SKIP:334  size=50897 bytes
[libx264 @ 0000000000e274a0] frame=   2 QP=25.01 NAL=2 Slice:B Poc:4   I:442  P:5284 SKIP:2318 size=30736 bytes
[libx264 @ 0000000000e274a0] frame=   3 QP=25.59 NAL=0 Slice:B Poc:2   I:348  P:4852 SKIP:2858 size=25968 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   4 QP=25.53 NAL=0 Slice:B Poc:6   I:305  P:5312 SKIP:2442 size=26763 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   5 QP=24.27 NAL=2 Slice:P Poc:16  I:3173 P:4678 SKIP:309  size=52385 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   6 QP=25.40 NAL=2 Slice:B Poc:12  I:550  P:5760 SKIP:1690 size=35990 bytes
[libx264 @ 0000000000e274a0] frame=   7 QP=25.48 NAL=0 Slice:B Poc:10  I:327  P:4757 SKIP:2956 size=26115 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   8 QP=25.58 NAL=0 Slice:B Poc:14  I:328  P:4891 SKIP:2855 size=26679 bytes
[libx264 @ 0000000000e274a0] frame=   9 QP=25.01 NAL=2 Slice:P Poc:24  I:2142 P:5634 SKIP:384  size=52926 bytes
[libx264 @ 0000000000e274a0] frame=  10 QP=25.04 NAL=2 Slice:B Poc:20  I:358  P:5485 SKIP:2181 size=31373 bytes
[libx264 @ 0000000000e274a0] frame=  11 QP=25.49 NAL=0 Slice:B Poc:18  I:222  P:5477 SKIP:2373 size=26337 bytes
[libx264 @ 0000000000e274a0] frame=  12 QP=25.57 NAL=0 Slice:B Poc:22  I:284  P:4893 SKIP:2883 size=24836 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  13 QP=24.84 NAL=2 Slice:P Poc:32  I:1919 P:5913 SKIP:328  size=52563 bytes
[libx264 @ 0000000000e274a0] frame=  14 QP=25.26 NAL=2 Slice:B Poc:28  I:430  P:5320 SKIP:2245 size=32674 bytes
frame=   77 fps= 76 q=29.0 size=     565kB time=00:00:00.40 bitrate=11555.8kbits/s speed=0.395x    
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  15 QP=25.69 NAL=0 Slice:B Poc:26  I:291  P:4768 SKIP:3021 size=25031 bytes
[libx264 @ 0000000000e274a0] frame=  16 QP=25.63 NAL=0 Slice:B Poc:30  I:200  P:5330 SKIP:2551 size=25203 bytes
[libx264 @ 0000000000e274a0] frame=  17 QP=24.97 NAL=2 Slice:P Poc:40  I:1535 P:6178 SKIP:447  size=49355 bytes
[mpeg2video @ 0000000002723140] end mismatch left=280 307 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in I frame
[libx264 @ 0000000000e274a0] frame=  18 QP=25.32 NAL=2 Slice:B Poc:36  I:307  P:5692 SKIP:2004 size=31154 bytes
[libx264 @ 0000000000e274a0] frame=  19 QP=25.59 NAL=0 Slice:B Poc:34  I:228  P:4745 SKIP:3085 size=22975 bytes
[libx264 @ 0000000000e274a0] frame=  20 QP=25.59 NAL=0 Slice:B Poc:38  I:183  P:4827 SKIP:3083 size=22306 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  21 QP=24.80 NAL=2 Slice:P Poc:48  I:1646 P:6206 SKIP:308  size=52134 bytes
[mpeg2video @ 0000000002723140] end mismatch left=1423 6 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in B frame
[libx264 @ 0000000000e274a0] frame=  22 QP=25.24 NAL=2 Slice:B Poc:44  I:404  P:5304 SKIP:2299 size=32350 bytes
[libx264 @ 0000000000e274a0] frame=  23 QP=25.75 NAL=0 Slice:B Poc:42  I:294  P:5292 SKIP:2455 size=28164 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  24 QP=25.32 NAL=0 Slice:B Poc:46  I:312  P:4467 SKIP:3240 size=23202 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  25 QP=24.61 NAL=2 Slice:P Poc:56  I:2077 P:5751 SKIP:332  size=54473 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  26 QP=25.03 NAL=2 Slice:B Poc:52  I:318  P:5482 SKIP:2183 size=32519 bytes
[libx264 @ 0000000000e274a0] frame=  27 QP=25.65 NAL=0 Slice:B Poc:50  I:270  P:4795 SKIP:2987 size=24895 bytes
[libx264 @ 0000000000e274a0] frame=  28 QP=25.69 NAL=0 Slice:B Poc:54  I:211  P:5338 SKIP:2502 size=25657 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  29 QP=24.64 NAL=2 Slice:P Poc:64  I:1886 P:5873 SKIP:401  size=50651 bytes
[libx264 @ 0000000000e274a0] frame=  30 QP=25.52 NAL=2 Slice:B Poc:60  I:465  P:5502 SKIP:2046 size=33233 bytes
[libx264 @ 0000000000e274a0] frame=  31 QP=25.73 NAL=0 Slice:B Poc:58  I:297  P:4763 SKIP:2972 size=24692 bytes
[libx264 @ 0000000000e274a0] frame=  32 QP=25.76 NAL=0 Slice:B Poc:62  I:288  P:4857 SKIP:2955 size=24267 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  33 QP=25.13 NAL=2 Slice:P Poc:72  I:1934 P:5871 SKIP:355  size=61749 bytes
[libx264 @ 0000000000e274a0] frame=  34 QP=25.27 NAL=2 Slice:B Poc:68  I:378  P:5277 SKIP:2379 size=30454 bytes
frame=   97 fps= 64 q=29.0 size=    1224kB time=00:00:01.06 bitrate=9387.1kbits/s speed= 0.7x    
[libx264 @ 0000000000e274a0] frame=  35 QP=25.75 NAL=0 Slice:B Poc:66  I:211  P:5307 SKIP:2552 size=24664 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  36 QP=25.86 NAL=0 Slice:B Poc:70  I:303  P:4719 SKIP:3040 size=24343 bytes
[libx264 @ 0000000000e274a0] frame=  37 QP=24.93 NAL=2 Slice:P Poc:80  I:2102 P:5780 SKIP:278  size=64696 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  38 QP=24.81 NAL=2 Slice:B Poc:76  I:564  P:5222 SKIP:2173 size=42840 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  39 QP=25.87 NAL=0 Slice:B Poc:74  I:325  P:4835 SKIP:2914 size=30942 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  40 QP=25.85 NAL=0 Slice:B Poc:78  I:235  P:5430 SKIP:2419 size=35290 bytes
[libx264 @ 0000000000e274a0] frame=  41 QP=24.88 NAL=2 Slice:P Poc:88  I:1985 P:5825 SKIP:350  size=62651 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  42 QP=25.50 NAL=2 Slice:B Poc:84  I:319  P:5937 SKIP:1751 size=42741 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  43 QP=25.72 NAL=0 Slice:B Poc:82  I:265  P:4851 SKIP:2921 size=31544 bytes
[libx264 @ 0000000000e274a0] frame=  44 QP=25.80 NAL=0 Slice:B Poc:86  I:238  P:4915 SKIP:2891 size=30325 bytes
[libx264 @ 0000000000e274a0] frame=  45 QP=24.98 NAL=2 Slice:P Poc:96  I:1364 P:6374 SKIP:422  size=59161 bytes
[libx264 @ 0000000000e274a0] frame=  46 QP=25.57 NAL=2 Slice:B Poc:92  I:417  P:5315 SKIP:2263 size=38988 bytes
[libx264 @ 0000000000e274a0] frame=  47 QP=26.12 NAL=0 Slice:B Poc:90  I:279  P:5119 SKIP:2637 size=32012 bytes
[libx264 @ 0000000000e274a0] frame=  48 QP=25.83 NAL=0 Slice:B Poc:94  I:241  P:4870 SKIP:2970 size=28146 bytes
[libx264 @ 0000000000e274a0] frame=  49 QP=24.87 NAL=2 Slice:P Poc:104 I:1889 P:5917 SKIP:354  size=53076 bytes
[libx264 @ 0000000000e274a0] frame=  50 QP=25.48 NAL=2 Slice:B Poc:100 I:367  P:5352 SKIP:2315 size=37672 bytes
[libx264 @ 0000000000e274a0] frame=  51 QP=25.80 NAL=0 Slice:B Poc:98  I:239  P:4667 SKIP:3158 size=28363 bytes
[libx264 @ 0000000000e274a0] frame=  52 QP=25.72 NAL=0 Slice:B Poc:102 I:358  P:5377 SKIP:2313 size=29900 bytes
frame=  115 fps= 57 q=29.0 size=    1905kB time=00:00:01.66 bitrate=9351.8kbits/s speed=0.821x    
[libx264 @ 0000000000e274a0] frame=  53 QP=24.76 NAL=2 Slice:P Poc:112 I:1746 P:6011 SKIP:403  size=50151 bytes
[libx264 @ 0000000000e274a0] frame=  54 QP=25.20 NAL=2 Slice:B Poc:108 I:306  P:5752 SKIP:1961 size=32557 bytes
[libx264 @ 0000000000e274a0] frame=  55 QP=25.29 NAL=0 Slice:B Poc:106 I:307  P:4369 SKIP:3345 size=22678 bytes
[libx264 @ 0000000000e274a0] frame=  56 QP=25.64 NAL=0 Slice:B Poc:110 I:296  P:4788 SKIP:2981 size=25277 bytes
[libx264 @ 0000000000e274a0] frame=  57 QP=25.21 NAL=2 Slice:P Poc:120 I:1693 P:6027 SKIP:440  size=51447 bytes
No more output streams to write to, finishing.
[libx264 @ 0000000000e274a0] frame=  58 QP=25.20 NAL=2 Slice:B Poc:116 I:385  P:5558 SKIP:2060 size=32544 bytes
[libx264 @ 0000000000e274a0] frame=  59 QP=25.77 NAL=0 Slice:B Poc:114 I:238  P:5335 SKIP:2480 size=26901 bytes
[libx264 @ 0000000000e274a0] frame=  60 QP=25.65 NAL=0 Slice:B Poc:118 I:287  P:5046 SKIP:2726 size=25764 bytes
[libx264 @ 0000000000e274a0] frame=  61 QP=24.91 NAL=2 Slice:P Poc:128 I:2288 P:5464 SKIP:408  size=54409 bytes
[libx264 @ 0000000000e274a0] frame=  62 QP=25.16 NAL=2 Slice:B Poc:124 I:417  P:5490 SKIP:2074 size=33223 bytes
[libx264 @ 0000000000e274a0] frame=  63 QP=25.74 NAL=0 Slice:B Poc:122 I:311  P:4864 SKIP:2867 size=25567 bytes
[libx264 @ 0000000000e274a0] frame=  64 QP=25.74 NAL=0 Slice:B Poc:126 I:245  P:5407 SKIP:2398 size=26414 bytes
[libx264 @ 0000000000e274a0] frame=  65 QP=24.34 NAL=2 Slice:P Poc:136 I:4182 P:3613 SKIP:365  size=58546 bytes
[libx264 @ 0000000000e274a0] frame=  66 QP=25.49 NAL=2 Slice:B Poc:132 I:496  P:5655 SKIP:1840 size=35540 bytes
[libx264 @ 0000000000e274a0] frame=  67 QP=25.77 NAL=0 Slice:B Poc:130 I:320  P:4742 SKIP:2978 size=25538 bytes
[libx264 @ 0000000000e274a0] frame=  68 QP=25.71 NAL=0 Slice:B Poc:134 I:361  P:5004 SKIP:2689 size=27191 bytes
[libx264 @ 0000000000e274a0] frame=  69 QP=24.85 NAL=2 Slice:P Poc:144 I:2367 P:5543 SKIP:250  size=61089 bytes
[libx264 @ 0000000000e274a0] frame=  70 QP=25.45 NAL=2 Slice:B Poc:140 I:464  P:5394 SKIP:2141 size=32830 bytes
[libx264 @ 0000000000e274a0] frame=  71 QP=25.64 NAL=0 Slice:B Poc:138 I:229  P:5408 SKIP:2401 size=26323 bytes
[libx264 @ 0000000000e274a0] frame=  72 QP=25.46 NAL=0 Slice:B Poc:142 I:197  P:5080 SKIP:2785 size=24359 bytes
[libx264 @ 0000000000e274a0] frame=  73 QP=24.84 NAL=2 Slice:P Poc:152 I:2484 P:5442 SKIP:234  size=56100 bytes
[libx264 @ 0000000000e274a0] frame=  74 QP=25.20 NAL=2 Slice:B Poc:148 I:582  P:5479 SKIP:1922 size=35834 bytes
[libx264 @ 0000000000e274a0] frame=  75 QP=25.57 NAL=0 Slice:B Poc:146 I:225  P:5036 SKIP:2783 size=25182 bytes
[libx264 @ 0000000000e274a0] frame=  76 QP=25.83 NAL=0 Slice:B Poc:150 I:299  P:5517 SKIP:2240 size=29053 bytes
[libx264 @ 0000000000e274a0] frame=  77 QP=25.01 NAL=2 Slice:P Poc:160 I:2550 P:5330 SKIP:280  size=53889 bytes
[libx264 @ 0000000000e274a0] frame=  78 QP=25.38 NAL=2 Slice:B Poc:156 I:556  P:5896 SKIP:1569 size=36681 bytes
[libx264 @ 0000000000e274a0] frame=  79 QP=25.67 NAL=0 Slice:B Poc:154 I:423  P:5142 SKIP:2471 size=28538 bytes
[libx264 @ 0000000000e274a0] frame=  80 QP=25.66 NAL=0 Slice:B Poc:158 I:370  P:4994 SKIP:2715 size=25996 bytes
[libx264 @ 0000000000e274a0] frame=  81 QP=24.91 NAL=2 Slice:P Poc:168 I:2185 P:5745 SKIP:230  size=68291 bytes
[libx264 @ 0000000000e274a0] frame=  82 QP=25.45 NAL=2 Slice:B Poc:164 I:664  P:5591 SKIP:1726 size=44404 bytes
[libx264 @ 0000000000e274a0] frame=  83 QP=25.90 NAL=0 Slice:B Poc:162 I:425  P:5494 SKIP:2097 size=34890 bytes
[libx264 @ 0000000000e274a0] frame=  84 QP=25.50 NAL=0 Slice:B Poc:166 I:398  P:4859 SKIP:2760 size=35315 bytes
[libx264 @ 0000000000e274a0] frame=  85 QP=25.02 NAL=2 Slice:P Poc:176 I:1918 P:5941 SKIP:301  size=60645 bytes
[libx264 @ 0000000000e274a0] frame=  86 QP=25.46 NAL=2 Slice:B Poc:172 I:587  P:5446 SKIP:1972 size=43812 bytes
[libx264 @ 0000000000e274a0] frame=  87 QP=25.73 NAL=0 Slice:B Poc:170 I:319  P:5046 SKIP:2679 size=35167 bytes
[libx264 @ 0000000000e274a0] frame=  88 QP=26.06 NAL=0 Slice:B Poc:174 I:349  P:5516 SKIP:2213 size=36920 bytes
[libx264 @ 0000000000e274a0] frame=  89 QP=24.92 NAL=2 Slice:P Poc:184 I:2156 P:5718 SKIP:286  size=61510 bytes
[libx264 @ 0000000000e274a0] frame=  90 QP=25.38 NAL=2 Slice:B Poc:180 I:426  P:5935 SKIP:1636 size=42838 bytes
[libx264 @ 0000000000e274a0] frame=  91 QP=25.90 NAL=0 Slice:B Poc:178 I:308  P:5055 SKIP:2690 size=34389 bytes
[libx264 @ 0000000000e274a0] frame=  92 QP=25.86 NAL=0 Slice:B Poc:182 I:347  P:5266 SKIP:2448 size=33465 bytes
[libx264 @ 0000000000e274a0] frame=  93 QP=25.03 NAL=2 Slice:P Poc:192 I:2364 P:5538 SKIP:258  size=56531 bytes
[libx264 @ 0000000000e274a0] frame=  94 QP=25.31 NAL=2 Slice:B Poc:188 I:538  P:5654 SKIP:1805 size=40669 bytes
[libx264 @ 0000000000e274a0] frame=  95 QP=26.01 NAL=0 Slice:B Poc:186 I:441  P:5675 SKIP:1945 size=36039 bytes
[libx264 @ 0000000000e274a0] frame=  96 QP=25.83 NAL=0 Slice:B Poc:190 I:361  P:5007 SKIP:2714 size=32047 bytes
[libx264 @ 0000000000e274a0] frame=  97 QP=24.66 NAL=2 Slice:P Poc:200 I:1957 P:5950 SKIP:253  size=51611 bytes
[libx264 @ 0000000000e274a0] frame=  98 QP=24.76 NAL=2 Slice:B Poc:196 I:611  P:5326 SKIP:2059 size=35532 bytes
[libx264 @ 0000000000e274a0] frame=  99 QP=25.64 NAL=0 Slice:B Poc:194 I:342  P:5107 SKIP:2608 size=28307 bytes
[libx264 @ 0000000000e274a0] frame= 100 QP=25.59 NAL=0 Slice:B Poc:198 I:262  P:5719 SKIP:2087 size=29143 bytes
[libx264 @ 0000000000e274a0] frame= 101 QP=25.10 NAL=2 Slice:P Poc:208 I:1938 P:5864 SKIP:358  size=51473 bytes
[libx264 @ 0000000000e274a0] frame= 102 QP=25.39 NAL=2 Slice:B Poc:204 I:421  P:5800 SKIP:1774 size=35399 bytes
[libx264 @ 0000000000e274a0] frame= 103 QP=25.60 NAL=0 Slice:B Poc:202 I:187  P:5082 SKIP:2803 size=24889 bytes
[libx264 @ 0000000000e274a0] frame= 104 QP=25.74 NAL=0 Slice:B Poc:206 I:287  P:5075 SKIP:2691 size=26452 bytes
[libx264 @ 0000000000e274a0] frame= 105 QP=24.92 NAL=2 Slice:P Poc:216 I:2396 P:5423 SKIP:341  size=58751 bytes
[libx264 @ 0000000000e274a0] frame= 106 QP=25.38 NAL=2 Slice:B Poc:212 I:383  P:5609 SKIP:2026 size=33412 bytes
[libx264 @ 0000000000e274a0] frame= 107 QP=25.70 NAL=0 Slice:B Poc:210 I:202  P:5369 SKIP:2447 size=26113 bytes
[libx264 @ 0000000000e274a0] frame= 108 QP=25.59 NAL=0 Slice:B Poc:214 I:225  P:5029 SKIP:2779 size=24968 bytes
[libx264 @ 0000000000e274a0] frame= 109 QP=24.54 NAL=2 Slice:P Poc:224 I:2477 P:5406 SKIP:277  size=59456 bytes
[libx264 @ 0000000000e274a0] frame= 110 QP=25.40 NAL=2 Slice:B Poc:220 I:351  P:5403 SKIP:2254 size=33531 bytes
[libx264 @ 0000000000e274a0] frame= 111 QP=25.60 NAL=0 Slice:B Poc:218 I:231  P:4928 SKIP:2892 size=24069 bytes
[libx264 @ 0000000000e274a0] frame= 112 QP=25.45 NAL=0 Slice:B Poc:222 I:185  P:5420 SKIP:2444 size=26820 bytes
[libx264 @ 0000000000e274a0] frame= 113 QP=24.84 NAL=2 Slice:P Poc:232 I:980  P:6729 SKIP:451  size=46076 bytes
[libx264 @ 0000000000e274a0] frame= 114 QP=24.88 NAL=2 Slice:B Poc:228 I:246  P:5935 SKIP:1851 size=32356 bytes
[libx264 @ 0000000000e274a0] frame= 115 QP=25.31 NAL=0 Slice:B Poc:226 I:73   P:4565 SKIP:3450 size=19023 bytes
[libx264 @ 0000000000e274a0] frame= 116 QP=25.48 NAL=0 Slice:B Poc:230 I:111  P:4721 SKIP:3272 size=20772 bytes
[libx264 @ 0000000000e274a0] frame= 117 QP=25.40 NAL=2 Slice:P Poc:238 I:2151 P:5358 SKIP:651  size=40115 bytes
[libx264 @ 0000000000e274a0] frame= 118 QP=25.41 NAL=2 Slice:B Poc:234 I:276  P:5129 SKIP:2695 size=27949 bytes
[libx264 @ 0000000000e274a0] frame= 119 QP=25.68 NAL=0 Slice:B Poc:236 I:169  P:4823 SKIP:3119 size=23152 bytes
frame=  120 fps= 35 q=-1.0 Lsize=    4315kB time=00:00:03.90 bitrate=9055.5kbits/s speed=1.14x    
video:4313kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.066235%
Input file #0 (mpeg2_decode_artefact.mxf):
  Input stream #0:0 (video): 120 packets read (26340382 bytes); 120 frames decoded; 
  Input stream #0:1 (audio): 19 packets read (91290 bytes); 
  Input stream #0:2 (audio): 19 packets read (91290 bytes); 
  Total: 158 packets (26522962 bytes) demuxed
Output file #0 (test.mp4):
  Output stream #0:0 (video): 120 frames encoded; 120 packets muxed (4416087 bytes); 
  Total: 120 packets (4416087 bytes) muxed
120 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000000e28e40] Statistics: 58 seeks, 225 writeouts
[libx264 @ 0000000000e274a0] frame I:1     Avg QP:24.65  size: 81415
[libx264 @ 0000000000e274a0] frame P:30    Avg QP:24.86  size: 55227
[libx264 @ 0000000000e274a0] frame B:89    Avg QP:25.55  size: 30081
[libx264 @ 0000000000e274a0] consecutive B-frames:  0.8%  0.0%  2.5% 96.7%
[libx264 @ 0000000000e274a0] mb I  I16..4: 11.3% 83.4%  5.3%
[libx264 @ 0000000000e274a0] mb P  I16..4:  3.4% 22.4%  0.5%  P16..4: 52.2% 10.3%  7.0%  0.0%  0.0%    skip: 4.2%
[libx264 @ 0000000000e274a0] mb B  I16..4:  0.6%  3.5%  0.0%  B16..8: 47.4%  4.4%  0.7%  direct:12.9%  skip:30.6%  L0:47.9% L1:49.1% BI: 2.9%
[libx264 @ 0000000000e274a0] 8x8 transform intra:85.1% inter:89.8%
[libx264 @ 0000000000e274a0] coded y,uvDC,uvAC intra: 61.4% 85.0% 8.9% inter: 29.1% 61.9% 0.6%
[libx264 @ 0000000000e274a0] i16 v,h,dc,p: 20% 32% 16% 32%
[libx264 @ 0000000000e274a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 18% 35%  4%  5%  6%  5%  4%  5%
[libx264 @ 0000000000e274a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 51% 11%  3%  4%  3%  5%  3%  4%
[libx264 @ 0000000000e274a0] i8c dc,h,v,p: 49% 19% 22% 10%
[libx264 @ 0000000000e274a0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0000000000e274a0] ref P L0: 48.4% 12.1% 25.6% 13.9%
[libx264 @ 0000000000e274a0] ref B L0: 79.9% 15.6%  4.5%
[libx264 @ 0000000000e274a0] ref B L1: 92.0%  8.0%
[libx264 @ 0000000000e274a0] kb/s:8821.97
[AVIOContext @ 00000000025a4900] Statistics: 27719864 bytes read, 5 seeks

Change History (8)

comment:1 follow-up: Changed 5 months ago by cehoyos

Where can we find the input sample?

comment:2 in reply to: ↑ 1 Changed 5 months ago by alexeysad

comment:3 follow-up: Changed 5 months ago by cehoyos

Can you confirm that if you decode with -threads 1, the output still looks worse than with Adobe Premiere?
(Could you provide highest quality Adobe Premiere output?)

comment:4 in reply to: ↑ 3 Changed 5 months ago by alexeysad

I can confirm that with -threads 1 there are still defects on those frames. The blocks are not randomly colored anymore but look more like just huge macroblocks.

This is the output from Adobe Premiere when simply dropped on the timeline and re-exported with the setting to match the timeline.

https://drive.google.com/file/d/0B6CKU_TlPm-fb3FMSGpuaE1CLWc/view?usp=sharing

comment:5 follow-up: Changed 5 months ago by cehoyos

  • Keywords mpeg2video added

(Trying to narrow down the reason of this bug that I believe is reproducible)
If you remux the input file with FFmpeg, is Adobe Premiere able to decode any of the output files with or without artefacts?

$ ffmpeg -i mpeg2_decode_artefact.mxf -vcodec copy -an out.ts
$ ffmpeg -i mpeg2_decode_artefact.mxf -vcodec copy -an out.mov
$ ffmpeg -i mpeg2_decode_artefact.mxf -vcodec copy -an out.mxf
$ ffmpeg -i mpeg2_decode_artefact.mxf -vcodec copy -f mpeg2video out.mpg

comment:6 in reply to: ↑ 5 Changed 5 months ago by alexeysad

I can confirm that after remuxing with -vcodec copy the TS, MXF and MPG outputs all decode just fine in Adobe Premiere. The MOV displays only the first frame of the sequence but I believe it's unrelated to this particular issue.

comment:7 Changed 5 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords cc added
  • Reproduced by developer set
  • Status changed from new to open

Thank you!

Most frames end with several thousand unread bits != 0 that are detected as a bitstream error, -ec 0 is a workaround. Maybe related to the Closed Captions that the stream is supposed to contain, but are not decoded by current FFmpeg.

Note: See TracTickets for help on using tickets.