[Libav-user] libavcodec differences between versions

Mathias Hjärtström mathias.hjartstrom at a2b.se
Wed Nov 6 10:08:13 CET 2013

Hello! I've been using libavcodec 0.10.2 for decoding audio in a certain
application (calling avcodec_decode_audio4() to use the "mp3" and "mp3float"
decoders) and now I've tried to upgrade to version 2.0.2. Everything builds
fine without changes in my code, but for some reason I get Mickey Mouse kind
of sound after decoding. I've tried other releases and come to the
conclusion that release 1.0.8 works straight off, but release 1.1.x (I've
tried 1.1.7) and later will produce this effect.


>From reading the "Old FFmpeg Releases" page on the website I can see that
1.0 was branched on 2012-09-28 and 1.1 on 2013-01-06. So the change I'm
looking for is probably somewhere between those dates. But I also see that
the 1.1.7 release use libav 9.10 and 1.0.8 use libav 0.8.3. What does that
mean, which versions are you referring to? Where can I find out what the
differences (or rather "changes of concept") there are between these "libav"
versions? Has there for instance been some change in the sample format,
sample rate or whatever between these version, so that I need to call
avcodec_open2() with some more or less undocumented option in order to get
the same behaviour as before?


I've tried to find release notes or any kind of documentation where I can
find out which changes were implemented and what I need to do to cope with
this. Could anybody please spread some light on what might have changed, not
the whole changelog for each and every change of a comment or whatever but
for a broader picture. Is something like that available?


Better yet, perhaps somebody knows exactly what I’ll have to do to avoid
this effect?




An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131106/25239204/attachment.html>

More information about the Libav-user mailing list