Add release notes for 11.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
pull/88/head
Anton Khirnov 11 years ago committed by Diego Biurrun
parent 4d55e9de27
commit 12f0388f9c
  1. 109
      doc/RELEASE_NOTES

@ -1,51 +1,50 @@
Release Notes Release Notes
============= =============
* 10 "Eks" * 11 "One Louder"
General notes General notes
------------- -------------
One of the main features of this release is the addition of reference-counted With this release we are trying to answer the numerous calls from our users for
data buffers to Libav and their use in various structures. Specifically, the shorter development cycles. From now on we will aim for approximately two major
data buffers used by AVPacket and AVFrame can now be reference counted, which releases per year.
should allow to significantly simplify many use cases. In addition,
reference-counted AVFrames can now be used in libavfilter, avoiding the need
for a separate libavfilter-specific frame structure. Frames can now be passed
straight from the decoders into filters or from filters to encoders.
These additions made it necessary to bump the major versions of libavcodec, Libav 11 is API-, but not ABI-compatible with the previous major release. This
libavformat, libavdevice, libavfilter, and libavutil, which was accompanied by means that the code using our libraries needs to be rebuilt, but no source
dropping some old deprecated APIs. These libraries are thus not ABI- or API- changes should be required. Note however, that a number of old APIs remain
compatible with the previous release. All the other libraries (libavresample deprecated and will be dropped in the near future. All users are strongly
and libswscale) should be both ABI- and API-compatible. 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.
Another major point is the inclusion of the HEVC (AKA H.265, the successor of One specific API issue in libavformat deserves mentioning here. When using
H.264) decoder in the main codebase. It was started in 2012 as a Libav Google libavcodec for decoding or encoding and libavformat for demuxing or muxing,
Summer of Code project by Guillaume Martres and subsequently completed with the standard practice was to use the stream codec context (AVStream.codec) for
the assistance of the OpenHEVC project and several Libav developers. 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.
As usual, this release also contains support for other new formats, many smaller The main highlights of this release include native Opus, VP7, OpenEXR, and On2
new features and countless bug fixes. We can highlight a native VP9 decoder, AVC decoders, HEVC encoding through libx265, new APIs for exporting ReplayGain
with encoding provided through libvpx, native decoders for WebP, JPEG 2000, and and display transformation metadata and countless bug fixes. A large effort was
AIC, as well as improved WavPack support with encoding through libwavpack, also expended on internal cleanups which are not very visible to our users,
support for more AAC flavors (LD - low delay, ELD - enhanced low delay), slice but should make the codebase cleaner, safer and easier to maintain and extend.
multithreading in libavfilter, or muxing chapters in ASF. Furthermore a few new One point worth mentioning is refactoring the large monolithic framework for
filters have been introduced, namely compand, to change audio dynamics, framepack, architecture-specific codec optimizations into small blocks, which reduces the
to create stereoscopic videos, asetpts, to set audio pts, and interlace, to convert size of configurations that selectively enable or disable certain codecs.
progressive video to interlaced. Finally there is more fine-grained detection of
host and target libc, which should allow better portability to various cross
compilation scenarios.
See the Changelog file for a fuller list of significant changes. 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
Please note that our policy on bug reports has not changed. We still only accept significant maintenance burden and that we do our users no service by pretending
bug reports against HEAD of the Libav trunk repository. If you are experiencing to support it, while we in fact do not.
issues with any formally released version of Libav, please try a current version
of the development code to check if the issue still exists. If it does, make
your report against the development code following the usual bug reporting
guidelines.
See the Changelog file for a more extensive list of significant changes.
API changes API changes
----------- -----------
@ -54,31 +53,23 @@ A number of additional APIs have been introduced and some existing functions
have been deprecated and are scheduled for removal in the next release. have been deprecated and are scheduled for removal in the next release.
Significant API changes include: Significant API changes include:
[libavutil]
+ added the reference-counted buffers API (buffers.h)
+ moved the AVFrame struct to libavutil and added a new API for working with
reference-counted AVFrames (frame.h)
[libavcodec] [libavcodec]
+ added an API for working with reference-counted AVPackets (av_packet_*) + Added the avcodec_copy_context() function that must from now on be used for
+- converted VDPAU to the hwaccel framework; the old way of using VDPAU is no freeing codec contexts.
longer supported +- Added a new VDA hardware acceleration API, since the old one was broken and
- old audio encoding and decoding APIs removed not fixable in a compatible way. Deprecated the old VDA API.
- old video encoding API removed
- deprecated enum CodecID removed (enum AVCodecID should be used instead) [libavformat]
- deprecated audio resampling API removed (libavresample should be used + Added support for exporting stream-global (as opposed to per-packet) side
instead) 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.
[libavfilter] [libavresample]
+- replaced AVFilterBufferRef with AVFrame; AVFilterBufferRef and everything + Added an API for working with AVFrames.
related to it still exists, but is deprecated
+ converted all filters to use the AVOptions system for configuration, it is
now possible to query the supported options, their values and set them
directly with av_opt_*
+ added a slice multithreading framework
+- merged avfiltergraph.h to avfilter.h, using AVFilterGraph is now explicitly
mandatory (it was implicitly required even before); added new API for
allocating and initializing filters
Please see the file doc/APIchanges for details along with similar Please see the file doc/APIchanges for details along with similar
programmer-centric information. programmer-centric information.

Loading…
Cancel
Save