Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#6046 closed defect (fixed)

mpc8: "maxband 19 too large" / "overread 8"

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

Description

C:\>ffmpeg -i q1.mpc out.wav
ffmpeg version 3.2.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --enable-gpl
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 68.100 / 57. 68.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[mpc8 @ 0224d2e0] Warning: not compiled with thread support, using thread emulat
ion
Input #0, mpc8, from 'q1.mpc':
  Duration: 00:00:58.51, start: 0.000000, bitrate: 17 kb/s
    Stream #0:0: Audio: musepack8, 44100 Hz, mono, s16p
[mpc8 @ 025db260] Warning: not compiled with thread support, using thread emulat
ion
[pcm_s16le @ 025dc9c0] Warning: not compiled with thread support, using thread e
mulation
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf57.61.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16,
705 kb/s
    Metadata:
      encoder         : Lavc57.68.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (musepack8 (mpc8) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[mpc8 @ 025db260] Multiple frames in a packet.
[mpc8 @ 025db260] maxband 19 too large
Error while decoding stream #0:0: Invalid data found when processing input
q1.mpc: I/O error
size=    5171kB time=00:01:00.02 bitrate= 705.6kbits/s speed= 384x
video:0kB audio:5170kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.001473%
C:\>ffmpeg -i q10.mpc out.wav
ffmpeg version 3.2.git Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.6.2 (GCC)
  configuration: --disable-pthreads --enable-gpl
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 68.100 / 57. 68.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[mpc8 @ 0224d300] Warning: not compiled with thread support, using thread emulat
ion
Input #0, mpc8, from 'q10.mpc':
  Duration: 00:00:58.51, start: 0.000000, bitrate: 123 kb/s
    Stream #0:0: Audio: musepack8, 44100 Hz, mono, s16p
[mpc8 @ 0224c040] Warning: not compiled with thread support, using thread emulat
ion
[pcm_s16le @ 025fd600] Warning: not compiled with thread support, using thread e
mulation
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf57.61.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16,
705 kb/s
    Metadata:
      encoder         : Lavc57.68.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (musepack8 (mpc8) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[mpc8 @ 0224c040] Multiple frames in a packet.
[mpc8 @ 0224c040] Overread 8
q10.mpc: I/O error
size=    5173kB time=00:01:00.05 bitrate= 705.6kbits/s speed= 384x
video:0kB audio:5173kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.001473%

Attachments (3)

q1.mpc (126.9 KB ) - added by Carl Eugen Hoyos 7 years ago.
q5.mpc (295.6 KB ) - added by Carl Eugen Hoyos 7 years ago.
q10.mpc (883.7 KB ) - added by Carl Eugen Hoyos 7 years ago.

Download all attachments as: .zip

Change History (8)

by Carl Eugen Hoyos, 7 years ago

Attachment: q1.mpc added

by Carl Eugen Hoyos, 7 years ago

Attachment: q5.mpc added

by Carl Eugen Hoyos, 7 years ago

Attachment: q10.mpc added

comment:1 by Carl Eugen Hoyos, 7 years ago

Keywords: mpc added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:2 by ami_stuff, 7 years ago

In the past error message was a bit different:

C:\>ffmpeg -i q1.mpc -f null -
ffmpeg version N-78758-g5156578 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (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-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --
enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-lib
x265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-d
ecklink --enable-zlib
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 27.100 / 57. 27.100
  libavformat    57. 26.100 / 57. 26.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 37.100 /  6. 37.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mpc8, from 'q1.mpc':
  Duration: 00:00:58.51, start: 0.000000, bitrate: 17 kb/s
    Stream #0:0: Audio: musepack8, 44100 Hz, mono, s16p
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.26.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
    Metadata:
      encoder         : Lavc57.27.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (musepack8 (mpc8) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 0
[mpc8 @ 038e6840] maxband 31 too large
Error while decoding stream #0:0: Invalid data found when processing input
[mpc8 @ 038e6840] maxband 31 too large
Error while decoding stream #0:0: Invalid data found when processing input
[mpc8 @ 038e6840] maxband 32 too large
Error while decoding stream #0:0: Invalid data found when processing input
q1.mpc: I/O error
size=N/A time=00:01:00.02 bitrate=N/A speed= 960x
video:0kB audio:4594kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: unknown

comment:3 by Elon Musk, 6 years ago

Resolution: fixed
Status: openclosed

comment:4 by Carl Eugen Hoyos, 6 years ago

Is the output supposed to be bit-exact?
It currently isn't compared to mpcdec v1.0.0, FFmpeg's output is too long (60.02 instead of 60 seconds).

comment:5 by Elon Musk, 6 years ago

Container stores number of encoded samples in file header. FFmpeg mostly ignores such info.

Note: See TracTickets for help on using tickets.