Opened 21 months ago
Last modified 16 months ago
#10323 open defect
Incorrect decoding of Monkey's Audio 3.80
Reported by: | death | Owned by: | Michael Niedermayer |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | audio, decoding, ape |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
How to reproduce:
ffmpeg -i bigfear.ape bigfear.wav ffmpeg version 2023-04-17-git-65e537b833-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.0 (Rev10, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 58. 6.100 / 58. 6.100 libavcodec 60. 9.100 / 60. 9.100 libavformat 60. 4.101 / 60. 4.101 libavdevice 60. 2.100 / 60. 2.100 libavfilter 9. 5.100 / 9. 5.100 libswscale 7. 2.100 / 7. 2.100 libswresample 4. 11.100 / 4. 11.100 libpostproc 57. 2.100 / 57. 2.100 (...)
Output file is incorrect, contains blocks of noise.
Offending file was encoded with Monkey's Audio version 3.80.
https://www.foobar2000.org/temp/bigfear.ape
Attachments (2)
Change History (12)
comment:1 by , 21 months ago
comment:3 by , 20 months ago
Status: | new → open |
---|
Looks like duplicate of #9816. But the file does not open in Adobe Audition.
comment:4 by , 16 months ago
That is still broken even after 80ad0e2198df4e2961928d8304da58df6db77ec4.
comment:5 by , 16 months ago
Owner: | set to |
---|
comment:6 by , 16 months ago
BTW, official MAC.exe agrees, it produces wav with md5 that is the same as written in flac header: ffmpeg.exe -i bigfear.wav -c:a pcm_s24le -f md5 -
I.e. 5aa528cf3fe80cea68bf7f7cbea3fc45
BTW if you recompress it to insane level of compression, it will result in smaller file, yet it will still cause artefacts.
comment:7 by , 16 months ago
I will attach two more samples with "insane" compression level (monkey's audio 3.99) which decodes with noise
stereo file is interim, mono i'm not sure
by , 16 months ago
Attachment: | 24_bit_fixed_mono_44k_insane.ape added |
---|
by , 16 months ago
Attachment: | 24_bit_fixed_stereo_44k_insane.ape added |
---|
comment:8 by , 16 months ago
it looks like 24-bit decoding in ffmpeg is just broken and the problem is not related to some outdated version of monkey's audio encoder, bacause I can create such noisy files with the latest version of encoder as well
follow-up: 10 comment:9 by , 16 months ago
"24_bit_fixed_mono_44k_insane.ape" and "24_bit_fixed_stereo_44k_insane.ape" files decodes ok with 20130418-git-ee94362 build, more I didn't test
General info on the sample: