[FFmpeg-trac] #10564(undetermined:new): ape: fix decoding of 24-bit ape files (encoded from 24-bit caf)

FFmpeg trac at avcodec.org
Tue Sep 12 03:52:45 EEST 2023


#10564: ape: fix decoding of 24-bit ape files (encoded from 24-bit caf)
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 monkey's audio encoder can encode 24-bit caf files to ape format

 currently ffmpeg decodes such ape files to noise


 {{{
 ./ffmpeg -i 24_bit_fixed_caf.ape -y out.wav
 ffmpeg version N-112010-g1a87a9d82a Copyright (c) 2000-2023 the FFmpeg
 developers
   built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
   configuration:
   libavutil      58. 19.100 / 58. 19.100
   libavcodec     60. 26.100 / 60. 26.100
   libavformat    60. 11.100 / 60. 11.100
   libavdevice    60.  2.101 / 60.  2.101
   libavfilter     9. 11.100 /  9. 11.100
   libswscale      7.  3.100 /  7.  3.100
   libswresample   4. 11.100 /  4. 11.100
 Input #0, ape, from '24_bit_fixed_caf.ape':
   Duration: 00:00:06.76, start: 0.000000, bitrate: 1961 kb/s
   Stream #0:0: Audio: ape (APE  / 0x20455041), 48000 Hz, stereo, s32p (24
 bit)
 Stream mapping:
   Stream #0:0 -> #0:0 (ape (native) -> pcm_s16le (native))
 Press [q] to stop, [?] for help
 Output #0, wav, to 'out.wav':
   Metadata:
     ISFT            : Lavf60.11.100
   Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo,
 s16, 1536 kb/s
     Metadata:
       encoder         : Lavc60.26.100 pcm_s16le
 [out#0/wav @ 0x5643addad500] video:0kB audio:1267kB subtitle:0kB other
 streams:0kB global headers:0kB muxing overhead: 0.006014%
 size=    1267kB time=00:00:06.72 bitrate=1544.2kbits/s speed= 214x
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10564>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list