- 23 Feb, 2016 1 commit
-
-
Anton Khirnov authored
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
-
- 24 Feb, 2015 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 17 Aug, 2014 1 commit
-
-
Michael Niedermayer authored
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 24 Jul, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 31 May, 2014 1 commit
-
-
Michael Niedermayer authored
Revert "avformat/movenchint: Fix movhinting with ff_rtp_chain_mux_open() from abb810db" This has become unneeded due to f797b134 This reverts commit 1fe40e1b.
-
- 30 May, 2014 1 commit
-
-
Michael Niedermayer authored
avformat/movenchint: Fix movhinting with ff_rtp_chain_mux_open() from abb810dbSigned-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 22 Sep, 2013 4 commits
-
-
Martin Storsjö authored
Previously these were left in an inconsistent state. Pointed out by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
reverts movenchin part of 5626f994 The change left the fields in an inconsistent state Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 18 Sep, 2013 1 commit
-
-
Alexandra Khirnova authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 08 Jul, 2013 2 commits
-
-
Martin Storsjö authored
This matches its actual intended use better. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The RTP timestamps can be decreasing for codecs with B-frames. For these cases, make sure the timestamps in the MP4 file track itself are nondecreasing, and add an offset to the RTP packet hint instead to produce the intended RTP timestamp. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 07 Jul, 2013 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 14 Nov, 2012 1 commit
-
-
Luca Barbato authored
Support multiple video/audio streams with different format in the same session. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 26 May, 2012 1 commit
-
-
Martin Storsjö authored
Also check the return value in sapenc. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 16 Feb, 2012 1 commit
-
-
Martin Storsjö authored
The binary doesn't change after this patch. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 14 Feb, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 28 Jan, 2012 1 commit
-
-
Alex Converse authored
-
- 10 Dec, 2011 1 commit
-
-
Martin Storsjö authored
If an annex b bitstream is muxed into mov, the actual written sample is reformatted to mp4 syntax before writing. Currently, the RTP hints that copy data from the normal video track, where the payload data might be offset compared to the original sample that the RTP hinting used (when 3 byte annex b startcodes have been converted into 4 byte mp4 format startcodes). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 10 Jul, 2011 1 commit
-
-
Anton Khirnov authored
Deprecate avcodec_alloc_context/2.
-
- 03 Apr, 2011 3 commits
-
-
Anton Khirnov authored
It doesn't look fit to be a part of the public API. Adding a temporary hack to ffserver to be able to use it, should be cleaned up when somebody is up for it.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 05 Mar, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit a2704c97)
-
- 04 Mar, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 03 Mar, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5da)
-
- 01 Mar, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 22 Feb, 2011 1 commit
-
-
Anton Khirnov authored
In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 77eb5504)
-
- 21 Feb, 2011 1 commit
-
-
Anton Khirnov authored
In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 20 Feb, 2011 2 commits
-
-
Anton Khirnov authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit ae628ec1)
-
Anton Khirnov authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 18 Feb, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 610219a5)
-
- 16 Feb, 2011 1 commit
-
-
Anton Khirnov authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 06 Feb, 2011 3 commits
-
-
Martin Storsjö authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 5306bf41)
-
Martin Storsjö authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit b22dbb29)
-
Martin Storsjö authored
This avoids having the chained AVStream->codec point to the same AVCodecContext owned by the outer AVStream. The downside is that changes to the AVCodecContext made after calling av_write_header cannot be detected automatically within the chained muxer. This avoids having to manually unlink the chained AVStream->codec by setting it to null before freeing the chained muxer via generic freeing functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 1338dc08)
-
- 04 Feb, 2011 2 commits
-
-
Martin Storsjö authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Martin Storsjö authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-