Opened 10 years ago

Closed 17 months ago

#3255 closed defect (fixed)

mss2: decode errors

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

Description

http://www.datafilehost.com/d/7d5c5d54

C:\>ffmpeg -i mss2_vbr_bug.wmv -f null -
ffmpeg version N-58797-g4a0d827 Copyright (c) 2000-2013 the FFmpeg developers
  built on Dec  6 2013 02:21:57 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 56.100 / 52. 56.100
  libavcodec     55. 45.100 / 55. 45.100
  libavformat    55. 22.100 / 55. 22.100
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     3. 91.100 /  3. 91.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'mss2_vbr_bug.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    Buffer Average  : 2916
    VBR Peak        : 1414213
    IsVBR           : 1
    DeviceConformanceTemplate: @
  Duration: 00:00:12.69, start: 0.000000, bitrate: 2047 kb/s
    Stream #0:0(pol): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp
, 281 kb/s
    Stream #0:1(pol): Video: mss2 (MSS2 / 0x3253534D), rgb24, 320x240, 1764 kb/s
, SAR 1:1 DAR 4:3, 23.98 tbr, 1k tbn, 1k tbc
Output #0, null, to 'pipe:':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    Buffer Average  : 2916
    VBR Peak        : 1414213
    IsVBR           : 1
    DeviceConformanceTemplate: @
    encoder         : Lavf55.22.100
    Stream #0:0(pol): Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SA
R 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
    Stream #0:1(pol): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (mss2 -> rawvideo)
  Stream #0:0 -> #0:1 (wmav2 -> pcm_s16le)
Press [q] to stop, [?] for help
[null @ 02cee020] Encoder did not produce proper pts, making some up.
[mss2 @ 02aee2c0] expected I-frame
Error while decoding stream #0:1: Invalid data found when processing input
[mss2 @ 02aee2c0] buffer not fully consumed
[mss2 @ 02aee2c0] expected I-frame
Error while decoding stream #0:1: Invalid data found when processing input
[mss2 @ 02aee2c0] buffer not fully consumed
    Last message repeated 1 times
[mss2 @ 02aee2c0] header error
Error while decoding stream #0:1: Invalid data found when processing input
[mss2 @ 02aee2c0] expected I-frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 23 times
frame=  276 fps=0.0 q=0.0 Lsize=N/A time=00:00:12.65 bitrate=N/A
video:17kB audio:2184kB subtitle:0 global headers:0kB muxing overhead -100.00097
6%

Attachments (8)

mss2_vbr_bug_cut.wmv (2.2 MB ) - added by Carl Eugen Hoyos 10 years ago.
mss2_2.wmv (29.2 KB ) - added by ami_stuff 8 years ago.
mss2_3.wmv (83.9 KB ) - added by ami_stuff 8 years ago.
mss2_4.wmv (255.8 KB ) - added by ami_stuff 8 years ago.
key_interval_0s.wmv (726.4 KB ) - added by ami_stuff 7 years ago.
key_interval_1s.wmv (818.0 KB ) - added by ami_stuff 7 years ago.
key_interval_2s.wmv (859.0 KB ) - added by ami_stuff 7 years ago.
key_interval_3s.wmv (838.5 KB ) - added by ami_stuff 7 years ago.

Change History (15)

comment:1 by Carl Eugen Hoyos, 10 years ago

Component: undeterminedavcodec
Keywords: mss2 added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

by Carl Eugen Hoyos, 10 years ago

Attachment: mss2_vbr_bug_cut.wmv added

by ami_stuff, 8 years ago

Attachment: mss2_2.wmv added

by ami_stuff, 8 years ago

Attachment: mss2_3.wmv added

by ami_stuff, 8 years ago

Attachment: mss2_4.wmv added

comment:2 by ami_stuff, 8 years ago

added some more failing samples

comment:3 by Elon Musk, 7 years ago

Do these small failing samples actually decode with WMP?

comment:4 by ami_stuff, 7 years ago

Yes, all of them decodes just fine.

comment:5 by ami_stuff, 7 years ago

see also #4043

by ami_stuff, 7 years ago

Attachment: key_interval_0s.wmv added

by ami_stuff, 7 years ago

Attachment: key_interval_1s.wmv added

by ami_stuff, 7 years ago

Attachment: key_interval_2s.wmv added

by ami_stuff, 7 years ago

Attachment: key_interval_3s.wmv added

comment:6 by ami_stuff, 7 years ago

attached a few more samples

C:\>ffmpeg -i key_interval_1s.wmv -f null -
ffmpeg version 3.2.git Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --disable-ffprobe --enable-gpl
  libavutil      55. 48.100 / 55. 48.100
  libavcodec     57. 83.100 / 57. 83.100
  libavformat    57. 66.104 / 57. 66.104
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 76.100 /  6. 76.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[mss2 @ 0238d7c0] Warning: not compiled with thread support, using thread emulat
ion
Input #0, asf, from 'key_interval_1s.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    Buffer Average  : 1447
    VBR Peak        : 373994
    IsVBR           : 1
    DeviceConformanceTemplate: @
  Duration: 00:00:12.63, start: 0.000000, bitrate: 530 kb/s
    Stream #0:0(eng): Video: mss2 (MSS2 / 0x3253534D), rgb24, 160x120, 514 kb/s,
 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
[mss2 @ 0238e320] Warning: not compiled with thread support, using thread emulat
ion
Stream mapping:
  Stream #0:0 -> #0:0 (mss2 (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
[wrapped_avframe @ 027a0920] Warning: not compiled with thread support, using th
read emulation
Output #0, null, to 'pipe:':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    Buffer Average  : 1447
    VBR Peak        : 373994
    IsVBR           : 1
    DeviceConformanceTemplate: @
    encoder         : Lavf57.66.104
    Stream #0:0(eng): Video: wrapped_avframe, rgb24, 160x120, q=2-31, 200 kb/s,
23.98 fps, 23.98 tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc57.83.100 wrapped_avframe
[mss2 @ 0238e320] disabling error correction due to block count mismatch 3x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 3x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 3x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 3x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 3x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 3x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 3x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 5x4 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 6x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 10x7 !=
 10x8
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 33 times
[mss2 @ 0238e320] disabling error correction due to block count mismatch 10x4 !=
 10x8
[mss2 @ 0238e320] Asymmetric WMV9 rectangle subsampling is not implemented. Upda
te your FFmpeg version to the newest one from Git. If the problem still occurs,
it means that your file has a feature which has not been implemented.
[mss2 @ 0238e320] If you want to help, upload a sample of this file to ftp://upl
oad.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-deve
l@ffmpeg.org)
[mss2 @ 0238e320] buffer not fully consumed
[mss2 @ 0238e320] expected I-frame
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 20 times
[mss2 @ 0238e320] disabling error correction due to block count mismatch 10x7 !=
 10x8
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 17 times
[mss2 @ 0238e320] disabling error correction due to block count mismatch 10x7 !=
 10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 9x8 !=
10x8
    Last message repeated 1 times
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 7 times
[mss2 @ 0238e320] disabling error correction due to block count mismatch 7x8 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 10x6 !=
 10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 5x7 !=
10x8
[mss2 @ 0238e320] disabling error correction due to block count mismatch 9x4 !=
10x8
Error while decoding stream #0:0: Invalid data found when processing input
[mss2 @ 0238e320] expected I-frame
Error while decoding stream #0:0: Invalid data found when processing input
[mss2 @ 0238e320] Bits overconsumption: 5576 > 5568
[mss2 @ 0238e320] concealing 80 DC, 80 AC, 80 MV errors in I frame
[mss2 @ 0238e320] buffer not fully consumed
[mss2 @ 0238e320] header error
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 16 times
frame=  203 fps=0.0 q=-0.0 Lsize=N/A time=00:00:12.63 bitrate=N/A speed=27.9x

video:76kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ov
erhead: unknown

comment:7 by Carl Eugen Hoyos, 17 months ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.