]> git.sesse.net Git - ffmpeg/blob - doc/RELEASE_NOTES
h264: reset num_reorder_frames if it is invalid
[ffmpeg] / doc / RELEASE_NOTES
1 Release Notes
2 =============
3
4 * 10 "Eks"
5
6 General notes
7 -------------
8
9 One of the main features of this release is the addition of reference-counted
10 data buffers to Libav and their use in various structures. Specifically, the
11 data buffers used by AVPacket and AVFrame can now be reference counted, which
12 should allow to significantly simplify many use cases. In addition,
13 reference-counted AVFrames can now be used in libavfilter, avoiding the need
14 for a separate libavfilter-specific frame structure. Frames can now be passed
15 straight from the decoders into filters or from filters to encoders.
16
17 These additions made it necessary to bump the major versions of libavcodec,
18 libavformat, libavdevice, libavfilter, and libavutil, which was accompanied by
19 dropping some old deprecated APIs. These libraries are thus not ABI- or API-
20 compatible with the previous release. All the other libraries (libavresample
21 and libswscale) should be both ABI- and API-compatible.
22
23 Another major point is the inclusion of the HEVC (AKA H.265, the successor of
24 H.264) decoder in the main codebase. It was started in 2012 as a Libav Google
25 Summer of Code project by Guillaume Martres and subsequently completed with
26 the assistance of the OpenHEVC project and several Libav developers.
27
28 As usual, this release also contains support for other new formats, many smaller
29 new features and countless bug fixes. We can highlight a native VP9 decoder,
30 with encoding provided through libvpx, native decoders for WebP, JPEG 2000, and
31 AIC, as well as improved WavPack support with encoding through libwavpack,
32 support for more AAC flavors (LD - low delay, ELD - enhanced low delay), slice
33 multithreading in libavfilter, or muxing chapters in ASF. Furthermore there is
34 more fine-grained detection of host and target libc, which should allow better
35 portability to various cross compilation scenarios.
36
37 See the Changelog file for a fuller list of significant changes.
38
39 Please note that our policy on bug reports has not changed. We still only accept
40 bug reports against HEAD of the Libav trunk repository. If you are experiencing
41 issues with any formally released version of Libav, please try a current version
42 of the development code to check if the issue still exists. If it does, make
43 your report against the development code following the usual bug reporting
44 guidelines.
45
46
47 API changes
48 -----------
49
50 A number of additional APIs have been introduced and some existing functions
51 have been deprecated and are scheduled for removal in the next release.
52 Significant API changes include:
53
54 [libavutil]
55 + added the reference-counted buffers API (buffers.h)
56 + moved the AVFrame struct to libavutil and added a new API for working with
57   reference-counted AVFrames (frame.h)
58
59 [libavcodec]
60 + added an API for working with reference-counted AVPackets (av_packet_*)
61 +- converted VDPAU to the hwaccel framework; the old way of using VDPAU is no
62    longer supported
63 - old audio encoding and decoding APIs removed
64 - old video encoding API removed
65 - deprecated enum CodecID removed (enum AVCodecID should be used instead)
66 - deprecated audio resampling API removed (libavresample should be used
67   instead)
68
69 [libavfilter]
70 +- replaced AVFilterBufferRef with AVFrame; AVFilterBufferRef and everything
71    related to it still exists, but is deprecated
72 + converted all filters to use the AVOptions system for configuration, it is
73   now possible to query the supported options, their values and set them
74   directly with av_opt_*
75 + added a slice multithreading framework
76 +- merged avfiltergraph.h to avfilter.h, using AVFilterGraph is now explicitly
77    mandatory (it was implicitly required even before); added new API for
78    allocating and initializing filters
79
80 Please see the file doc/APIchanges for details along with similar
81 programmer-centric information.