[Libav-user] Converting audio sample buffer format

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Feb 23 00:27:56 CET 2013

Brad O'Hearne <brado at ...> writes:

> On Feb 18, 2013, at 4:43 PM, Carl Eugen Hoyos wrote:
> > The aconvert audio filter uses libswresample for 
> > conversions, it may depend on your use case if 
> > you prefer the filter or the library.
> In reading through FFmpeg source, it would appear 
> that the libswresample/swresample.h and
> libavresample/avresample.h are very similar.

> Are these libraries interchangeable

No, I don't think so (libavresample was written to be not 
interchangeable with libswresample so I would at least be 

> -- is there any reason to use one over the other? 

Yes, only libswresample is supported, libavresample 
is not even built by default.

Please read this article if you need more information:

Carl Eugen

More information about the Libav-user mailing list