[Libav-user] How to get raw audio frames from an audio file

Matthieu Regnauld mregnauld at gmail.com
Wed Oct 24 00:35:35 EEST 2018

Thank you again for your help!

OK so I try to follow the example given in the "Detailed Description" part
of the Libswresample documentation:
And I updated my code:

As a reminder, in my example, I try to resample and extract audio samples
from an audio file (44100 Hz, 2 channels) to have them in the following
format: 48000 Hz, 2 channels.

But unfortunately, I still don't manage to make it work: the sound is a bit
faster than its regular speed, and still with quite a lot of crackling.

What wrong in my code?

Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20181023/1137a935/attachment.html>

More information about the Libav-user mailing list