2011-06-19 17:45:36 +00:00
|
|
|
Release Notes
|
|
|
|
=============
|
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
* 11 "One Louder"
|
2011-06-19 17:45:36 +00:00
|
|
|
|
|
|
|
General notes
|
|
|
|
-------------
|
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
With this release we are trying to answer the numerous calls from our users for
|
|
|
|
shorter development cycles. From now on we will aim for approximately two major
|
|
|
|
releases per year.
|
2013-12-18 02:52:13 +00:00
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
Libav 11 is API-, but not ABI-compatible with the previous major release. This
|
|
|
|
means that the code using our libraries needs to be rebuilt, but no source
|
|
|
|
changes should be required. Note however, that a number of old APIs remain
|
|
|
|
deprecated and will be dropped in the near future. All users are strongly
|
|
|
|
encouraged to update their code as soon as possible. The doc/APIchanges file in
|
|
|
|
the Libav source tree and the migration guide on the wiki should help with
|
|
|
|
migration to the new APIs. If those are not sufficient, do not hesitate to
|
|
|
|
contact us on IRC or through the user mailing list.
|
2013-12-18 02:52:13 +00:00
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
One specific API issue in libavformat deserves mentioning here. When using
|
|
|
|
libavcodec for decoding or encoding and libavformat for demuxing or muxing,
|
|
|
|
the standard practice was to use the stream codec context (AVStream.codec) for
|
|
|
|
actual decoding or encoding. There are multiple problems with this pattern
|
|
|
|
(the main one is that the decoder/demuxer or encoder/muxer are not necessarily
|
|
|
|
synchronized and may overwrite each other's state), so it is now strongly
|
|
|
|
discouraged and will likely be deprecated in the future. Users should instead
|
|
|
|
allocate a separate decoding or encoding context and populate it from the
|
|
|
|
demuxing codec context (or the reverse for encoding) with the
|
|
|
|
avcodec_copy_context() function.
|
2013-12-18 02:52:13 +00:00
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
The main highlights of this release include native Opus, VP7, OpenEXR, and On2
|
|
|
|
AVC decoders, HEVC encoding through libx265, new APIs for exporting ReplayGain
|
|
|
|
and display transformation metadata and countless bug fixes. A large effort was
|
|
|
|
also expended on internal cleanups which are not very visible to our users,
|
|
|
|
but should make the codebase cleaner, safer and easier to maintain and extend.
|
|
|
|
One point worth mentioning is refactoring the large monolithic framework for
|
|
|
|
architecture-specific codec optimizations into small blocks, which reduces the
|
|
|
|
size of configurations that selectively enable or disable certain codecs.
|
2013-12-18 02:52:13 +00:00
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
The avserver streaming tool, which has not been maintained for many years and
|
|
|
|
was mostly broken, was removed from the tree. It was decided that it is a
|
|
|
|
significant maintenance burden and that we do our users no service by pretending
|
|
|
|
to support it, while we in fact do not.
|
2011-06-19 17:45:36 +00:00
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
See the Changelog file for a more extensive list of significant changes.
|
2011-06-19 17:45:36 +00:00
|
|
|
|
|
|
|
API changes
|
|
|
|
-----------
|
|
|
|
|
2012-10-05 05:27:33 +00:00
|
|
|
A number of additional APIs have been introduced and some existing functions
|
|
|
|
have been deprecated and are scheduled for removal in the next release.
|
|
|
|
Significant API changes include:
|
2012-01-17 11:42:34 +00:00
|
|
|
|
2013-12-18 02:52:13 +00:00
|
|
|
[libavcodec]
|
2014-08-18 18:04:47 +00:00
|
|
|
+ Added the avcodec_copy_context() function that must from now on be used for
|
|
|
|
freeing codec contexts.
|
|
|
|
+- Added a new VDA hardware acceleration API, since the old one was broken and
|
|
|
|
not fixable in a compatible way. Deprecated the old VDA API.
|
|
|
|
|
|
|
|
[libavformat]
|
|
|
|
+ Added support for exporting stream-global (as opposed to per-packet) side
|
|
|
|
data. This feature is now used by some demuxers to export ReplayGain or
|
|
|
|
display transformation matrix (aka rotation) or stereoscopic 3D mode.
|
|
|
|
+ Added an API for live metadata updates through event flags.
|
|
|
|
+- Changed the way to provide a hint about the desired timebase to muxers.
|
|
|
|
Previously it was done by setting AVStream.codec.time_base. Now callers
|
|
|
|
should set AVStream.time_base.
|
2013-12-18 02:52:13 +00:00
|
|
|
|
2014-08-18 18:04:47 +00:00
|
|
|
[libavresample]
|
|
|
|
+ Added an API for working with AVFrames.
|
2011-06-19 17:45:36 +00:00
|
|
|
|
2012-10-05 05:27:33 +00:00
|
|
|
Please see the file doc/APIchanges for details along with similar
|
|
|
|
programmer-centric information.
|