[Libav-user] Converting PCM to AAC
Oosman Saeed
oosman3 at yahoo.com
Wed Sep 28 20:44:03 EEST 2016
Thank you Carl. I will change it to FLTP and try it out.
I am using mono sound, not stereo. Does it matter if its FLT or FLTP?
Thanks,
Oosman
From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org>
Sent: Wednesday, September 28, 2016 10:24 AM
Subject: Re: [Libav-user] Converting PCM to AAC
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
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160928/d995bdfd/attachment.html>
More information about the Libav-user
mailing list