Opened 2 years ago

Last modified 2 years ago

#8126 reopened enhancement

When I play a mkv(video:avc/audio:flac) not from the begining,it blurred.

Reported by: MultiMedia Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: h264
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

Summary of the bug:
How to reproduce:

% ffplay -ss 00:00:10 Joout.mkv
ffmpeg version new
built on Linux

When I play the Joout.mkv not from the begining, it blurred.But I play from the begining, it plays OK.
Below is logs:

    top block unavailable for requested intra mode -1
    error while decoding MB 9 0, bytestream 146931
    concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
    ..........

Change History (14)

comment:1 by MultiMedia, 2 years ago

2.5M is too small, My video is 31M, 20s. How can I send to you?

comment:2 by Carl Eugen Hoyos, 2 years ago

Priority: importantnormal
Version: 4.2unspecified

After confirming that the issue is reproducible with current FFmpeg, the only version supported here, please post the command line you tested together with the complete, uncut console output to make this a valid ticket and upload your sample to a file host and post the link here.

comment:3 by MultiMedia, 2 years ago

Last edited 2 years ago by MultiMedia (previous) (diff)

in reply to:  2 comment:4 by MultiMedia, 2 years ago

Replying to cehoyos:

After confirming that the issue is reproducible with current FFmpeg, the only version supported here, please post the command line you tested together with the complete, uncut console output to make this a valid ticket and upload your sample to a file host and post the link here.

'How Can I send the video to you?'

command:ffplay -ss 00:00:10 ~/vmware/video/Joout.mkv
console output:

ffplay version n4.1.1-36-ga7cb7a2 Copyright (c) 2003-2019 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
  configuration: --enable-gpl --enable-libx264
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Input #0, matroska,webm, from '/home/wangyuwei/vmware/video/Joout.mkv':
  Metadata:
    ENCODER         : Lavf58.20.100
  Duration: 00:00:20.31, start: 0.083000, bitrate: 12809 kb/s
    Chapter #0:0: start 0.000000, end 32.032000
    Metadata:
      title           : Avant
    Chapter #0:1: start 32.032000, end 122.497000
    Metadata:
      title           : Opening
    Chapter #0:2: start 122.497000, end 814.022000
    Metadata:
      title           : A Part
    Chapter #0:3: start 814.022000, end 1249.582000
    Metadata:
      title           : B Part
    Chapter #0:4: start 1249.582000, end 1315.689000
    Metadata:
      title           : C Part
    Chapter #0:5: start 1315.689000, end 1407.031000
    Metadata:
      title           : Ending
    Chapter #0:6: start 1407.031000, end 1423.093376
    Metadata:
      title           : Next
    Stream #0:0(jpn): Video: h264 (High 4:4:4 Predictive), yuv444p10le(tv, bt709/unknown/unknown, progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS             : 9193700
      BPS-eng         : 9193700
      DURATION-eng    : 00:23:43.088308000
      NUMBER_OF_FRAMES: 34120
      NUMBER_OF_FRAMES-eng: 34120
      NUMBER_OF_BYTES : 1635430691
      NUMBER_OF_BYTES-eng: 1635430691
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-12-22 23:15:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-22 23:15:45
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:20.312000000
    Stream #0:1(jpn): Audio: flac, 48000 Hz, stereo, s32 (24 bit) (default)
    Metadata:
      BPS             : 1600740
      BPS-eng         : 1600740
      DURATION-eng    : 00:23:43.093334000
      NUMBER_OF_FRAMES: 16677
      NUMBER_OF_FRAMES-eng: 16677
      NUMBER_OF_BYTES : 284750398
      NUMBER_OF_BYTES-eng: 284750398
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-12-22 23:15:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-22 23:15:45
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:20.136000000
[h264 @ 0x7fbff0f9f040] top block unavailable for requested intra mode -1
[h264 @ 0x7fbff0f9f040] error while decoding MB 17 0, bytestream 111026
[h264 @ 0x7fbff0f9f040] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x7fbff0faed80] gray chroma
[h264 @ 0x7fbff0faed80] error while decoding MB 61 1, bytestream 62016
[h264 @ 0x7fbff0faed80] concealing 8028 DC, 8028 AC, 8028 MV errors in P frame
[h264 @ 0x7fbff0fee240] concealing 7759 DC, 7759 AC, 7759 MV errors in B frame
[h264 @ 0x7fbff00e7940] Reference 3 >= 2q= 3631KB sq=    0B f=0/0   
[h264 @ 0x7fbff00e7940] error while decoding MB 77 4, bytestream 19267
[h264 @ 0x7fbff0120940] Reference 4 >= 2
[h264 @ 0x7fbff0120940] error while decoding MB 46 4, bytestream 16573
[h264 @ 0x7fbff00e7940] concealing 7652 DC, 7652 AC, 7652 MV errors in B frame
[h264 @ 0x7fbff0120940] concealing 7683 DC, 7683 AC, 7683 MV errors in B frame
[h264 @ 0x7fbff0104180] Reference 2 >= 2
[h264 @ 0x7fbff0104180] error while decoding MB 67 8, bytestream 17604
[h264 @ 0x7fbff013d100] concealing 7259 DC, 7259 AC, 7259 MV errors in B frame
[h264 @ 0x7fbff0104180] concealing 7182 DC, 7182 AC, 7182 MV errors in B frame
[h264 @ 0x7fbff01598c0] Reference 2 >= 2
[h264 @ 0x7fbff01598c0] error while decoding MB 22 1, bytestream 15634
[h264 @ 0x7fbff01598c0] concealing 8067 DC, 8067 AC, 8067 MV errors in B frame
[h264 @ 0x7fbff0176080] concealing 4677 DC, 4677 AC, 4677 MV errors in B frame
[h264 @ 0x7fbff0192840] Reference 3 >= 3
[h264 @ 0x7fbff0192840] error while decoding MB 53 1, bytestream 60815
[h264 @ 0x7fbff0192840] concealing 8036 DC, 8036 AC, 8036 MV errors in P frame
[h264 @ 0x7fbff01af000] concealing 4920 DC, 4920 AC, 4920 MV errors in B frame
[h264 @ 0x7fbff0faed80] Reference 5 >= 5
[h264 @ 0x7fbff0faed80] error while decoding MB 112 1, bytestream 64843
[h264 @ 0x7fbff0faed80] concealing 7977 DC, 7977 AC, 7977 MV errors in P frame
[h264 @ 0x7fbff01e7f80] concealing 2090 DC, 2090 AC, 2090 MV errors in B frame
[h264 @ 0x7fbff01cb7c0] concealing 1509 DC, 1509 AC, 1509 MV errors in B frame
[h264 @ 0x7fbff0fee240] Reference 8 >= 5
[h264 @ 0x7fbff0fee240] error while decoding MB 106 2, bytestream 30392
[h264 @ 0x7fbff0fee240] concealing 7863 DC, 7863 AC, 7863 MV errors in B frame
[h264 @ 0x7fbff0104180] concealing 7127 DC, 7127 AC, 7127 MV errors in B frame
[h264 @ 0x7fbff00e7940] concealing 6504 DC, 6504 AC, 6504 MV errors in B frame
[h264 @ 0x7fbff0120940] concealing 5467 DC, 5467 AC, 5467 MV errors in B frame
[h264 @ 0x7fbff013d100] gray chroma0KB vq= 3461KB sq=    0B f=0/0   
[h264 @ 0x7fbff013d100] error while decoding MB 69 2, bytestream 17003
[h264 @ 0x7fbff013d100] concealing 7900 DC, 7900 AC, 7900 MV errors in B frame
[h264 @ 0x7fbff01598c0] gray chroma3KB vq= 3570KB sq=    0B f=0/0   
[h264 @ 0x7fbff01598c0] error while decoding MB 101 1, bytestream 62729
[h264 @ 0x7fbff01598c0] concealing 7988 DC, 7988 AC, 7988 MV errors in P frame
[h264 @ 0x7fbff0176080] gray chroma3KB vq= 3507KB sq=    0B f=0/0   
[h264 @ 0x7fbff0176080] error while decoding MB 26 3, bytestream 32979
[h264 @ 0x7fbff0176080] concealing 7823 DC, 7823 AC, 7823 MV errors in B frame
[h264 @ 0x7fbff0192840] concealing 7449 DC, 7449 AC, 7449 MV errors in B frame
[h264 @ 0x7fbff01af000] cabac decode of qscale diff failed at 57 20 
[h264 @ 0x7fbff01af000] error while decoding MB 57 20, bytestream 15197
[h264 @ 0x7fbff01af000] concealing 5752 DC, 5752 AC, 5752 MV errors in B frame
[h264 @ 0x7fbff01cb7c0] gray chroma6KB vq= 3690KB sq=    0B f=0/0   
[h264 @ 0x7fbff01cb7c0] error while decoding MB 106 1, bytestream 17052
[h264 @ 0x7fbff01cb7c0] concealing 7983 DC, 7983 AC, 7983 MV errors in B frame
[h264 @ 0x7fbff01e7f80] gray chroma0KB vq= 3673KB sq=    0B f=0/0   
[h264 @ 0x7fbff01e7f80] error while decoding MB 63 4, bytestream 19169
[h264 @ 0x7fbff01e7f80] concealing 7666 DC, 7666 AC, 7666 MV errors in B frame
[h264 @ 0x7fbff0f9f040] gray chroma7KB vq= 3701KB sq=    0B f=0/0   
[h264 @ 0x7fbff0f9f040] error while decoding MB 113 4, bytestream 20087
[h264 @ 0x7fbff0f9f040] concealing 7616 DC, 7616 AC, 7616 MV errors in B frame
[h264 @ 0x7fbff0faed80] concealing 7959 DC, 7959 AC, 7959 MV errors in P frame
[h264 @ 0x7fbff0fee240] concealing 7436 DC, 7436 AC, 7436 MV errors in B frame
[h264 @ 0x7fbff00e7940] concealing 6845 DC, 6845 AC, 6845 MV errors in B frame
[h264 @ 0x7fbff0104180] Reference 6 >= 6q= 3731KB sq=    0B f=0/0   
[h264 @ 0x7fbff0104180] error while decoding MB 115 6, bytestream 18760
[h264 @ 0x7fbff0104180] concealing 7374 DC, 7374 AC, 7374 MV errors in B frame
[h264 @ 0x7fbff0120940] concealing 6357 DC, 6357 AC, 6357 MV errors in B frame
[h264 @ 0x7fbff013d100] gray chroma9KB vq= 3838KB sq=    0B f=0/0   
[h264 @ 0x7fbff013d100] error while decoding MB 15 1, bytestream 65019
[h264 @ 0x7fbff013d100] concealing 8074 DC, 8074 AC, 8074 MV errors in P frame
[h264 @ 0x7fbff01598c0] Reference 13 >= 7= 3773KB sq=    0B f=0/0   
[h264 @ 0x7fbff01598c0] error while decoding MB 1 2, bytestream 33478
[h264 @ 0x7fbff01598c0] concealing 7968 DC, 7968 AC, 7968 MV errors in B frame
[h264 @ 0x7fbff0176080] Reference 3 >= 2q= 3875KB sq=    0B f=0/0   
[h264 @ 0x7fbff0176080] error while decoding MB 78 6, bytestream 16967
[h264 @ 0x7fbff0176080] concealing 7411 DC, 7411 AC, 7411 MV errors in B frame
[h264 @ 0x7fbff0192840] concealing 7328 DC, 7328 AC, 7328 MV errors in B frame
[h264 @ 0x7fbff01af000] concealing 5954 DC, 5954 AC, 5954 MV errors in B frame
[h264 @ 0x7fbff01cb7c0] concealing 6995 DC, 6995 AC, 6995 MV errors in B frame
[h264 @ 0x7fbff01e7f80] concealing 7902 DC, 7902 AC, 7902 MV errors in P frame
[h264 @ 0x7fbff0f9f040] concealing 7671 DC, 7671 AC, 7671 MV errors in B frame
[h264 @ 0x7fbff0faed80] concealing 6585 DC, 6585 AC, 6585 MV errors in B frame
[h264 @ 0x7fbff0fee240] concealing 7442 DC, 7442 AC, 7442 MV errors in B frame
[h264 @ 0x7fbff00e7940] concealing 6980 DC, 6980 AC, 6980 MV errors in B frame
[h264 @ 0x7fbff0104180] concealing 7625 DC, 7625 AC, 7625 MV errors in B frame
[h264 @ 0x7fbff0120940] concealing 7934 DC, 7934 AC, 7934 MV errors in P frame
Last edited 2 years ago by MultiMedia (previous) (diff)

comment:5 by Carl Eugen Hoyos, 2 years ago

After testing with current FFmpeg git head, upload your sample to a file host of your choice.

in reply to:  5 comment:6 by MultiMedia, 2 years ago

Replying to cehoyos:

After testing with current FFmpeg git head, upload your sample to a file host of your choice.

Video Address: https://pan.baidu.com/s/1tmhXLNCpd1Rf6pWei--1xQ
Extract Code: c4fd

The Newest Version also play blured:

ffplay version N-94817-g8a1f0cb Copyright (c) 2003-2019 the FFmpeg developers
  built with gcc 5.5.0 (Ubuntu 5.5.0-12ubuntu1~16.04) 20171010
  configuration: 
  libavutil      56. 35.100 / 56. 35.100
  libavcodec     58. 56.101 / 58. 56.101
  libavformat    58. 32.104 / 58. 32.104
  libavdevice    58.  9.100 / 58.  9.100
  libavfilter     7. 58.102 /  7. 58.102
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
Input #0, matroska,webm, from '../../video/Joout.mkv':   0B f=0/0   
  Metadata:
    ENCODER         : Lavf58.20.100
  Duration: 00:00:20.31, start: 0.083000, bitrate: 12809 kb/s
    Chapter #0:0: start 0.000000, end 32.032000
    Metadata:
      title           : Avant
    Chapter #0:1: start 32.032000, end 122.497000
    Metadata:
      title           : Opening
    Chapter #0:2: start 122.497000, end 814.022000
    Metadata:
      title           : A Part
    Chapter #0:3: start 814.022000, end 1249.582000
    Metadata:
      title           : B Part
    Chapter #0:4: start 1249.582000, end 1315.689000
    Metadata:
      title           : C Part
    Chapter #0:5: start 1315.689000, end 1407.031000
    Metadata:
      title           : Ending
    Chapter #0:6: start 1407.031000, end 1423.093376
    Metadata:
      title           : Next
    Stream #0:0(jpn): Video: h264 (High 4:4:4 Predictive), yuv444p10le(tv, bt709/unknown/unknown, progressive), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS             : 9193700
      BPS-eng         : 9193700
      DURATION-eng    : 00:23:43.088308000
      NUMBER_OF_FRAMES: 34120
      NUMBER_OF_FRAMES-eng: 34120
      NUMBER_OF_BYTES : 1635430691
      NUMBER_OF_BYTES-eng: 1635430691
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-12-22 23:15:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-22 23:15:45
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:20.312000000
    Stream #0:1(jpn): Audio: flac, 48000 Hz, stereo, s32 (24 bit) (default)
    Metadata:
      BPS             : 1600740
      BPS-eng         : 1600740
      DURATION-eng    : 00:23:43.093334000
      NUMBER_OF_FRAMES: 16677
      NUMBER_OF_FRAMES-eng: 16677
      NUMBER_OF_BYTES : 284750398
      NUMBER_OF_BYTES-eng: 284750398
      _STATISTICS_WRITING_APP: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.6.0 ('Slave To Your Mind') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-12-22 23:15:45
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-22 23:15:45
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      DURATION        : 00:00:20.136000000
[h264 @ 0x7f2950ff0080] top block unavailable for requested intra mode -1
[h264 @ 0x7f2950ff0080] error while decoding MB 17 0, bytestream 111026
[h264 @ 0x7f2950ff0080] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x7f2950ffffc0] gray chroma9KB vq= 3717KB sq=    0B f=0/0   
[h264 @ 0x7f2950ffffc0] error while decoding MB 61 1, bytestream 62016
[h264 @ 0x7f2950ffffc0] concealing 8028 DC, 8028 AC, 8028 MV errors in P frame
[h264 @ 0x7f2951048700] concealing 7759 DC, 7759 AC, 7759 MV errors in B frame
[h264 @ 0x7f295006f940] Reference 4 >= 2q= 3631KB sq=    0B f=0/0   
[h264 @ 0x7f295006f940] error while decoding MB 46 4, bytestream 16573
[h264 @ 0x7f295105bd80] Reference 3 >= 2
[h264 @ 0x7f295105bd80] error while decoding MB 77 4, bytestream 19267
[h264 @ 0x7f295006f940] concealing 7683 DC, 7683 AC, 7683 MV errors in B frame
[h264 @ 0x7f295105bd80] concealing 7652 DC, 7652 AC, 7652 MV errors in B frame
[h264 @ 0x7f2950053180] Reference 2 >= 2
[h264 @ 0x7f2950053180] error while decoding MB 67 8, bytestream 17604
[h264 @ 0x7f2950053180] concealing 7182 DC, 7182 AC, 7182 MV errors in B frame
[h264 @ 0x7f295008c140] concealing 7259 DC, 7259 AC, 7259 MV errors in B frame
[h264 @ 0x7f29500a8940] Reference 2 >= 2
[h264 @ 0x7f29500a8940] error while decoding MB 22 1, bytestream 15634
[h264 @ 0x7f29500a8940] concealing 8067 DC, 8067 AC, 8067 MV errors in B frame
[h264 @ 0x7f29500c5140] concealing 4677 DC, 4677 AC, 4677 MV errors in B frame
[h264 @ 0x7f29500e1940] Reference 3 >= 3
[h264 @ 0x7f29500e1940] error while decoding MB 53 1, bytestream 60815
[h264 @ 0x7f29500e1940] concealing 8036 DC, 8036 AC, 8036 MV errors in P frame
[h264 @ 0x7f29500fe140] concealing 4920 DC, 4920 AC, 4920 MV errors in B frame
[h264 @ 0x7f2950ffffc0] Reference 5 >= 5
[h264 @ 0x7f2950ffffc0] error while decoding MB 112 1, bytestream 64843
[h264 @ 0x7f2950ffffc0] concealing 7977 DC, 7977 AC, 7977 MV errors in P frame
[h264 @ 0x7f2950137140] concealing 2090 DC, 2090 AC, 2090 MV errors in B frame
[h264 @ 0x7f295011a940] concealing 1509 DC, 1509 AC, 1509 MV errors in B frame
[h264 @ 0x7f2951048700] Reference 8 >= 5
[h264 @ 0x7f2951048700] error while decoding MB 106 2, bytestream 30392
[h264 @ 0x7f2951048700] concealing 7863 DC, 7863 AC, 7863 MV errors in B frame
[h264 @ 0x7f2950053180] concealing 7127 DC, 7127 AC, 7127 MV errors in B frame
[h264 @ 0x7f295105bd80] concealing 6504 DC, 6504 AC, 6504 MV errors in B frame
[h264 @ 0x7f295006f940] concealing 5467 DC, 5467 AC, 5467 MV errors in B frame
[h264 @ 0x7f295008c140] gray chroma0KB vq= 3461KB sq=    0B f=0/0   
[h264 @ 0x7f295008c140] error while decoding MB 69 2, bytestream 17003
[h264 @ 0x7f295008c140] concealing 7900 DC, 7900 AC, 7900 MV errors in B frame
[h264 @ 0x7f29500a8940] gray chroma3KB vq= 3570KB sq=    0B f=0/0   
[h264 @ 0x7f29500a8940] error while decoding MB 101 1, bytestream 62729
[h264 @ 0x7f29500a8940] concealing 7988 DC, 7988 AC, 7988 MV errors in P frame
[h264 @ 0x7f29500c5140] gray chroma3KB vq= 3507KB sq=    0B f=0/0   
[h264 @ 0x7f29500c5140] error while decoding MB 26 3, bytestream 32979
[h264 @ 0x7f29500c5140] concealing 7823 DC, 7823 AC, 7823 MV errors in B frame
[h264 @ 0x7f29500e1940] concealing 7449 DC, 7449 AC, 7449 MV errors in B frame
[h264 @ 0x7f29500fe140] cabac decode of qscale diff failed at 57 20 
[h264 @ 0x7f29500fe140] error while decoding MB 57 20, bytestream 15197
[h264 @ 0x7f29500fe140] concealing 5752 DC, 5752 AC, 5752 MV errors in B frame
[h264 @ 0x7f295011a940] gray chroma6KB vq= 3690KB sq=    0B f=0/0   
[h264 @ 0x7f295011a940] error while decoding MB 106 1, bytestream 17052
[h264 @ 0x7f295011a940] concealing 7983 DC, 7983 AC, 7983 MV errors in B frame
[h264 @ 0x7f2950137140] gray chroma6KB vq= 3652KB sq=    0B f=0/0   
[h264 @ 0x7f2950137140] error while decoding MB 63 4, bytestream 19169
[h264 @ 0x7f2950137140] concealing 7666 DC, 7666 AC, 7666 MV errors in B frame
[h264 @ 0x7f2950ff0080] gray chroma7KB vq= 3701KB sq=    0B f=0/0   
[h264 @ 0x7f2950ff0080] error while decoding MB 113 4, bytestream 20087
[h264 @ 0x7f2950ff0080] concealing 7616 DC, 7616 AC, 7616 MV errors in B frame
[h264 @ 0x7f2950ffffc0] concealing 7959 DC, 7959 AC, 7959 MV errors in P frame
[h264 @ 0x7f2951048700] concealing 7436 DC, 7436 AC, 7436 MV errors in B frame
[h264 @ 0x7f295105bd80] concealing 6845 DC, 6845 AC, 6845 MV errors in B frame
[h264 @ 0x7f2950053180] Reference 6 >= 6q= 3751KB sq=    0B f=0/0   
[h264 @ 0x7f2950053180] error while decoding MB 115 6, bytestream 18760
[h264 @ 0x7f2950053180] concealing 7374 DC, 7374 AC, 7374 MV errors in B frame
[h264 @ 0x7f295006f940] concealing 6357 DC, 6357 AC, 6357 MV errors in B frame
[h264 @ 0x7f295008c140] gray chroma
[h264 @ 0x7f295008c140] error while decoding MB 15 1, bytestream 65019
[h264 @ 0x7f295008c140] concealing 8074 DC, 8074 AC, 8074 MV errors in P frame
[h264 @ 0x7f29500a8940] Reference 13 >= 7= 3773KB sq=    0B f=0/0   
[h264 @ 0x7f29500a8940] error while decoding MB 1 2, bytestream 33478
[h264 @ 0x7f29500a8940] concealing 7968 DC, 7968 AC, 7968 MV errors in B frame
[h264 @ 0x7f29500c5140] Reference 3 >= 2q= 3875KB sq=    0B f=0/0   
[h264 @ 0x7f29500c5140] error while decoding MB 78 6, bytestream 16967
[h264 @ 0x7f29500c5140] concealing 7411 DC, 7411 AC, 7411 MV errors in B frame
[h264 @ 0x7f29500e1940] concealing 7328 DC, 7328 AC, 7328 MV errors in B frame
[h264 @ 0x7f29500fe140] concealing 5954 DC, 5954 AC, 5954 MV errors in B frame
[h264 @ 0x7f295011a940] concealing 6995 DC, 6995 AC, 6995 MV errors in B frame
[h264 @ 0x7f2950137140] concealing 7902 DC, 7902 AC, 7902 MV errors in P frame
[h264 @ 0x7f2950ff0080] concealing 7671 DC, 7671 AC, 7671 MV errors in B frame
[h264 @ 0x7f2950ffffc0] concealing 6585 DC, 6585 AC, 6585 MV errors in B frame
[h264 @ 0x7f2951048700] concealing 7442 DC, 7442 AC, 7442 MV errors in B frame
[h264 @ 0x7f295105bd80] concealing 6980 DC, 6980 AC, 6980 MV errors in B frame
[h264 @ 0x7f2950053180] concealing 7625 DC, 7625 AC, 7625 MV errors in B frame
[h264 @ 0x7f295006f940] concealing 7934 DC, 7934 AC, 7934 MV errors in P frame
[h264 @ 0x7f295008c140] cabac decode of qscale diff failed at 100 15
[h264 @ 0x7f295008c140] error while decoding MB 100 15, bytestream 29795
[h264 @ 0x7f295008c140] concealing 6309 DC, 6309 AC, 6309 MV errors in B frame
[h264 @ 0x7f29500a8940] Reference 3 >= 2q= 4144KB sq=    0B f=0/0   
[h264 @ 0x7f29500a8940] error while decoding MB 73 7, bytestream 17625
[h264 @ 0x7f29500a8940] concealing 7296 DC, 7296 AC, 7296 MV errors in B frame
[h264 @ 0x7f29500c5140] concealing 7789 DC, 7789 AC, 7789 MV errors in B frame
[h264 @ 0x7f29500e1940] concealing 6123 DC, 6123 AC, 6123 MV errors in B frame
[h264 @ 0x7f29500fe140] concealing 5088 DC, 5088 AC, 5088 MV errors in B frame
[h264 @ 0x7f295011a940] Reference 7 >= 7q= 4323KB sq=    0B f=0/0   
[h264 @ 0x7f295011a940] error while decoding MB 104 1, bytestream 58866
[h264 @ 0x7f295011a940] concealing 7985 DC, 7985 AC, 7985 MV errors in P frame
[h264 @ 0x7f2950137140] gray chroma3KB vq= 4358KB sq=    0B f=0/0   
[h264 @ 0x7f2950137140] error while decoding MB 87 1, bytestream 34279
[h264 @ 0x7f2950137140] concealing 8002 DC, 8002 AC, 8002 MV errors in B frame
[h264 @ 0x7f2950ff0080] Reference 2 >= 2q= 4402KB sq=    0B f=0/0   
[h264 @ 0x7f2950ff0080] error while decoding MB 7 6, bytestream 14977
[h264 @ 0x7f2950ff0080] concealing 7482 DC, 7482 AC, 7482 MV errors in B frame
[h264 @ 0x7f2950ffffc0] concealing 7888 DC, 7888 AC, 7888 MV errors in B frame
[h264 @ 0x7f2951048700] Reference 14 >= 6= 4527KB sq=    0B f=0/0   
[h264 @ 0x7f2951048700] error while decoding MB 118 8, bytestream 14242
[h264 @ 0x7f2951048700] concealing 7131 DC, 7131 AC, 7131 MV errors in B frame
[h264 @ 0x7f295105bd80] concealing 5349 DC, 5349 AC, 5349 MV errors in B frame
[h264 @ 0x7f2950053180] concealing 7549 DC, 7549 AC, 7549 MV errors in B frame
[h264 @ 0x7f295006f940] Reference 8 >= 8q= 4521KB sq=    0B f=0/0   
[h264 @ 0x7f295006f940] error while decoding MB 8 0, bytestream 127548
[h264 @ 0x7f295006f940] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x7f295008c140] top block unavailable for requested intra mode -1
[h264 @ 0x7f295008c140] error while decoding MB 94 0, bytestream 109669
[h264 @ 0x7f295008c140] concealing 8115 DC, 8115 AC, 8115 MV errors in P frame
[h264 @ 0x7f29500a8940] concealing 6933 DC, 6933 AC, 6933 MV errors in B frame
[h264 @ 0x7f29500c5140] top block unavailable for requested intra mode -1
[h264 @ 0x7f29500c5140] error while decoding MB 64 0, bytestream 107951
[h264 @ 0x7f29500c5140] concealing 8145 DC, 8145 AC, 8145 MV errors in P frame
[h264 @ 0x7f29500e1940] gray chroma2KB vq= 4192KB sq=    0B f=0/0   
[h264 @ 0x7f29500e1940] error while decoding MB 111 1, bytestream 77612
[h264 @ 0x7f29500e1940] concealing 7978 DC, 7978 AC, 7978 MV errors in B frame
[h264 @ 0x7f29500fe140] concealing 8011 DC, 8011 AC, 8011 MV errors in B frame
[h264 @ 0x7f295011a940] concealing 8138 DC, 8138 AC, 8138 MV errors in B frame
[h264 @ 0x7f2950137140] gray chroma1KB vq= 4118KB sq=    0B f=0/0   
[h264 @ 0x7f2950137140] error while decoding MB 115 1, bytestream 103540
[h264 @ 0x7f2950137140] concealing 7974 DC, 7974 AC, 7974 MV errors in P frame
[h264 @ 0x7f2950ff0080] concealing 7652 DC, 7652 AC, 7652 MV errors in B frame
[h264 @ 0x7f2950ffffc0] Reference 11 >= 7= 4027KB sq=    0B f=0/0   
[h264 @ 0x7f2950ffffc0] error while decoding MB 9 0, bytestream 102239
[h264 @ 0x7f2950ffffc0] concealing 8160 DC, 8160 AC, 8160 MV errors in P frame
[h264 @ 0x7f2951048700] gray chroma0KB vq= 3949KB sq=    0B f=0/0   
[h264 @ 0x7f2951048700] error while decoding MB 9 2, bytestream 22776
[h264 @ 0x7f2951048700] concealing 7960 DC, 7960 AC, 7960 MV errors in B frame
[h264 @ 0x7f295105bd80] top block unavailable for requested intra mode -1
[h264 @ 0x7f295105bd80] error while decoding MB 60 0, bytestream 110495
[h264 @ 0x7f295105bd80] concealing 8149 DC, 8149 AC, 8149 MV errors in P frame
[h264 @ 0x7f2950053180] gray chroma0KB vq= 3817KB sq=    0B f=0/0   
[h264 @ 0x7f2950053180] error while decoding MB 2 1, bytestream 103773
[h264 @ 0x7f2950053180] concealing 8087 DC, 8087 AC, 8087 MV errors in P frame
[h264 @ 0x7f295006f940] concealing 7774 DC, 7774 AC, 7774 MV errors in B frame
[h264 @ 0x7f295008c140] concealing 6322 DC, 6322 AC, 6322 MV errors in B frame
[h264 @ 0x7f29500a8940] gray chroma
[h264 @ 0x7f29500a8940] error while decoding MB 42 1, bytestream 26979
[h264 @ 0x7f29500a8940] concealing 8047 DC, 8047 AC, 8047 MV errors in B frame
[h264 @ 0x7f29500c5140] top block unavailable for requested intra mode -1
[h264 @ 0x7f29500c5140] error while decoding MB 119 0, bytestream 93280
[h264 @ 0x7f29500c5140] concealing 8090 DC, 8090 AC, 8090 MV errors in P frame
[h264 @ 0x7f29500e1940] concealing 7948 DC, 7948 AC, 7948 MV errors in B frame
[h264 @ 0x7f29500fe140] concealing 8009 DC, 8009 AC, 8009 MV errors in P frame
[h264 @ 0x7f295011a940] top block unavailable for requested intra mode
[h264 @ 0x7f295011a940] error while decoding MB 70 0, bytestream 36313
[h264 @ 0x7f295011a940] concealing 8139 DC, 8139 AC, 8139 MV errors in B frame
[h264 @ 0x7f2950137140] concealing 6946 DC, 6946 AC, 6946 MV errors in B frame
[h264 @ 0x7f2950ff0080] concealing 7174 DC, 7174 AC, 7174 MV errors in B frame

comment:7 by mkver, 2 years ago

I am unable to download the file you linked to -- it seems that one needs to have an account with baidu to be able to download it. Can't you upload it to a less obtrusive file host? Like Dropbox, Google drive or here (use FFmpeg).

in reply to:  7 comment:8 by MultiMedia, 2 years ago

Replying to mkver:

I am unable to download the file you linked to -- it seems that one needs to have an account with baidu to be able to download it. Can't you upload it to a less obtrusive file host? Like Dropbox, Google drive or here (use FFmpeg).

google driver:
https://drive.google.com/file/d/1cKWOX4TKRnFq7F1koyMc_W0sC8QRMLDB/view?usp=sharing
also i upload to FFmpeg, but i donnot fine the uri. If you cannot get the video, please connect me.Thanks

comment:9 by mkver, 2 years ago

Analyzed by developer: set
Component: undeterminedavcodec
Keywords: h264 x264 added
Priority: normalwish
Reproduced by developer: set
Type: defectenhancement
Version: unspecifiedgit-master

This file has been created by an old version of x264 (and apparently even a modded version: x264 core 148 r2744+45 a477af1 7mod [10-bit@all X86_64]) and such old versions could produce spec-incompliant files when 4:4:4 mode was used and 8x8dct was set to 1. For some time, FFmpeg's decoder was spec-incompliant, too, and essentially covered up for x264. But this has been changed and spec-compliant decoding is now the default. But if an SEI is encountered that indicates that this file has been produced by an old and buggy x264, then the old spec-incompliant decoding mode is used. Your file contains such an SEI in the very first frame (which contains the aforementioned x264 version and the encoding parameters used), so if you start decoding from the beginning, everything seems fine. But if you start decoding somewhere else, the file won't be properly decodable, unless you explicitly set the x264 build using the x264_build option.
At the moment, there is only one thing you can do: Encode the video (either from the beginning or with the x264_build option) again with a recent version of x264. If you have the source of said file, this is viable. It would also make sense if your video were losslessly coded, but it isn't. Losslessly reencoding the video as is will unfortunately make it much bigger and reencoding the video in a lossy way is lossy, of course.
But there is one thing that could be implemented for a scenario as this: Add an option to (say) h264_metadata to insert the x264 SEI into every keyframe. I have changed this topic to a request to implement this.

in reply to:  9 comment:10 by MultiMedia, 2 years ago

Replying to mkver:

This file has been created by an old version of x264 (and apparently even a modded version: x264 core 148 r2744+45 a477af1 7mod [10-bit@all X86_64]) and such old versions could produce spec-incompliant files when 4:4:4 mode was used and 8x8dct was set to 1. For some time, FFmpeg's decoder was spec-incompliant, too, and essentially covered up for x264. But this has been changed and spec-compliant decoding is now the default. But if an SEI is encountered that indicates that this file has been produced by an old and buggy x264, then the old spec-incompliant decoding mode is used. Your file contains such an SEI in the very first frame (which contains the aforementioned x264 version and the encoding parameters used), so if you start decoding from the beginning, everything seems fine. But if you start decoding somewhere else, the file won't be properly decodable, unless you explicitly set the x264 build using the x264_build option.
At the moment, there is only one thing you can do: Encode the video (either from the beginning or with the x264_build option) again with a recent version of x264. If you have the source of said file, this is viable. It would also make sense if your video were losslessly coded, but it isn't. Losslessly reencoding the video as is will unfortunately make it much bigger and reencoding the video in a lossy way is lossy, of course.
But there is one thing that could be implemented for a scenario as this: Add an option to (say) h264_metadata to insert the x264 SEI into every keyframe. I have changed this topic to a request to implement this.

Thanks a lot.
Please notice me when complete this request so I can verify in time. Thanks again.

comment:11 by mkver, 2 years ago

Patch sent to the mailing list here. You can already try it if you know how to compile FFmpeg. Usage:

ffmpeg -i Joout.mkv -c copy -bsf:v h264_metadata=x264_sei=1 Joout.out.mkv

The output file will not exhibit the problem you reported here.

in reply to:  11 comment:12 by MultiMedia, 2 years ago

Replying to mkver:

Patch sent to the mailing list here. You can already try it if you know how to compile FFmpeg. Usage:

ffmpeg -i Joout.mkv -c copy -bsf:v h264_metadata=x264_sei=1 Joout.out.mkv

The output file will not exhibit the problem you reported here.

I have try with the new patch, when I use the order:

ffmpeg -i Joout.mkv -c copy -bsf:v h264_metadata=x264_sei=1 Joout.out.mkv

The new video play well. Thanks a lot.

comment:13 by MultiMedia, 2 years ago

Resolution: fixed
Status: newclosed

comment:14 by Carl Eugen Hoyos, 2 years ago

Keywords: x264 removed
Resolution: fixed
Status: closedreopened
Note: See TracTickets for help on using tickets.