[Libav-user] Converting PCM to AAC

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Sep 28 18:24:18 EEST 2016


2016-09-28 6:49 GMT+02:00 Oosman Saeed <oosman3-at-yahoo.com at ffmpeg.org>:

> I have PCM data that I converted to FLT and I am trying to encode
> that to AAC.

FFmpeg's native aac encoder does not accept AV_SAMPLE_FMT_FLT as
input, it has to be AV_SAMPLE_FMT_FLTP (planar intead of packed).

Also note that this describes the current implementation, codecs may
(and have in the past) change their sample_fmts: You should always
check in your code and convert into the format the encoder needs.

Carl Eugen


More information about the Libav-user mailing list