The audio was transcoded as a 32-bit AIFF. I need to re-encode it as a 24-bit 
depth leaving the format intact.  According to FFMPEG (N-98498-gfa8345c) man 
page for -sample_fmts I can choose from the following options:

name   depth
u8        8 
s16      16 
s32      32 
flt      32 
dbl      64 
u8p       8 
s16p     16 
s32p     32 
fltp     32 
dblp     64 
s64      64 
s64p     64 


On 04 Sep 2020, at 13:27, Moritz Barsnick <[email protected]> wrote:

> On Fri, Sep 04, 2020 at 05:27:04 +0300, Ilja wrote:
>> I need to downscale 32-bit audio to 24-bit one. How do you do this
>> with ffmpeg? I didn’t find any 24-bit option.
> 
> What format and codec were you thinking of?
> Probably PCM audio. For that, ffmpeg (or at least my build) has these
> specific encoders:
> 
> A..... pcm_s24be            PCM signed 24-bit big-endian
> A..... pcm_s24daud          PCM D-Cinema audio signed 24-bit
> A..... pcm_s24le            PCM signed 24-bit little-endian
> A..... pcm_s24le_planar     PCM signed 24-bit little-endian planar
> A..... pcm_u24be            PCM unsigned 24-bit big-endian
> A..... pcm_u24le            PCM unsigned 24-bit little-endian
> 
> Cheers,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to