Anton Khirnov
ecd5f41a06
lavf: remove disabled FF_API_PARSE_DATE cruft
13 years ago
Anton Khirnov
997420abf2
lavf: remove disabled FF_API_DUMP_FORMAT cruft
13 years ago
Anton Khirnov
2fb7501938
lavf: remove disabled FF_API_FORMAT_PARAMETERS cruft
...
Also remove now unused AVFormatParameters struct and
AVOutputFormat.set_parameters().
13 years ago
Anton Khirnov
38233fc131
lavf: remove disabled FF_API_OLD_METADATA2 cruft
13 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
13 years ago
Martin Storsjö
f1caf01d5e
libavformat: Add a flag for muxers that support write_packet(NULL) for flushing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
f97cb45156
lavf: fix and extend av_interleaved_write_frame() doxy.
...
Specify that lavf is responsible for freeing the data.
13 years ago
Anton Khirnov
e5c708151e
lavf: undeprecate read_seek().
...
The "new seeking API" was never finished and nobody is working on it.
13 years ago
Diego Biurrun
58c42af722
doxygen: misc consistency, spelling and wording fixes
13 years ago
Anton Khirnov
526604545f
lavf: add avformat_close_input().
...
It sets the supplied AVFormatContext pointer to NULL after freeing it,
which is safer and its name is consistent with other lavf functions.
Also deprecate av_close_input_file().
13 years ago
Anton Khirnov
3a7f7678eb
lavf: deprecate av_close_input_stream().
...
And remove all its uses.
13 years ago
Anton Khirnov
59826cab8a
lavf doxy: add some basic demuxing documentation.
13 years ago
Anton Khirnov
ccbc106841
lavf doxy: add some general lavf information.
13 years ago
Anton Khirnov
abf2c2d787
lavf doxy: add misc utility functions to a group.
13 years ago
Anton Khirnov
c8dffc02fd
lavf doxy: add av_guess_codec/format to the encoding group.
13 years ago
Anton Khirnov
469c62d002
lavf doxy: add core functions to a doxy group.
13 years ago
Diego Biurrun
da9cea77e3
Fix a bunch of common typos.
13 years ago
Anton Khirnov
489a7b07e9
lavf doxy: add muxing stuff to lavf_encoding group
13 years ago
Anton Khirnov
370f27dee3
lavf doxy: add demuxing stuff to lavf_decoding group
13 years ago
Anton Khirnov
28b4c06b9d
lavf doxy: expand/reword metadata API doxy.
13 years ago
Anton Khirnov
eca06cbed9
lavf doxy: add installed headers to groups.
13 years ago
Anton Khirnov
e4f4a1f93e
lavf doxy: rename lavf I/O group to lavf_io.
13 years ago
Anton Khirnov
b262a05904
lavf doxy: add metadata docs to the main lavf group
13 years ago
Diego Biurrun
c68fafe0d2
doxygen: eliminate Qt-style doxygen syntax
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Luca Barbato
e361b5089a
doxy: structure libavformat groups
13 years ago
Martin Storsjö
6aa0b98fb2
avio: Add AVIOInterruptCB
...
This is a better io interrupt callback function, which has an
opaque parameter, which is given to the interrupt callback.
This allows callers to precisely cancel IO for one single
AVFormatContext, without interrupt other ones in the same
process.
Note, it's not needed in AVIOContext, at the moment.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
83daced0a3
lavf: expand doxy for some AVFormatContext fields.
13 years ago
Martin Storsjö
87892ef8a6
avformat: Revise wording
...
It might make sense not to make the function completely mandatory
immediately at the next bump, which might be quite soon after
the function was introduced.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
b6d08f40aa
avformat: Add functions for doing global network initialization
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ronald S. Bultje
38a4be3fa7
lavf: use number of output pictures for delay checks.
...
This fixes false positives of has_codec_delay_been_guessed() for
streams where not every input picture generates an output picture,
such as interlaced H264.
13 years ago
Anton Khirnov
9a174562e4
lavf: move private fields in AVStream to the end at next bump.
13 years ago
Anton Khirnov
df968050ab
lavf: move private fields in AVFormatContext to the end at next bump.
13 years ago
Anton Khirnov
a2faa95151
lavf: make some seeking functions private
...
Specifically av_update_cur_dts(), av_seek_frame_binary() and
av_gen_search().
They are not supposed to be called outside lavf.
13 years ago
Anton Khirnov
3d813e4c54
lavf: deprecate AVStream.stream_copy
...
It's only used in avconv, so it properly belongs to OutputStream struct
there.
13 years ago
Anton Khirnov
f172132f82
mpegenc: add preload private option.
...
Deprecate AVFormatContext.preload.
13 years ago
Anton Khirnov
569129a6dc
lavf: add avformat_new_stream as a replacement for av_new_stream.
...
It takes a codec parameter, thus enabling codec-specific defaults.
13 years ago
Anton Khirnov
5a9ee3152b
mpegenc/mpegtsenc: add muxrate private options.
...
Deprecate AVFormatContext.mux_rate.
13 years ago
Anton Khirnov
c10731e78b
lavf: deprecate AVFormatContext.file_size
...
It's too unreliable to be useful. avio_size() should be called instead.
13 years ago
Justin Ruggles
b631fba936
avformat: add AVInputFormat flag AVFMT_NO_BYTE_SEEK.
...
This will prevent seeking by bytes for formats that cannot handle this.
13 years ago
Justin Ruggles
050e20aee6
avformat: update AVInputFormat allowed flags
13 years ago
Anton Khirnov
fb4ca26bdb
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
14 years ago
Anton Khirnov
48f9e457ea
lavf: add avformat_query_codec().
...
It allows to check if a given codec can be written into a container.
14 years ago
Dustin Brody
2f63440c59
lavf: add support for error_recognition, use it in avidec, and bump minor API version
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Zohar Kelrich
73e8e8dbf9
lavf: Add an option to discard corrupted frames
...
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Anton Khirnov
3c7fa664af
lavf: add forgotten attribute_deprecated to av_find_stream_info()
14 years ago
Anton Khirnov
5f847bf61d
lavf: deprecate AVFormatContext.timestamp
...
It's replaced by 'creation_time' metadata tag.
14 years ago
Anton Khirnov
a67c061e0f
lavf: add avformat_find_stream_info()
...
It supports passing options to codecs.
14 years ago
Anton Khirnov
d31e3f7ccc
gif: add loop private option.
...
Deprecate AVFormatContext.loop_output.
14 years ago
Anton Khirnov
6002fdef5e
img2: add loop private option.
...
Deprecate AVFormatContext.loop_input.
14 years ago