[FFmpeg-trac] #4134(avcodec:open): wmalossless: fix 24bit support

FFmpeg trac at avcodec.org
Fri Apr 29 21:48:05 CEST 2016


#4134: wmalossless: fix  24bit  support
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  wmalossless  |               Blocked By:
  bounty                             |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by DJX):

 The following sample produces static noise at around the 2:32+ mark when
 converted with FFmpeg:

 Original WMA: https://www.djxmmx.net/ffmpeg/4134/05%20-%20Alive.wma
 Converted WAV: https://www.djxmmx.net/ffmpeg/4134/05%20-%20Alive.wav
 {{{
 ffmpeg -i "Z:\Audio\Audio Library\Daft Punk\Musique Vol.1 1993-2005\05 -
 Alive.wma" -acodec pcm_s24le "C:\Temp\05 - Alive.wav"
 ffmpeg version N-79690-g78baa45 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
 --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex
 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-
 libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
 libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 23.100 / 55. 23.100
   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
 [wmalossless @ 0000000000a6c3e0] Decoding audio at 24 bit-depth
 Input #0, asf, from 'Z:\Audio\Audio Library\Daft Punk\Musique Vol.1
 1993-2005\05 - Alive.wma':
   Metadata:
     DeviceConformanceTemplate: N2
     WM/WMADRCPeakReference: 32767
     WM/WMADRCPeakTarget: 32767
     WM/WMADRCAverageReference: 11042
     WM/WMADRCAverageTarget: 11042
     genre           : Electronic
     WMFSDKVersion   : 11.0.5721.5251
     WMFSDKNeeded    : 0.0.0.0000
     album           : Musique Vol.1 1993-2005
     track           : 5
     WM/Track        : 4
     WM/Year         : 2006
     IsVBR           : 1
     MediaFoundationVersion: 2.112
     title           : Alive
     artist          : Daft Punk
   Duration: 00:05:16.25, start: 0.000000, bitrate: 2973 kb/s
     Stream #0:0: Audio: wmalossless (c[1][0][0] / 0x0163), 96000 Hz,
 stereo, s32p (24 bit), 1152 kb/s
 [wmalossless @ 0000000000a367e0] Decoding audio at 24 bit-depth
 [wav @ 0000000000a37c80] Using AVStream.codec to pass codec parameters to
 muxers is deprecated, use AVStream.codecpar instead.
 Output #0, wav, to 'C:\Temp\05 - Alive.wav':
   Metadata:
     DeviceConformanceTemplate: N2
     WM/WMADRCPeakReference: 32767
     WM/WMADRCPeakTarget: 32767
     WM/WMADRCAverageReference: 11042
     WM/WMADRCAverageTarget: 11042
     IGNR            : Electronic
     WMFSDKVersion   : 11.0.5721.5251
     WMFSDKNeeded    : 0.0.0.0000
     IPRD            : Musique Vol.1 1993-2005
     IPRT            : 5
     WM/Track        : 4
     WM/Year         : 2006
     IsVBR           : 1
     MediaFoundationVersion: 2.112
     INAM            : Alive
     IART            : Daft Punk
     ISFT            : Lavf57.34.103
     Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 96000 Hz,
 stereo, s32 (24 bit), 4608 kb/s
     Metadata:
       encoder         : Lavc57.38.100 pcm_s24le
 Stream mapping:
   Stream #0:0 -> #0:0 (wmalossless (native) -> pcm_s24le (native))
 Press [q] to stop, [?] for help
 [wmalossless @ 0000000000a367e0] CDLMS of order 8 is not implemented.
 Update 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.
 [wmalossless @ 0000000000a367e0] If you want to help, upload a sample of
 this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-
 devel mailing list. (ffmpeg-devel at ffmpeg.org)
 [wav @ 0000000000a37c80] Non-monotonous DTS in output stream 0:0;
 previous: 29773888, current: 29773824; changing to 29773888. This may
 result in incorrect timestamps in the output file.
 [wav @ 0000000000a37c80] Non-monotonous DTS in output stream 0:0;
 previous: 29949952, current: 29949888; changing to 29949952. This may
 result in incorrect timestamps in the output file.
 [wav @ 0000000000a37c80] Non-monotonous DTS in output stream 0:0;
 previous: 30015520, current: 30015456; changing to 30015520. This may
 result in incorrect timestamps in the output file.
 [wav @ 0000000000a37c80] Non-monotonous DTS in output stream 0:0;
 previous: 30035968, current: 30035904; changing to 30035968. This may
 result in incorrect timestamps in the output file.
 [wav @ 0000000000a37c80] Non-monotonous DTS in output stream 0:0;
 previous: 30081088, current: 30081024; changing to 30081088. This may
 result in incorrect timestamps in the output file.
 [wav @ 0000000000a37c80] Non-monotonous DTS in output stream 0:0;
 previous: 30113824, current: 30113760; changing to 30113824. This may
 result in incorrect timestamps in the output file.
 size=  177892kB time=00:05:16.37 bitrate=4606.2kbits/s speed=20.4x
 video:0kB audio:177892kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.000108%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4134#comment:37>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list