<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3019"><span id="yui_3_16_0_ym19_1_1475084560939_3020">Thank you Carl. I will change it to FLTP and try it out. </span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3018"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3016"><span id="yui_3_16_0_ym19_1_1475084560939_3017">I am using mono sound, not stereo. Does it matter if its FLT or FLTP?</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3015"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3014"><span>Thanks,</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3013"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3012"><span>Oosman</span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1475084560939_3009"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1475084560939_2917" style="display: block;">  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1475084560939_2916"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1475084560939_2915"> <div dir="ltr" id="yui_3_16_0_ym19_1_1475084560939_3010"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1475084560939_3011"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Carl Eugen Hoyos <ceffmpeg@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user@ffmpeg.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, September 28, 2016 10:24 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Libav-user] Converting PCM to AAC<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1475084560939_2914"><br>2016-09-28 6:49 GMT+02:00 Oosman Saeed <<a shape="rect" ymailto="mailto:oosman3-at-yahoo.com@ffmpeg.org" href="mailto:oosman3-at-yahoo.com@ffmpeg.org">oosman3-at-yahoo.com@ffmpeg.org</a>>:<br clear="none"><br clear="none">> I have PCM data that I converted to FLT and I am trying to encode<br clear="none">> that to AAC.<br clear="none"><br clear="none">FFmpeg's native aac encoder does not accept AV_SAMPLE_FMT_FLT as<br clear="none">input, it has to be AV_SAMPLE_FMT_FLTP (planar intead of packed).<br clear="none"><br clear="none">Also note that this describes the current implementation, codecs may<br clear="none">(and have in the past) change their sample_fmts: You should always<br clear="none">check in your code and convert into the format the encoder needs.<br clear="none"><br clear="none">Carl Eugen<div class="yqt0890415554" id="yqtfd50570"><br clear="none">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank" id="yui_3_16_0_ym19_1_1475084560939_3021">http://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"></div><br><br></div> </div> </div>  </div></div></body></html>