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
Michael Niedermayer
f7fbbf466f
lavf/utils: document AVIndexEntry.timestamp
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Robert Krüger
57d5d5f62d
Minor documentation clarification regarding AVStream.start_time semantics
13 years ago
Michael Niedermayer
5c5306df96
lavf/utils: rewrite real fps calculation code.
...
The new code is free of biasing to the first timestamps
Fixes fraps.fps.test.zip
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
fb4ca26bdb
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
14 years ago
Marton Balint
dacd827b81
Rename find_program_from_stream to av_find_program_from_stream and add it to avformat.h
...
Also extend the functionality to use the last found program to start the search
after that program.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
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
Nicolas George
b442ca69d9
lavf: add an API to get output timestamps.
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
Stefano Sabatini
adf9415598
lavf: tag dump_format() as @deprecated
...
This makes the generated Doxygen doc link to the replacement
av_dump_format() function.
14 years ago
Kieran Kunhya
5501afa6ee
Export PCR pid
14 years ago
Kieran Kunhya
24adef142f
Export more transport stream information.
...
with minor addition to the comment by michael
14 years ago
Kieran Kunhya
fa12fb3b00
Output MPEG-TS stream identifiers.
...
with changes by michael to simplify API
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
James Zern
094aa84b03
muxers: Add a flag to mark muxers that allow (non strict) monotone timestamps.
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