Thank you again for your help! OK so I try to follow the example given in the "Detailed Description" part of the Libswresample documentation: https://www.ffmpeg.org/doxygen/2.3/group__lswr.html And I updated my code: https://gist.github.com/mregnauld/2538d98308ad57eb75cfcd36aab5099a
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.
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
