Never assume the API of libav* to be stable unless at least 1 month has passedsince the last major version increase. The last version increases were:libavcodec: 2012-01-27libavdevice: 2011-04-18libavfilter: 2011-04-18libavformat: 2012-01-27libpostproc: 2011-04-18libswscale: 2011-06-20libavutil: 2011-04-18 API changes, most recent first: 2012-01-24 - xxxxxxx - lavfi 2.60.100 Add avfilter_graph_dump. 2012-01-25 - lavf 53.22.0 f1caf01 Allow doing av_write_frame(ctx, NULL) for flushing possible buffered data within a muxer. Added AVFMT_ALLOW_FLUSH for muxers supporting it (av_write_frame makes sure it is called only for muxers with this flag). 2012-01-15 - lavc 53.34.0 New audio encoding API: b2c75b6 Add CODEC_CAP_VARIABLE_FRAME_SIZE capability for use by audio encoders. 5ee5fa0 Add avcodec_fill_audio_frame() as a convenience function. b2c75b6 Add avcodec_encode_audio2() and deprecate avcodec_encode_audio(). Add AVCodec.encode2(). 2012-01-12 - 3167dc9 - lavfi 2.15.0 Add a new installed header -- libavfilter/version.h -- with version macros. 2011-12-08 - a502939 - lavfi 2.52.0 Add av_buffersink_poll_frame() to buffersink.h. 2011-12-08 - xxxxxxx - lavu 51.31.0 Add av_log_format_line. 2011-12-03 - xxxxxxx - lavu 51.30.0 Add AVERROR_BUG. 2011-xx-xx - xxxxxxx - lavu 51.28.1 Add av_get_alt_sample_fmt() to samplefmt.h. 2011-11-03 - 96949da - lavu 51.23.0 Add av_strcasecmp() and av_strncasecmp() to avstring.h. 2011-10-20 - b35e9e1 - lavu 51.22.0 Add av_strtok() to avstring.h. 2011-01-03 - b73ec05 - lavu 51.21.0 Add av_popcount64 2011-12-18 - 8400b12 - lavc 53.28.1 Deprecate AVFrame.age. The field is unused. 2011-12-12 - 5266045 - lavf 53.17.0 Add avformat_close_input(). Deprecate av_close_input_file() and av_close_input_stream(). 2011-12-02 - 0eea212 - lavc 53.25.0 Add nb_samples and extended_data fields to AVFrame. Deprecate AVCODEC_MAX_AUDIO_FRAME_SIZE. Deprecate avcodec_decode_audio3() in favor of avcodec_decode_audio4(). avcodec_decode_audio4() writes output samples to an AVFrame, which allows audio decoders to use get_buffer(). 2011-12-04 - 560f773 - lavc 53.24.0 Change AVFrame.data[4]/base[4]/linesize[4]/error[4] to [8] at next major bump. Change AVPicture.data[4]/linesize[4] to [8] at next major bump. Change AVCodecContext.error[4] to [8] at next major bump. Add AV_NUM_DATA_POINTERS to simplify the bump transition. 2011-11-23 - bbb46f3 - lavu 51.18.0 Add av_samples_get_buffer_size(), av_samples_fill_arrays(), and av_samples_alloc(), to samplefmt.h. 2011-11-23 - 8889cc4 - lavu 51.17.0 Add planar sample formats and av_sample_fmt_is_planar() to samplefmt.h. 2011-11-19 - f3a29b7 - lavc 53.21.0 Move some AVCodecContext fields to a new private struct, AVCodecInternal, which is accessed from a new field, AVCodecContext.internal. - fields moved: AVCodecContext.internal_buffer --> AVCodecInternal.buffer AVCodecContext.internal_buffer_count --> AVCodecInternal.buffer_count AVCodecContext.is_copy --> AVCodecInternal.is_copy 2011-11-16 - 6270671 - lavu 51.16.0 Add av_timegm() 2011-11-13 - lavf 53.15.0 New interrupt callback API, allowing per-AVFormatContext/AVIOContext interrupt callbacks. 6aa0b98 Add AVIOInterruptCB struct and the interrupt_callback field to AVFormatContext. 1dee0ac Add avio_open2() with additional parameters. Those are an interrupt callback and an options AVDictionary. This will allow passing AVOptions to protocols after lavf 54.0. 2011-11-06 - ba04ecf - lavu 51.14.0 Add av_strcasecmp() and av_strncasecmp() to avstring.h. 2011-11-06 - 07b172f - lavu 51.13.0 Add av_toupper()/av_tolower() 2011-11-05 - b6d08f4 - lavf 53.13.0 Add avformat_network_init()/avformat_network_uninit() 2011-10-27 - 512557b - lavc 53.15.0 Remove avcodec_parse_frame. Deprecate AVCodecContext.parse_only and CODEC_CAP_PARSE_ONLY. 2011-10-19 - 569129a - lavf 53.10.0 Add avformat_new_stream(). Deprecate av_new_stream(). 2011-10-13 - b631fba - lavf 53.9.0 Add AVFMT_NO_BYTE_SEEK AVInputFormat flag. 2011-10-12 - lavu 51.12.0 AVOptions API rewrite. - 145f741 FF_OPT_TYPE* renamed to AV_OPT_TYPE_* - new setting/getting functions with slightly different semantics: dac66da av_set_string3 -> av_opt_set av_set_double -> av_opt_set_double av_set_q -> av_opt_set_q av_set_int -> av_opt_set_int 41d9d51 av_get_string -> av_opt_get av_get_double -> av_opt_get_double av_get_q -> av_opt_get_q av_get_int -> av_opt_get_int - 8c5dcaa trivial rename av_next_option -> av_opt_next - 641c7af new functions - av_opt_child_next, av_opt_child_class_next and av_opt_find2() 2011-09-22 - a70e787 - lavu 51.17.0 Add av_x_if_null(). 2011-09-18 - 645cebb - lavc 53.16.0 Add showall flag2 2011-09-16 - ea8de10 - lavfi 2.42.0 Add avfilter_all_channel_layouts. 2011-09-16 - 9899037 - lavfi 2.41.0 Rename avfilter_all_* function names to avfilter_make_all_*. In particular, apply the renames: avfilter_all_formats -> avfilter_make_all_formats avfilter_all_channel_layouts -> avfilter_make_all_channel_layouts avfilter_all_packing_formats -> avfilter_make_all_packing_formats 2011-09-12 - 4381bdd - lavfi 2.40.0 Change AVFilterBufferRefAudioProps.sample_rate type from uint32_t to int. 2011-09-12 - 2c03174 - lavfi 2.40.0 Simplify signature for avfilter_get_audio_buffer(), make it consistent with avfilter_get_video_buffer(). 2011-09-06 - 4f7dfe1 - lavfi 2.39.0 Rename libavfilter/vsink_buffer.h to libavfilter/buffersink.h. 2011-09-06 - c4415f6 - lavfi 2.38.0 Unify video and audio sink API. In particular, add av_buffersink_get_buffer_ref(), deprecate av_vsink_buffer_get_video_buffer_ref() and change the value for the opaque field passed to the abuffersink init function. 2011-09-04 - 61e2e29 - lavu 51.16.0 Add av_asprintf(). 2011-08-22 - dacd827 - lavf 53.10.0 Add av_find_program_from_stream(). 2011-08-20 - 69e2c1a - lavu 51.13.0 Add av_get_media_type_string(). 2011-09-03 - fb4ca26 - lavc 53.13.0 lavf 53.11.0 lsws 2.1.0 Add {avcodec,avformat,sws}_get_class(). 2011-08-03 - c11fb82 - lavu 51.15.0 Add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find() function. 2011-08-14 - 323b930 - lavu 51.12.0 Add av_fifo_peek2(), deprecate av_fifo_peek(). 2011-08-26 - lavu 51.9.0 - add41de..abc78a5 Do not include intfloat_readwrite.h, mathematics.h, rational.h, pixfmt.h, or log.h from avutil.h. 2011-08-16 - 48f9e45 - lavf 53.8.0 Add avformat_query_codec(). 2011-08-16 - bca06e7 - lavc 53.11.0 Add avcodec_get_type(). 2011-08-06 - 2f63440 - lavf 53.7.0 Add error_recognition to AVFormatContext. 2011-08-02 - 9d39cbf - lavc 53.9.1 Add AV_PKT_FLAG_CORRUPT AVPacket flag. 2011-07-16 - b57df29 - lavfi 2.27.0 Add audio packing negotiation fields and helper functions. In particular, add AVFilterPacking enum, planar, in_packings and out_packings fields to AVFilterLink, and the functions: avfilter_set_common_packing_formats() avfilter_all_packing_formats() 2011-07-10 - a67c061 - lavf 53.6.0 Add avformat_find_stream_info(), deprecate av_find_stream_info(). 2011-07-10 - 0b950fe - lavc 53.8.0 Add avcodec_open2(), deprecate avcodec_open(). Add avcodec_alloc_context3. Deprecate avcodec_alloc_context() and avcodec_alloc_context2(). 2011-07-01 - b442ca6 - lavf 53.5.0 - avformat.h Add function av_get_output_timestamp(). 2011-06-28 - 5129336 - lavu 51.11.0 - avutil.h Define the AV_PICTURE_TYPE_NONE value in AVPictureType enum. 2011-06-19 - fd2c0a5 - lavfi 2.23.0 - avfilter.h Add layout negotiation fields and helper functions. In particular, add in_chlayouts and out_chlayouts to AVFilterLink, and the functions: avfilter_set_common_sample_formats() avfilter_set_common_channel_layouts() avfilter_all_channel_layouts() 2011-06-19 - 527ca39 - lavfi 2.22.0 - AVFilterFormats Change type of AVFilterFormats.formats from int * to int64_t *, and update formats handling API accordingly. avfilter_make_format_list() still takes a int32_t array and converts it to int64_t. A new function, avfilter_make_format64_list(), that takes int64_t arrays has been added. 2011-06-19 - 44f669e - lavfi 2.21.0 - vsink_buffer.h Add video sink buffer and vsink_buffer.h public header. 2011-06-12 - 9fdf772 - lavfi 2.18.0 - avcodec.h Add avfilter_get_video_buffer_ref_from_frame() function in libavfilter/avcodec.h. 2011-06-12 - c535494 - lavfi 2.17.0 - avfiltergraph.h Add avfilter_inout_alloc() and avfilter_inout_free() functions. 2011-06-12 - 6119b23 - lavfi 2.16.0 - avfilter_graph_parse() Change avfilter_graph_parse() signature. 2011-06-23 - 67e9ae1 - lavu 51.8.0 - attributes.h Add av_printf_format(). 2011-06-16 - 05e84c9, 25de595 - lavf 53.2.0 - avformat.h Add avformat_open_input and avformat_write_header(). Deprecate av_open_input_stream, av_open_input_file, AVFormatParameters and av_write_header. 2011-06-16 - 7e83e1c, dc59ec5 - lavu 51.7.0 - opt.h Add av_opt_set_dict() and av_opt_find(). Deprecate av_find_opt(). Add AV_DICT_APPEND flag. 2011-06-10 - cb7c11c - lavu 51.6.0 - opt.h Add av_opt_flag_is_set(). 2011-06-10 - c381960 - lavfi 2.15.0 - avfilter_get_audio_buffer_ref_from_arrays Add avfilter_get_audio_buffer_ref_from_arrays() to avfilter.h. 2011-06-09 - d9f80ea - lavu 51.8.0 - AVMetadata Move AVMetadata from lavf to lavu and rename it to AVDictionary -- new installed header dict.h. All av_metadata_* functions renamed to av_dict_*. 2011-06-07 - a6703fa - lavu 51.8.0 - av_get_bytes_per_sample() Add av_get_bytes_per_sample() in libavutil/samplefmt.h. Deprecate av_get_bits_per_sample_fmt(). 2011-06-05 - b39b062 - lavu 51.8.0 - opt.h Add av_opt_free convenience function. 2011-06-06 - 95a0242 - lavfi 2.14.0 - AVFilterBufferRefAudioProps Remove AVFilterBufferRefAudioProps.size, and use nb_samples in avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in place of size. 2011-06-06 - 0bc2cca - lavu 51.6.0 - av_samples_alloc() Switch nb_channels and nb_samples parameters order in av_samples_alloc(). 2011-06-06 - e1c7414 - lavu 51.5.0 - av_samples_* Change the data layout created by av_samples_fill_arrays() and av_samples_alloc(). 2011-06-06 - 27bcf55 - lavfi 2.13.0 - vsrc_buffer.h Make av_vsrc_buffer_add_video_buffer_ref() accepts an additional flags parameter in input. 2011-06-03 - e977ca2 - lavfi 2.12.0 - avfilter_link_free() Add avfilter_link_free() function. 2011-06-02 - 5ad38d9 - lavu 51.4.0 - av_force_cpu_flags() Add av_cpu_flags() in libavutil/cpu.h. 2011-05-28 - e71f260 - lavu 51.3.0 - pixdesc.h Add av_get_pix_fmt_name() in libavutil/pixdesc.h, and deprecate avcodec_get_pix_fmt_name() in libavcodec/avcodec.h in its favor. 2011-05-25 - 30315a8 - lavf 53.3.0 - avformat.h Add fps_probe_size to AVFormatContext. 2011-05-22 - 5ecdfd0 - lavf 53.2.0 - avformat.h Introduce avformat_alloc_output_context2() and deprecate avformat_alloc_output_context(). 2011-05-22 - 83db719 - lavfi 2.10.0 - vsrc_buffer.h Make libavfilter/vsrc_buffer.h public. 2011-05-19 - c000a9f - lavfi 2.8.0 - avcodec.h Add av_vsrc_buffer_add_frame() to libavfilter/avcodec.h. 2011-05-14 - 9fdf772 - lavfi 2.6.0 - avcodec.h Add avfilter_get_video_buffer_ref_from_frame() to libavfilter/avcodec.h. 2011-05-18 - 64150ff - lavc 53.7.0 - AVCodecContext.request_sample_fmt Add request_sample_fmt field to AVCodecContext. 2011-05-10 - 188dea1 - lavc 53.6.0 - avcodec.h Deprecate AVLPCType and the following fields in AVCodecContext: lpc_coeff_precision, prediction_order_method, min_partition_order, max_partition_order, lpc_type, lpc_passes. Corresponding FLAC encoder options should be used instead. 2011-05-07 - 9fdf772 - lavfi 2.5.0 - avcodec.h Add libavfilter/avcodec.h header and avfilter_copy_frame_props() function. 2011-05-07 - 18ded93 - lavc 53.5.0 - AVFrame Add format field to AVFrame. 2011-05-07 - 22333a6 - lavc 53.4.0 - AVFrame Add width and height fields to AVFrame. 2011-05-01 - 35fe66a - lavfi 2.4.0 - avfilter.h Rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio. 2011-05-01 - 77e9dee - lavc 53.3.0 - AVFrame Add a sample_aspect_ratio field to AVFrame. 2011-05-01 - 1ba5727 - lavc 53.2.0 - AVFrame Add a pkt_pos field to AVFrame. 2011-04-29 - 35ceaa7 - lavu 51.2.0 - mem.h Add av_dynarray_add function for adding an element to a dynamic array. 2011-04-26 - bebe72f - lavu 51.1.0 - avutil.h Add AVPictureType enum and av_get_picture_type_char(), deprecate FF_*_TYPE defines and av_get_pict_type_char() defined in libavcodec/avcodec.h. 2011-04-26 - 10d3940 - lavfi 2.3.0 - avfilter.h Add pict_type and key_frame fields to AVFilterBufferRefVideo. 2011-04-26 - 7a11c82 - lavfi 2.2.0 - vsrc_buffer Add sample_aspect_ratio fields to vsrc_buffer arguments 2011-04-21 - 94f7451 - lavc 53.1.0 - avcodec.h Add CODEC_CAP_SLICE_THREADS for codecs supporting sliced threading. 2011-04-15 - lavc 52.120.0 - avcodec.h AVPacket structure got additional members for passing side information: 4de339e introduce side information for AVPacket 2d8591c make containers pass palette change in AVPacket 2011-04-12 - lavf 52.107.0 - avio.h Avio cleanup, part II - deprecate the entire URLContext API: 175389c add avio_check as a replacement for url_exist ff1ec0c add avio_pause and avio_seek_time as replacements for _av_url_read_fseek/fpause cdc6a87 deprecate av_protocol_next(), avio_enum_protocols should be used instead. 80c6e23 rename url_set_interrupt_cb->avio_set_interrupt_cb. f87b1b3 rename open flags: URL_* -> AVIO_* f8270bb add avio_enum_protocols. 5593f03 deprecate URLProtocol. c486dad deprecate URLContext. 026e175 deprecate the typedef for URLInterruptCB 8e76a19 deprecate av_register_protocol2. b840484 deprecate URL_PROTOCOL_FLAG_NESTED_SCHEME 1305d93 deprecate av_url_read_seek fa104e1 deprecate av_url_read_pause 727c7aa deprecate url_get_filename(). 5958df3 deprecate url_max_packet_size(). 1869ea0 deprecate url_get_file_handle(). 32a97d4 deprecate url_filesize(). e52a914 deprecate url_close(). 58a48c6 deprecate url_seek(). 925e908 deprecate url_write(). dce3756 deprecate url_read_complete(). bc371ac deprecate url_read(). 0589da0 deprecate url_open(). 62eaaea deprecate url_connect. 5652bb9 deprecate url_alloc. 333e894 deprecate url_open_protocol e230705 deprecate url_poll and URLPollEntry 2011-04-08 - lavf 52.106.0 - avformat.h Minor avformat.h cleanup: a9bf9d8 deprecate av_guess_image2_codec c3675df rename avf_sdp_create->av_sdp_create 2011-04-03 - lavf 52.105.0 - avio.h Large-scale renaming/deprecating of AVIOContext-related functions: 724f6a0 deprecate url_fdopen 403ee83 deprecate url_open_dyn_packet_buf 6dc7d80 rename url_close_dyn_buf -> avio_close_dyn_buf b92c545 rename url_open_dyn_buf -> avio_open_dyn_buf 8978fed introduce an AVIOContext.seekable field as a replacement for AVIOContext.is_streamed and url_is_streamed() b64030f deprecate get_checksum() 4c4427a deprecate init_checksum() 4ec153b deprecate udp_set_remote_url/get_local_port 933e90a deprecate av_url_read_fseek/fpause 8d9769a deprecate url_fileno b7f2fdd rename put_flush_packet -> avio_flush 35f1023 deprecate url_close_buf 83fddae deprecate url_open_buf d9d86e0 rename url_fprintf -> avio_printf 59f65d9 deprecate url_setbufsize 3e68b3b deprecate url_ferror e8bb2e2 deprecate url_fget_max_packet_size 76aa876 rename url_fsize -> avio_size e519753 deprecate url_fgetc 655e45e deprecate url_fgets a2704c9 rename url_ftell -> avio_tell e16ead0 deprecate get_strz() in favor of avio_get_str 0300db8,2af07d3 rename url_fskip -> avio_skip 6b4aa5d rename url_fseek -> avio_seek 61840b4 deprecate put_tag 22a3212 rename url_fopen/fclose -> avio_open/close. 0ac8e2b deprecate put_nbyte 77eb550 rename put_byte -> avio_w8 put_[b/l]e<type> -> avio_w[b/l]<type> put_buffer -> avio_write b7effd4 rename get_byte -> avio_r8, get_[b/l]e<type> -> avio_r[b/l]<type> get_buffer -> avio_read b3db9ce deprecate get_partial_buffer 8d9ac96 rename av_alloc_put_byte -> avio_alloc_context 2011-03-25 - 34b47d7 - lavc 52.115.0 - AVCodecContext.audio_service_type Add audio_service_type field to AVCodecContext. 2011-03-17 - e309fdc - lavu 50.40.0 - pixfmt.h Add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats 2011-03-02 - 863c471 - lavf 52.103.0 - av_pkt_dump2, av_pkt_dump_log2 Add new functions av_pkt_dump2, av_pkt_dump_log2 that uses the source stream timebase for outputting timestamps. Deprecate av_pkt_dump and av_pkt_dump_log. 2011-02-20 - e731b8d - lavf 52.102.0 - avio.h * e731b8d - rename init_put_byte() to ffio_init_context(), deprecating the original, and move it to a private header so it is no longer part of our public API. Instead, use av_alloc_put_byte(). * ae628ec - rename ByteIOContext to AVIOContext. 2011-02-16 - 09d171b - lavf 52.101.0 - avformat.h lavu 52.39.0 - parseutils.h * 610219a - Add av_ prefix to dump_format(). * f6c7375 - Replace parse_date() in lavf with av_parse_time() in lavu. * ab0287f - Move find_info_tag from lavf to lavu and add av_prefix to it. 2011-02-15 - lavu 52.38.0 - merge libavcore libavcore is merged back completely into libavutil 2011-02-10 - 55bad0c - lavc 52.113.0 - vbv_delay Add vbv_delay field to AVCodecContext 2011-02-14 - 24a83bd - lavf 52.100.0 - AV_DISPOSITION_CLEAN_EFFECTS Add AV_DISPOSITION_CLEAN_EFFECTS disposition flag. 2011-02-14 - 910b5b8 - lavfi 1.76.0 - AVFilterLink sample_aspect_ratio Add sample_aspect_ratio field to AVFilterLink.Lines 1–500 of 1149. Load more
Never assume the API of libav* to be stable unless at least 1 month has passed since the last major version increase. The last version increases were: libavcodec: 2012-01-27 libavdevice: 2011-04-18 libavfilter: 2011-04-18 libavformat: 2012-01-27 libpostproc: 2011-04-18 libswscale: 2011-06-20 libavutil: 2011-04-18 API changes, most recent first: 2012-01-24 - xxxxxxx - lavfi 2.60.100 Add avfilter_graph_dump. 2012-01-25 - lavf 53.22.0 f1caf01 Allow doing av_write_frame(ctx, NULL) for flushing possible buffered data within a muxer. Added AVFMT_ALLOW_FLUSH for muxers supporting it (av_write_frame makes sure it is called only for muxers with this flag). 2012-01-15 - lavc 53.34.0 New audio encoding API: b2c75b6 Add CODEC_CAP_VARIABLE_FRAME_SIZE capability for use by audio encoders. 5ee5fa0 Add avcodec_fill_audio_frame() as a convenience function. b2c75b6 Add avcodec_encode_audio2() and deprecate avcodec_encode_audio(). Add AVCodec.encode2(). 2012-01-12 - 3167dc9 - lavfi 2.15.0 Add a new installed header -- libavfilter/version.h -- with version macros. 2011-12-08 - a502939 - lavfi 2.52.0 Add av_buffersink_poll_frame() to buffersink.h. 2011-12-08 - xxxxxxx - lavu 51.31.0 Add av_log_format_line. 2011-12-03 - xxxxxxx - lavu 51.30.0 Add AVERROR_BUG. 2011-xx-xx - xxxxxxx - lavu 51.28.1 Add av_get_alt_sample_fmt() to samplefmt.h. 2011-11-03 - 96949da - lavu 51.23.0 Add av_strcasecmp() and av_strncasecmp() to avstring.h. 2011-10-20 - b35e9e1 - lavu 51.22.0 Add av_strtok() to avstring.h. 2011-01-03 - b73ec05 - lavu 51.21.0 Add av_popcount64 2011-12-18 - 8400b12 - lavc 53.28.1 Deprecate AVFrame.age. The field is unused. 2011-12-12 - 5266045 - lavf 53.17.0 Add avformat_close_input(). Deprecate av_close_input_file() and av_close_input_stream(). 2011-12-02 - 0eea212 - lavc 53.25.0 Add nb_samples and extended_data fields to AVFrame. Deprecate AVCODEC_MAX_AUDIO_FRAME_SIZE. Deprecate avcodec_decode_audio3() in favor of avcodec_decode_audio4(). avcodec_decode_audio4() writes output samples to an AVFrame, which allows audio decoders to use get_buffer(). 2011-12-04 - 560f773 - lavc 53.24.0 Change AVFrame.data[4]/base[4]/linesize[4]/error[4] to [8] at next major bump. Change AVPicture.data[4]/linesize[4] to [8] at next major bump. Change AVCodecContext.error[4] to [8] at next major bump. Add AV_NUM_DATA_POINTERS to simplify the bump transition. 2011-11-23 - bbb46f3 - lavu 51.18.0 Add av_samples_get_buffer_size(), av_samples_fill_arrays(), and av_samples_alloc(), to samplefmt.h. 2011-11-23 - 8889cc4 - lavu 51.17.0 Add planar sample formats and av_sample_fmt_is_planar() to samplefmt.h. 2011-11-19 - f3a29b7 - lavc 53.21.0 Move some AVCodecContext fields to a new private struct, AVCodecInternal, which is accessed from a new field, AVCodecContext.internal. - fields moved: AVCodecContext.internal_buffer --> AVCodecInternal.buffer AVCodecContext.internal_buffer_count --> AVCodecInternal.buffer_count AVCodecContext.is_copy --> AVCodecInternal.is_copy 2011-11-16 - 6270671 - lavu 51.16.0 Add av_timegm() 2011-11-13 - lavf 53.15.0 New interrupt callback API, allowing per-AVFormatContext/AVIOContext interrupt callbacks. 6aa0b98 Add AVIOInterruptCB struct and the interrupt_callback field to AVFormatContext. 1dee0ac Add avio_open2() with additional parameters. Those are an interrupt callback and an options AVDictionary. This will allow passing AVOptions to protocols after lavf 54.0. 2011-11-06 - ba04ecf - lavu 51.14.0 Add av_strcasecmp() and av_strncasecmp() to avstring.h. 2011-11-06 - 07b172f - lavu 51.13.0 Add av_toupper()/av_tolower() 2011-11-05 - b6d08f4 - lavf 53.13.0 Add avformat_network_init()/avformat_network_uninit() 2011-10-27 - 512557b - lavc 53.15.0 Remove avcodec_parse_frame. Deprecate AVCodecContext.parse_only and CODEC_CAP_PARSE_ONLY. 2011-10-19 - 569129a - lavf 53.10.0 Add avformat_new_stream(). Deprecate av_new_stream(). 2011-10-13 - b631fba - lavf 53.9.0 Add AVFMT_NO_BYTE_SEEK AVInputFormat flag. 2011-10-12 - lavu 51.12.0 AVOptions API rewrite. - 145f741 FF_OPT_TYPE* renamed to AV_OPT_TYPE_* - new setting/getting functions with slightly different semantics: dac66da av_set_string3 -> av_opt_set av_set_double -> av_opt_set_double av_set_q -> av_opt_set_q av_set_int -> av_opt_set_int 41d9d51 av_get_string -> av_opt_get av_get_double -> av_opt_get_double av_get_q -> av_opt_get_q av_get_int -> av_opt_get_int - 8c5dcaa trivial rename av_next_option -> av_opt_next - 641c7af new functions - av_opt_child_next, av_opt_child_class_next and av_opt_find2() 2011-09-22 - a70e787 - lavu 51.17.0 Add av_x_if_null(). 2011-09-18 - 645cebb - lavc 53.16.0 Add showall flag2 2011-09-16 - ea8de10 - lavfi 2.42.0 Add avfilter_all_channel_layouts. 2011-09-16 - 9899037 - lavfi 2.41.0 Rename avfilter_all_* function names to avfilter_make_all_*. In particular, apply the renames: avfilter_all_formats -> avfilter_make_all_formats avfilter_all_channel_layouts -> avfilter_make_all_channel_layouts avfilter_all_packing_formats -> avfilter_make_all_packing_formats 2011-09-12 - 4381bdd - lavfi 2.40.0 Change AVFilterBufferRefAudioProps.sample_rate type from uint32_t to int. 2011-09-12 - 2c03174 - lavfi 2.40.0 Simplify signature for avfilter_get_audio_buffer(), make it consistent with avfilter_get_video_buffer(). 2011-09-06 - 4f7dfe1 - lavfi 2.39.0 Rename libavfilter/vsink_buffer.h to libavfilter/buffersink.h. 2011-09-06 - c4415f6 - lavfi 2.38.0 Unify video and audio sink API. In particular, add av_buffersink_get_buffer_ref(), deprecate av_vsink_buffer_get_video_buffer_ref() and change the value for the opaque field passed to the abuffersink init function. 2011-09-04 - 61e2e29 - lavu 51.16.0 Add av_asprintf(). 2011-08-22 - dacd827 - lavf 53.10.0 Add av_find_program_from_stream(). 2011-08-20 - 69e2c1a - lavu 51.13.0 Add av_get_media_type_string(). 2011-09-03 - fb4ca26 - lavc 53.13.0 lavf 53.11.0 lsws 2.1.0 Add {avcodec,avformat,sws}_get_class(). 2011-08-03 - c11fb82 - lavu 51.15.0 Add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find() function. 2011-08-14 - 323b930 - lavu 51.12.0 Add av_fifo_peek2(), deprecate av_fifo_peek(). 2011-08-26 - lavu 51.9.0 - add41de..abc78a5 Do not include intfloat_readwrite.h, mathematics.h, rational.h, pixfmt.h, or log.h from avutil.h. 2011-08-16 - 48f9e45 - lavf 53.8.0 Add avformat_query_codec(). 2011-08-16 - bca06e7 - lavc 53.11.0 Add avcodec_get_type(). 2011-08-06 - 2f63440 - lavf 53.7.0 Add error_recognition to AVFormatContext. 2011-08-02 - 9d39cbf - lavc 53.9.1 Add AV_PKT_FLAG_CORRUPT AVPacket flag. 2011-07-16 - b57df29 - lavfi 2.27.0 Add audio packing negotiation fields and helper functions. In particular, add AVFilterPacking enum, planar, in_packings and out_packings fields to AVFilterLink, and the functions: avfilter_set_common_packing_formats() avfilter_all_packing_formats() 2011-07-10 - a67c061 - lavf 53.6.0 Add avformat_find_stream_info(), deprecate av_find_stream_info(). 2011-07-10 - 0b950fe - lavc 53.8.0 Add avcodec_open2(), deprecate avcodec_open(). Add avcodec_alloc_context3. Deprecate avcodec_alloc_context() and avcodec_alloc_context2(). 2011-07-01 - b442ca6 - lavf 53.5.0 - avformat.h Add function av_get_output_timestamp(). 2011-06-28 - 5129336 - lavu 51.11.0 - avutil.h Define the AV_PICTURE_TYPE_NONE value in AVPictureType enum. 2011-06-19 - fd2c0a5 - lavfi 2.23.0 - avfilter.h Add layout negotiation fields and helper functions. In particular, add in_chlayouts and out_chlayouts to AVFilterLink, and the functions: avfilter_set_common_sample_formats() avfilter_set_common_channel_layouts() avfilter_all_channel_layouts() 2011-06-19 - 527ca39 - lavfi 2.22.0 - AVFilterFormats Change type of AVFilterFormats.formats from int * to int64_t *, and update formats handling API accordingly. avfilter_make_format_list() still takes a int32_t array and converts it to int64_t. A new function, avfilter_make_format64_list(), that takes int64_t arrays has been added. 2011-06-19 - 44f669e - lavfi 2.21.0 - vsink_buffer.h Add video sink buffer and vsink_buffer.h public header. 2011-06-12 - 9fdf772 - lavfi 2.18.0 - avcodec.h Add avfilter_get_video_buffer_ref_from_frame() function in libavfilter/avcodec.h. 2011-06-12 - c535494 - lavfi 2.17.0 - avfiltergraph.h Add avfilter_inout_alloc() and avfilter_inout_free() functions. 2011-06-12 - 6119b23 - lavfi 2.16.0 - avfilter_graph_parse() Change avfilter_graph_parse() signature. 2011-06-23 - 67e9ae1 - lavu 51.8.0 - attributes.h Add av_printf_format(). 2011-06-16 - 05e84c9, 25de595 - lavf 53.2.0 - avformat.h Add avformat_open_input and avformat_write_header(). Deprecate av_open_input_stream, av_open_input_file, AVFormatParameters and av_write_header. 2011-06-16 - 7e83e1c, dc59ec5 - lavu 51.7.0 - opt.h Add av_opt_set_dict() and av_opt_find(). Deprecate av_find_opt(). Add AV_DICT_APPEND flag. 2011-06-10 - cb7c11c - lavu 51.6.0 - opt.h Add av_opt_flag_is_set(). 2011-06-10 - c381960 - lavfi 2.15.0 - avfilter_get_audio_buffer_ref_from_arrays Add avfilter_get_audio_buffer_ref_from_arrays() to avfilter.h. 2011-06-09 - d9f80ea - lavu 51.8.0 - AVMetadata Move AVMetadata from lavf to lavu and rename it to AVDictionary -- new installed header dict.h. All av_metadata_* functions renamed to av_dict_*. 2011-06-07 - a6703fa - lavu 51.8.0 - av_get_bytes_per_sample() Add av_get_bytes_per_sample() in libavutil/samplefmt.h. Deprecate av_get_bits_per_sample_fmt(). 2011-06-05 - b39b062 - lavu 51.8.0 - opt.h Add av_opt_free convenience function. 2011-06-06 - 95a0242 - lavfi 2.14.0 - AVFilterBufferRefAudioProps Remove AVFilterBufferRefAudioProps.size, and use nb_samples in avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in place of size. 2011-06-06 - 0bc2cca - lavu 51.6.0 - av_samples_alloc() Switch nb_channels and nb_samples parameters order in av_samples_alloc(). 2011-06-06 - e1c7414 - lavu 51.5.0 - av_samples_* Change the data layout created by av_samples_fill_arrays() and av_samples_alloc(). 2011-06-06 - 27bcf55 - lavfi 2.13.0 - vsrc_buffer.h Make av_vsrc_buffer_add_video_buffer_ref() accepts an additional flags parameter in input. 2011-06-03 - e977ca2 - lavfi 2.12.0 - avfilter_link_free() Add avfilter_link_free() function. 2011-06-02 - 5ad38d9 - lavu 51.4.0 - av_force_cpu_flags() Add av_cpu_flags() in libavutil/cpu.h. 2011-05-28 - e71f260 - lavu 51.3.0 - pixdesc.h Add av_get_pix_fmt_name() in libavutil/pixdesc.h, and deprecate avcodec_get_pix_fmt_name() in libavcodec/avcodec.h in its favor. 2011-05-25 - 30315a8 - lavf 53.3.0 - avformat.h Add fps_probe_size to AVFormatContext. 2011-05-22 - 5ecdfd0 - lavf 53.2.0 - avformat.h Introduce avformat_alloc_output_context2() and deprecate avformat_alloc_output_context(). 2011-05-22 - 83db719 - lavfi 2.10.0 - vsrc_buffer.h Make libavfilter/vsrc_buffer.h public. 2011-05-19 - c000a9f - lavfi 2.8.0 - avcodec.h Add av_vsrc_buffer_add_frame() to libavfilter/avcodec.h. 2011-05-14 - 9fdf772 - lavfi 2.6.0 - avcodec.h Add avfilter_get_video_buffer_ref_from_frame() to libavfilter/avcodec.h. 2011-05-18 - 64150ff - lavc 53.7.0 - AVCodecContext.request_sample_fmt Add request_sample_fmt field to AVCodecContext. 2011-05-10 - 188dea1 - lavc 53.6.0 - avcodec.h Deprecate AVLPCType and the following fields in AVCodecContext: lpc_coeff_precision, prediction_order_method, min_partition_order, max_partition_order, lpc_type, lpc_passes. Corresponding FLAC encoder options should be used instead. 2011-05-07 - 9fdf772 - lavfi 2.5.0 - avcodec.h Add libavfilter/avcodec.h header and avfilter_copy_frame_props() function. 2011-05-07 - 18ded93 - lavc 53.5.0 - AVFrame Add format field to AVFrame. 2011-05-07 - 22333a6 - lavc 53.4.0 - AVFrame Add width and height fields to AVFrame. 2011-05-01 - 35fe66a - lavfi 2.4.0 - avfilter.h Rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratio. 2011-05-01 - 77e9dee - lavc 53.3.0 - AVFrame Add a sample_aspect_ratio field to AVFrame. 2011-05-01 - 1ba5727 - lavc 53.2.0 - AVFrame Add a pkt_pos field to AVFrame. 2011-04-29 - 35ceaa7 - lavu 51.2.0 - mem.h Add av_dynarray_add function for adding an element to a dynamic array. 2011-04-26 - bebe72f - lavu 51.1.0 - avutil.h Add AVPictureType enum and av_get_picture_type_char(), deprecate FF_*_TYPE defines and av_get_pict_type_char() defined in libavcodec/avcodec.h. 2011-04-26 - 10d3940 - lavfi 2.3.0 - avfilter.h Add pict_type and key_frame fields to AVFilterBufferRefVideo. 2011-04-26 - 7a11c82 - lavfi 2.2.0 - vsrc_buffer Add sample_aspect_ratio fields to vsrc_buffer arguments 2011-04-21 - 94f7451 - lavc 53.1.0 - avcodec.h Add CODEC_CAP_SLICE_THREADS for codecs supporting sliced threading. 2011-04-15 - lavc 52.120.0 - avcodec.h AVPacket structure got additional members for passing side information: 4de339e introduce side information for AVPacket 2d8591c make containers pass palette change in AVPacket 2011-04-12 - lavf 52.107.0 - avio.h Avio cleanup, part II - deprecate the entire URLContext API: 175389c add avio_check as a replacement for url_exist ff1ec0c add avio_pause and avio_seek_time as replacements for _av_url_read_fseek/fpause cdc6a87 deprecate av_protocol_next(), avio_enum_protocols should be used instead. 80c6e23 rename url_set_interrupt_cb->avio_set_interrupt_cb. f87b1b3 rename open flags: URL_* -> AVIO_* f8270bb add avio_enum_protocols. 5593f03 deprecate URLProtocol. c486dad deprecate URLContext. 026e175 deprecate the typedef for URLInterruptCB 8e76a19 deprecate av_register_protocol2. b840484 deprecate URL_PROTOCOL_FLAG_NESTED_SCHEME 1305d93 deprecate av_url_read_seek fa104e1 deprecate av_url_read_pause 727c7aa deprecate url_get_filename(). 5958df3 deprecate url_max_packet_size(). 1869ea0 deprecate url_get_file_handle(). 32a97d4 deprecate url_filesize(). e52a914 deprecate url_close(). 58a48c6 deprecate url_seek(). 925e908 deprecate url_write(). dce3756 deprecate url_read_complete(). bc371ac deprecate url_read(). 0589da0 deprecate url_open(). 62eaaea deprecate url_connect. 5652bb9 deprecate url_alloc. 333e894 deprecate url_open_protocol e230705 deprecate url_poll and URLPollEntry 2011-04-08 - lavf 52.106.0 - avformat.h Minor avformat.h cleanup: a9bf9d8 deprecate av_guess_image2_codec c3675df rename avf_sdp_create->av_sdp_create 2011-04-03 - lavf 52.105.0 - avio.h Large-scale renaming/deprecating of AVIOContext-related functions: 724f6a0 deprecate url_fdopen 403ee83 deprecate url_open_dyn_packet_buf 6dc7d80 rename url_close_dyn_buf -> avio_close_dyn_buf b92c545 rename url_open_dyn_buf -> avio_open_dyn_buf 8978fed introduce an AVIOContext.seekable field as a replacement for AVIOContext.is_streamed and url_is_streamed() b64030f deprecate get_checksum() 4c4427a deprecate init_checksum() 4ec153b deprecate udp_set_remote_url/get_local_port 933e90a deprecate av_url_read_fseek/fpause 8d9769a deprecate url_fileno b7f2fdd rename put_flush_packet -> avio_flush 35f1023 deprecate url_close_buf 83fddae deprecate url_open_buf d9d86e0 rename url_fprintf -> avio_printf 59f65d9 deprecate url_setbufsize 3e68b3b deprecate url_ferror e8bb2e2 deprecate url_fget_max_packet_size 76aa876 rename url_fsize -> avio_size e519753 deprecate url_fgetc 655e45e deprecate url_fgets a2704c9 rename url_ftell -> avio_tell e16ead0 deprecate get_strz() in favor of avio_get_str 0300db8,2af07d3 rename url_fskip -> avio_skip 6b4aa5d rename url_fseek -> avio_seek 61840b4 deprecate put_tag 22a3212 rename url_fopen/fclose -> avio_open/close. 0ac8e2b deprecate put_nbyte 77eb550 rename put_byte -> avio_w8 put_[b/l]e<type> -> avio_w[b/l]<type> put_buffer -> avio_write b7effd4 rename get_byte -> avio_r8, get_[b/l]e<type> -> avio_r[b/l]<type> get_buffer -> avio_read b3db9ce deprecate get_partial_buffer 8d9ac96 rename av_alloc_put_byte -> avio_alloc_context 2011-03-25 - 34b47d7 - lavc 52.115.0 - AVCodecContext.audio_service_type Add audio_service_type field to AVCodecContext. 2011-03-17 - e309fdc - lavu 50.40.0 - pixfmt.h Add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats 2011-03-02 - 863c471 - lavf 52.103.0 - av_pkt_dump2, av_pkt_dump_log2 Add new functions av_pkt_dump2, av_pkt_dump_log2 that uses the source stream timebase for outputting timestamps. Deprecate av_pkt_dump and av_pkt_dump_log. 2011-02-20 - e731b8d - lavf 52.102.0 - avio.h * e731b8d - rename init_put_byte() to ffio_init_context(), deprecating the original, and move it to a private header so it is no longer part of our public API. Instead, use av_alloc_put_byte(). * ae628ec - rename ByteIOContext to AVIOContext. 2011-02-16 - 09d171b - lavf 52.101.0 - avformat.h lavu 52.39.0 - parseutils.h * 610219a - Add av_ prefix to dump_format(). * f6c7375 - Replace parse_date() in lavf with av_parse_time() in lavu. * ab0287f - Move find_info_tag from lavf to lavu and add av_prefix to it. 2011-02-15 - lavu 52.38.0 - merge libavcore libavcore is merged back completely into libavutil 2011-02-10 - 55bad0c - lavc 52.113.0 - vbv_delay Add vbv_delay field to AVCodecContext 2011-02-14 - 24a83bd - lavf 52.100.0 - AV_DISPOSITION_CLEAN_EFFECTS Add AV_DISPOSITION_CLEAN_EFFECTS disposition flag. 2011-02-14 - 910b5b8 - lavfi 1.76.0 - AVFilterLink sample_aspect_ratio Add sample_aspect_ratio field to AVFilterLink.