Ah, so I need to set a correct encoder. If that’s the case then, indeed, ffmpeg 
-encoders | grep 24 showed a bunch of those. I thought it’s as simple as 
supplying the -sample_fmt option.
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