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.
13 years ago
Anton Khirnov
48f9e457ea
lavf: add avformat_query_codec().
...
It allows to check if a given codec can be written into a container.
13 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>
13 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>
13 years ago
Anton Khirnov
3c7fa664af
lavf: add forgotten attribute_deprecated to av_find_stream_info()
13 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
Anton Khirnov
5e8d2e337e
lavf: deprecate AVStream.quality.
...
AVStream is no place for it and it's unused outside of ffmpeg anyway.
14 years ago
Mans Rullgard
abc78a5a7c
Do not include log.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
12489443de
libavformat: Add an example how to use the metadata API
...
Also include it into the doxygen documentation
14 years ago
Reinhard Tartler
1a53a438dc
avformat: doxify the Metadata API
...
convert the comment that documents the metadata API to use
the doxygen markup
14 years ago
Anton Khirnov
25de5958c8
lavf: add avformat_write_header() as a replacement for av_write_header().
...
It supports more convenient setting of AVOptions.
14 years ago
Anton Khirnov
603b8bc2a1
Deprecate av_open_input_* and remove their uses.
...
Deprecate the last remaining member of AVFormatParameters.
14 years ago
Anton Khirnov
05e84c95c7
lavf: add avformat_open_input() as a replacement for av_open_input_*
...
Add support for demuxer private options.
14 years ago
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
14 years ago
Anton Khirnov
d9f80ea2a7
Move metadata API from lavf to lavu.
...
Rename it to AVDictionary, since it will be used as such. Tags
documentation and metadata conversion API is lavf-specific, so remains
there.
14 years ago
Anton Khirnov
b2592ea42c
lavf: deprecate AVFormatParameters.time_base.
14 years ago
Anton Khirnov
f91ccb1df6
lavf: deprecate AVFormatParameters.pix_fmt.
14 years ago
Martin Storsjö
28734ac995
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
...
Instead of -fflags rtphint, set -movflags rtphint instead.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
4779f59378
rtspdec: add initial_pause private option.
...
Deprecate corresponding AVFormatParameters field.
14 years ago
Anton Khirnov
89d1b7f406
lavf: deprecate AVFormatParameters.width/height.
14 years ago
Alex Converse
30315a8d9c
avformat: Add fpsprobesize as an AVOption.
14 years ago
Anton Khirnov
d20576d01b
lavf: deprecate AVFormatParameters.channel.
14 years ago
Anton Khirnov
fc68a8f703
lavf: deprecate AVFormatParameters.standard.
14 years ago
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
14 years ago
Anton Khirnov
fb37d57347
lavf: deprecate AVFormatParameters.mpeg2ts_raw.
...
It doesn't do anything except produce an error message when set.
14 years ago
Anton Khirnov
17a5556db5
mpegts: add compute_pcr option.
...
Deprecate the corresponding AVFormatParameters field.
14 years ago
Anton Khirnov
5dc8214420
lavf: add priv_class field to AVInputFormat.
14 years ago
Diego Biurrun
7ed0a77ff4
Remove silly insults from avformat_version() Doxygen documentation.
14 years ago
Vladimir Pantelic
69fa23961e
asfdec: do not fall back to binary/generic search
...
asf_read_seek() inside the asf demuxer already does the
right thing, it tries the index and if that fails it uses
binary search. If binary search is called from outside of asfdec.c
it will fail because the asf code cannot clean up after itself.
Therefore introduce AVFMT_NOBINSEARCH that prevents the seek
code to fallback to binary search and AVFMT_NOGENSEARCH that
prevents the seek code to fallback to generic search.
14 years ago
Martin Storsjö
fe8e039460
applehttp: Expose the stream bitrate via metadata
...
This helps callers to intelligently switch between bitrate
variants.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
df56d58339
lavf: remove FF_API_INDEX_BUILT cruft
14 years ago
Anton Khirnov
b4c5acabb9
lavf: remove FF_API_FIRST_FORMAT cruft
14 years ago
Anton Khirnov
583f6c67b6
lavf: remove FF_API_PARAMETERS_CODEC_ID cruft
14 years ago