#5478 closed defect (fixed)

Musepack decoder problems

Reported by: q3cpma Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: mpc regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

https://trac.ffmpeg.org/ticket/2459
Same problem as this ticket, but I get another error too (the maxband 30 one).

ffmpeg -i out.mpc out.wav
ffmpeg version 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.3 (Gentoo 4.9.3 p1.5, pie-0.6.4)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --enable-doc --disable-gnutls --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl --disable-vaapi --disable-vdpau --enable-xlib --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --enable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --enable-libopus --disable-libquvi --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --enable-libass --disable-libfreetype --disable-libsoxr --enable-pthreads --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libaacplus --disable-libfaac --disable-libsnappy --disable-libtheora --disable-libtwolame --enable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --disable-libxvid --enable-x11grab --disable-amd3dnow --disable-amd3dnowext --disable-avx2 --cpu=host
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mpc8, from 'out.mpc':
  Duration: 00:03:27.31, start: 0.000000, bitrate: 173 kb/s
    Stream #0:0: Audio: musepack8, 44100 Hz, stereo, s16p
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf56.40.101
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc56.60.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 @ 0x231a300] maxband 30 too largee=1411.2kbits/s    
Error while decoding stream #0:0: Invalid data found when processing input
out.mpc: Input/output error
size=   35681kB time=00:03:27.12 bitrate=1411.2kbits/s    
video:0kB audio:35680kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000213%

Note, these problems also happens with mpc 475 and ffmpeg-git. Sorry if I wasn't supposed to open a new ticket for this.

Attachments (1)

test.mpc (1.4 MB) - added by q3cpma 20 months ago.
musepack sample

Download all attachments as: .zip

Change History (6)

comment:1 Changed 20 months ago by cehoyos

  • Keywords musepack mpc removed
  • Resolution set to needs_more_info
  • Status changed from new to closed

Please reopen this ticket if it is reproducible with current FFmpeg git head and once you uploaded a sample.

comment:2 Changed 20 months ago by q3cpma

mpcenc/mpcenc ~/test.flac
MPC Encoder 1.30.1 --stable-- (C) 1999-2009 Buschmann/Klemm/Piecha/MDT
Built Apr 27 2016 13:42:43
     
 encoding file '/home/user/test.flac'
       to file '/home/user/test.mpc'

 SV 8, Profile 'Standard'

    %|avg.bitrate| speed|play time (proc/tot)| CPU time (proc/tot)| ETA
100.0  204.3 kbps 59.09x     0:56.3    0:56.3     0:00.9    0:00.9
mpcdec/mpcdec -i ~/test.mpc 
mpcdec - Musepack (MPC) decoder v1.0.0 (C) 2006-2009 MDT
Built Apr 27 2016 13:42:43
file: /home/user/test.mpc
stream version 8
encoder: --Stable-- 1.30.1
profile: 'Standard' (q=5.00)
PNS: off
mid/side stereo: on
gapless: on
average bitrate:  204.3 kbps
samplerate: 44100 Hz
channels: 2
length: 0:56 (2483712 samples)
file size: 1438354 Bytes
track peak: 0.00 dB
track gain: 0.00 dB / 0.00 dB
album peak: 0.00 dB
album gain: 0.00 dB / 0.00 dB
./ffmpeg -i ~/test.mpc ~/test.wav
ffmpeg version N-79654-g566d64d-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (Debian 5.3.1-15) 20160421
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --enable-libzimg --cc=gcc
  libavutil      55. 22.101 / 55. 22.101
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mpc8, from '/home/user/test.mpc':
  Duration: 00:00:55.17, start: 0.000000, bitrate: 208 kb/s
    Stream #0:0: Audio: musepack8, 44100 Hz, stereo, s16p
[wav @ 0x5b99ea0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, wav, to '/home/user/test.wav':
  Metadata:
    ISFT            : Lavf57.34.103
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.38.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 @ 0x5b99a00] maxband 30 too large
Error while decoding stream #0:0: Invalid data found when processing input
/home/user/test.mpc: Input/output error
size=    9482kB time=00:00:55.03 bitrate=1411.2kbits/s speed= 301x    
video:0kB audio:9482kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000803%

As you can see, it happens with musepack-tools 475 and ffmpeg-git, and the duration is still wrong.

Last edited 20 months ago by q3cpma (previous) (diff)

Changed 20 months ago by q3cpma

musepack sample

comment:3 Changed 20 months ago by q3cpma

  • Resolution needs_more_info deleted
  • Status changed from closed to reopened

comment:4 Changed 20 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords mpc regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from reopened to open

Regression since 11a1033c / 8f2aa89a
The regression is also reproducible with the sample from ticket #2459 but the difference is much smaller there and the report is different (and also reproducible with this sample).

comment:5 Changed 18 months ago by michael

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