[FFmpeg-trac] #2459(undetermined:new): mpc8: wrong duration

FFmpeg trac at avcodec.org
Fri Apr 12 01:01:18 CEST 2013


#2459: mpc8: wrong duration
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 ffmpeg reports 28s, mpcdec 30s

 1323648 / 44100 gives the correct duration

 http://ffmpeg.org/trac/ffmpeg/raw-attachment/ticket/1254/musepack8.mpc

 {{{
 $ mpcdec -i musepack8.mpc
 mpcdec - Musepack (MPC) decoder v1.0.0 (C) 2006-2009 MDT
 Built Feb 26 2009 20:20:48
 file: musepack8.mpc
 stream version 8
 encoder: --Stable-- 1.30.0
 profile: 'Standard' (q=5.00)
 PNS: off
 mid/side stereo: on
 gapless: on
 average bitrate:  176.5 kbps
 samplerate: 44100 Hz
 channels: 2
 length: 0:30 (1323648 samples)
 file size: 662373 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
 }}}

 {{{
 C:\>ffmpeg -i musepack8.mpc out.wav
 ffmpeg version N-51683-g9dc88ac Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Apr  8 2013 21:19:21 with gcc 4.8.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-libcaca --enable-
 libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-
 libopencore-amrn
 b --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus
 --enable-libr
 tmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-
 libtheo
 ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-li
 bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --ena
 ble-zlib
   libavutil      52. 25.100 / 52. 25.100
   libavcodec     55.  2.100 / 55.  2.100
   libavformat    55.  1.100 / 55.  1.100
   libavdevice    55.  0.100 / 55.  0.100
   libavfilter     3. 49.101 /  3. 49.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mpc8 @ 026e4020] max_analyze_duration 5000000 reached at 5015510
 microseconds
 Input #0, mpc8, from 'musepack8.mpc':
   Duration: 00:00:28.42, start: 0.000000, bitrate: 186 kb/s
     Stream #0:0: Audio: musepack8, 44100 Hz, stereo, s16p
 Output #0, wav, to 'out.wav':
   Metadata:
     ISFT            : Lavf55.1.100
     Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz,
 stereo, s16
 , 1411 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (mpc8 -> pcm_s16le)
 Press [q] to stop, [?] for help
 Multiple frames in a packet from stream 0
 musepack8.mpc: Input/output error
 size=    5175kB time=00:00:30.04 bitrate=1411.2kbits/s
 video:0kB audio:5175kB subtitle:0 global headers:0kB muxing overhead
 0.001510%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2459>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list