[Libav-user] Converting audio sample buffer format

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Feb 19 00:43:08 CET 2013

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

> I have found the resampling_audio.c in the FFmpeg 
> source examples which appear to address libswresample, 
> and I have found the filter_audio.c -- it would appear 
> to be an aconvert example -- but if there's more doc 
> somewhere on aconvert, I'd be interested in knowing
> where....that would be great.

The relevant sample code for the filter is in 

> One final question -- what essentially is the 
> difference in approach between aconvert filter 
> and libswresample

The aconvert audio filter uses libswresample for 
conversions, it may depend on your use case if 
you prefer the filter or the library.

Carl Eugen

More information about the Libav-user mailing list