Opened 4 years ago

Closed 4 years ago

#2414 closed defect (fixed)

wmv2 decoding bug...

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

Description

FFmpeg's wmv2 decoder make demaged picture at after 00:12:00.
Error message is
I7:3E/
dc overflow- block: 4 qscale: 5

error while decoding intra block: 4 x 7 (4)
Error at MB: 151
concealing 160 DC, 160 AC, 160 MV errors in I frame
ignoring overflow at 18 0
ignoring overflow at 3 4
ignoring overflow at 3 4
ignoring overflow at 11 4
ignoring overflow at 11 4
ignoring overflow at 11 4
ignoring overflow at 16 7
ignoring overflow at 5 8
ignoring overflow at 16 8
ignoring overflow at 4 9
ignoring overflow at 4 9
ignoring overflow at 4 9
ignoring overflow at 4 9
ignoring overflow at 4 9
ignoring overflow at 1 10
ignoring overflow at 2 10
ignoring overflow at 2 10
ignoring overflow at 12 10
ignoring overflow at 16 10
ignoring overflow at 2 11
ignoring overflow at 16 11
ignoring overflow at 4 12
ignoring overflow at 3 13
ignoring overflow at 16 14

Change History (8)

comment:1 Changed 4 years ago by kyh96403

file link is "http://110.45.215.113/test/test.asf"
Windows DMO decoder is ok...

Last edited 4 years ago by kyh96403 (previous) (diff)

comment:2 Changed 4 years ago by cehoyos

  • Priority changed from important to normal

Please provide your failing command line together with the complete, uncut console output to make this a valid ticket.

Do you think this problem is a regression?

comment:3 Changed 4 years ago by compn

i made a smaller sample from your test.asf :

http://samples.ffmpeg.org/asf-wmv/wmv2decerror-short.asf

it shows the wmv2 problem immediately
-vc wmvdmo has no smearing/tearing.
(mencoder messed up the audio sync, so ignore that in my sample.)

uncut output:

W:\>y:\ffplay wmv2decerror-short.asf
ffplay version N-51433-g551f683 Copyright (c) 2003-2013 the FFmpeg developers
  built on Mar 28 2013 21:52:57 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzli
b --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-li
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore
-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-lib
vo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxa
vs --enable-libxvid --enable-zlib
  libavutil      52. 22.101 / 52. 22.101
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 48.105 /  3. 48.105
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, asf, from 'wmv2decerror-short.asf': 0KB sq=    0B f=0/0
  Metadata:
    encoder         : Lavf53.12.0
  Duration: 00:00:40.31, start: 0.000000, bitrate: 274 kb/s
    Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 320x240, 27.25 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 22050 Hz, 1 channels, fltp, 20 kb/s
[wmv2 @ 0266c9e0] dc overflow- block: 4 qscale: 5//q=    0B f=0/0
[wmv2 @ 0266c9e0]
error while decoding intra block: 4 x 7 (4)
[wmv2 @ 0266c9e0] Error at MB: 151
[wmv2 @ 0266c9e0] concealing 160 DC, 160 AC, 160 MV errors in I frame
[wmv2 @ 0266c9e0] dc overflow- block: 4 qscale: 5//q=    0B f=0/0
[wmv2 @ 0266c9e0]
error while decoding intra block: 4 x 7 (4)
[wmv2 @ 0266c9e0] Error at MB: 151
[wmv2 @ 0266c9e0] concealing 160 DC, 160 AC, 160 MV errors in I frame
[wmv2 @ 0266c9e0] dc overflow- block: 4 qscale: 5//q=    0B f=0/0
[wmv2 @ 0266c9e0]
error while decoding intra block: 13 x 13 (4)
[wmv2 @ 0266c9e0] Error at MB: 286
[wmv2 @ 0266c9e0] concealing 76 DC, 76 AC, 76 MV errors in I frame
[wmv2 @ 0266c9e0] dc overflow- block: 4 qscale: 9//q=    0B f=0/0
[wmv2 @ 0266c9e0]
error while decoding intra block: 17 x 13 (4)
[wmv2 @ 0266c9e0] Error at MB: 290
[wmv2 @ 0266c9e0] concealing 72 DC, 72 AC, 72 MV errors in P frame
[wmv2 @ 0266c9e0] dc overflow- block: 4 qscale: 5//q=    0B f=0/0
[wmv2 @ 0266c9e0]
error while decoding intra block: 13 x 12 (4)
[wmv2 @ 0266c9e0] Error at MB: 265
[wmv2 @ 0266c9e0] concealing 96 DC, 96 AC, 96 MV errors in I frame
[wmv2 @ 0266c9e0] dc overflow- block: 4 qscale: 7//q=    0B f=0/0
[wmv2 @ 0266c9e0]
error while decoding intra block: 15 x 12 (4)
[wmv2 @ 0266c9e0] Error at MB: 267
[wmv2 @ 0266c9e0] concealing 94 DC, 94 AC, 94 MV errors in P frame
  73.15 A-V: -0.084 fd=  28 aq=    0KB vq=    0KB sq=    0B f=0/0

(the sample keeps playing, not sure if ffplay bug with 'broken' mencoder file)

Last edited 4 years ago by cehoyos (previous) (diff)

comment:4 Changed 4 years ago by compn

  • Status changed from new to open

testing with mplayer from 2006 shows similar smearing/tearing.
not a regression.

comment:5 Changed 4 years ago by cehoyos

Is the "smearing/tearing" only reproducible with ffplay or also with ffmpeg?

comment:6 Changed 4 years ago by compn

also with ffmpeg:

W:\>y:\ffmpeg -i wmv2decerror-short.asf -f null NUL
ffmpeg version N-51433-g551f683 Copyright (c) 2000-2013 the FFmpeg developers

built on Mar 28 2013 21:52:57 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzli

b --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-li
bcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore
-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-lib
vo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxa
vs --enable-libxvid --enable-zlib

libavutil 52. 22.101 / 52. 22.101
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100

Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, asf, from 'wmv2decerror-short.asf':

Metadata:

encoder : Lavf53.12.0

Duration: 00:00:40.31, start: 0.000000, bitrate: 274 kb/s

Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 320x240, 27.25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 22050 Hz, mono, fltp, 20 kb/s

Output #0, null, to 'NUL':

Metadata:

encoder : Lavf55.0.100
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240, q=2-31, 200 kb/s, 90k tbn, 2

7.25 tbc

Stream #0:1: Audio: pcm_s16le, 22050 Hz, mono, s16, 352 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (wmv2 -> rawvideo)
Stream #0:1 -> #0:1 (wmav2 -> pcm_s16le)

Press [q] to stop, ? for help
[wmv2 @ 02667020] dc overflow- block: 4 qscale: 5
[wmv2 @ 02667020]
error while decoding intra block: 4 x 7 (4)
[wmv2 @ 02667020] Error at MB: 151
[wmv2 @ 02667020] concealing 160 DC, 160 AC, 160 MV errors in I frame
[null @ 027148c0] Encoder did not produce proper pts, making some up.
[wmv2 @ 02667020] dc overflow- block: 4 qscale: 5

[wmv2 @ 02667020]
error while decoding intra block: 4 x 7 (4)
[wmv2 @ 02667020] Error at MB: 151
[wmv2 @ 02667020] concealing 160 DC, 160 AC, 160 MV errors in I frame
[wmv2 @ 02667020] dc overflow- block: 4 qscale: 5
[wmv2 @ 02667020]
error while decoding intra block: 13 x 13 (4)
[wmv2 @ 02667020] Error at MB: 286
[wmv2 @ 02667020] concealing 76 DC, 76 AC, 76 MV errors in I frame
dc overflow- block: 4 qscale: 9
A time=00:00:18.62 bitrate=N/A dup=83 drop=0
[wmv2 @ 02667020]
error while decoding intra block: 17 x 13 (4)
[wmv2 @ 02667020] Error at MB: 290
[wmv2 @ 02667020] concealing 72 DC, 72 AC, 72 MV errors in P frame
dc overflow- block: 4 qscale: 5A time=00:00:33.20 bitrate=N/A dup=149 drop=0
[wmv2 @ 02667020]
error while decoding intra block: 13 x 12 (4)
[wmv2 @ 02667020] Error at MB: 265
[wmv2 @ 02667020] concealing 96 DC, 96 AC, 96 MV errors in I frame
[wmv2 @ 02667020] dc overflow- block: 4 qscale: 7

[wmv2 @ 02667020]
error while decoding intra block: 15 x 12 (4)
[wmv2 @ 02667020] Error at MB: 267
[wmv2 @ 02667020] concealing 94 DC, 94 AC, 94 MV errors in P frame
frame= 1077 fps=884 q=0.0 Lsize=N/A time=00:00:40.35 bitrate=N/A dup=179 drop=0
video:67kB audio:1736kB subtitle:0 global headers:0kB muxing overhead -100.001191%

Version 0, edited 4 years ago by compn (next)

comment:7 Changed 4 years ago by cehoyos

  • Reproduced by developer set

comment:8 Changed 4 years ago by michael

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.