[Libav-user] Converting from AV_SAMPLE_FMT_FLTP to AV_SAMPLE_FMT_FLT
mtaha.ansari at gmail.com
Fri Dec 6 06:44:04 CET 2013
On Fri, Dec 6, 2013 at 6:21 AM, Alexandru Rosca <srosca at bu.edu> wrote:
> 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.
Yes, swr_convert functions should be able to do this without any problem.
> If I just pass it frame.data 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.
You might want to share some workable sample code, otherwise it is pure
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user