[Libav-user] codec id for wav encoding

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Mar 23 17:08:31 EET 2018

2018-03-23 15:35 GMT+01:00, Michael IV <explomaster at gmail.com>:
> You're right.Let me rephrase:
> I need to encode the data so that the encoded frame contains PCM16 . What
> codec ID do I need to use for that?

Let me think: For PCM16 (assuming little-endian since big-endian
is not supported in wav) you need:

> I see in the ID list all sorts of PCM and I am not sure
> which to choose.

That depends on the question if you need 8, 16, 24 or 32 bit.

Carl Eugen

More information about the Libav-user mailing list