Opened 7 months ago

#10563 new defect

ape: fix decoding of some 24-bit insane files

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

https://trac.ffmpeg.org/raw-attachment/ticket/10323/24_bit_fixed_mono_44k_insane.ape

https://trac.ffmpeg.org/raw-attachment/ticket/10323/24_bit_fixed_stereo_44k_insane.ape

regression since ed0001482a74b60f3d5bc5cd7e304c9d65b2fcd5

./ffmpeg -i 24_bit_fixed_mono_44k_insane.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_mono_44k_insane.ape':
  Duration: 00:00:06.76, start: 0.000000, bitrate: 792 kb/s
  Stream #0:0: Audio: ape (APE  / 0x20455041), 44100 Hz, mono, 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), 44100 Hz, mono, s16, 705 kb/s
    Metadata:
      encoder         : Lavc60.26.100 pcm_s16le
[out#0/wav @ 0x555f6db91d80] video:0kB audio:582kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.013091%
size=     582kB time=00:00:06.68 bitrate= 712.9kbits/s speed= 164x    

Change History (0)

Note: See TracTickets for help on using tickets.