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 <[email protected]>
 To: "This list is about using libavcodec, libavformat, libavutil, libavdevice 
and libavfilter." <[email protected]> 
 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 <[email protected]>:

> 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
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user


   
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to