Auto transcode audio to PCM but match source sample bits?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Auto transcode audio to PCM but match source sample bits?

Peter B.
Hi everyone :)

I would like to transcode a bunch of files from different sources, with
different audio encoding properties to uncompressed PCM, **but: maintain
the source bit depth**.

Since "-c:a" includes the bit-depth of the audio samples "pcm_s16le,
pcm_s24le, etc", I was wondering if there's a nice way to tell FFmpeg:
Convert any source audio format to PCM - but keep the same bits as the
source file had?

Currently I'm pre-sorting files manually in 16 or 24 bit and then
hardcoding "-c:a" accordingly...


Thank you very much in advance,
Peter B.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Auto transcode audio to PCM but match source sample bits?

Carl Eugen Hoyos-2
Am Mo., 6. Mai 2019 um 09:54 Uhr schrieb Peter B. <[hidden email]>:

> I would like to transcode a bunch of files from different sources, with
> different audio encoding properties to uncompressed PCM, **but: maintain
> the source bit depth**.
>
> Since "-c:a" includes the bit-depth of the audio samples "pcm_s16le,
> pcm_s24le, etc", I was wondering if there's a nice way to tell FFmpeg:
> Convert any source audio format to PCM - but keep the same bits as the
> source file had?

This is not currently supported (there is no "pcm" encoder).

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

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