[Libav-user] Audio resampling changes slightly the speed of the music
Matthieu Regnauld
mregnauld at gmail.com
Thu Oct 25 12:24:39 EEST 2018
Thank you very much for your help.
Actually, it was my fault (again). I changed this :
while (av_read_frame(formatContext, &packet) >= 0 && !extraxted)
by this:
while (!extraxted && av_read_frame(formatContext, &packet) >= 0)
Because of that mistake, sometimes, a frame was read but never processed.
And now, it works like a charm!
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20181025/cdde5106/attachment.html>
More information about the Libav-user
mailing list