<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 6, 2013 at 6:21 AM, Alexandru Rosca <span dir="ltr"><<a href="mailto:srosca@bu.edu" target="_blank">srosca@bu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I am decoding audio and trying to convert it from the planar format to just FLT (packed?). I am making a library which when used will return the buffer with the data. I am using swr_convert but if I pass it frame.extended_data, it crashes.</div>
</blockquote><div><br></div><div>Yes, swr_convert functions should be able to do this without any problem.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"> If I just pass it frame.data[0] I get really crackly audio on the other end. I suspect the problem is converting between these formats? Setting request_sample_fmt to av_sample_flt doesnt work.</div>
<br></blockquote><div><br></div><div>You might want to share some workable sample code, otherwise it is pure guessing.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div></div>