- 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.
-
- 22 Feb, 2016 1 commit
-
-
Anton Khirnov authored
It will in general not be available. Use block_align if known or fall back to av_get_audio_frame_duration().
-
- 02 Nov, 2015 1 commit
-
-
Luca Barbato authored
Some codecs use the codec_tag to signal specific information and picking the first one would lead to a broken file. Bug-Id: 883 CC: libav-stable@libav.org Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 24 Feb, 2015 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 27 Jan, 2015 1 commit
-
-
Anton Khirnov authored
It is unreliable, especially when the stream codec context is not the encoding context. Use the codec descriptor properties instead.
-
- 21 Oct, 2014 1 commit
-
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 703721
-
- 18 Jun, 2014 1 commit
-
-
Anton Khirnov authored
It will be useful in the following commits. Also, rename the AVCodecContext pointer name from 'stream' to 'codec'.
-
- 28 May, 2014 1 commit
-
-
Luca Barbato authored
Add the low overhead pipe mode and the extended broadcast mode. Export the options as 'syncponts' since it impacts only that. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 23 Nov, 2013 1 commit
-
-
Diego Biurrun authored
-
- 22 Oct, 2013 1 commit
-
-
Derek Buitenhuis authored
CC: libav-stable@libav.org Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 27 Jul, 2013 1 commit
-
-
Diego Biurrun authored
-
- 06 May, 2013 1 commit
-
-
Luca Barbato authored
Ease switching version in the future and make evident why that value.
-
- 28 Nov, 2012 1 commit
-
-
Justin Ruggles authored
-
- 29 Oct, 2012 1 commit
-
-
Luca Barbato authored
Additionally use the correct error number.
-
- 28 Oct, 2012 1 commit
-
-
Luca Barbato authored
-
- 16 Oct, 2012 1 commit
-
-
Luca Barbato authored
Raw audio does not provide valid audio tags while rawvideo does. The fate refs have to be updated because it undoes the previous tag change.
-
- 13 Oct, 2012 1 commit
-
-
Luca Barbato authored
Use native tags instead of avi ones, simplifies a lot raw video codecs handling.
-
- 01 Oct, 2012 1 commit
-
-
Diego Biurrun authored
-
- 27 Sep, 2012 1 commit
-
-
Diego Biurrun authored
-
- 15 Sep, 2012 1 commit
-
-
Anton Khirnov authored
This is consistent with stdio and is what we want to do in all cases. Fixes a bug in the voc muxer which didn't flush in write_trailer() previously. This is the cause of the change in the test results.
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 30 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 22 Jul, 2012 1 commit
-
-
Ronald S. Bultje authored
This removes the use of macro nesting in these code constructs, which makes it easier to parse in pre-processors.
-
- 06 Apr, 2012 1 commit
-
-
Martin Storsjö authored
Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 30 Nov, 2011 1 commit
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
- 20 Oct, 2011 1 commit
-
-
Anton Khirnov authored
Specifically, ff_mpa_freq_tab, ff_mpa_bitrate_tab, ff_mpa_decode_header, ff_mpegaudio_decode_header.
-
- 04 Sep, 2011 1 commit
-
-
Luca Barbato authored
Rename write_{header,packet,trailer} to nut_write_{header,packet,trailer} in order to make easier debugging them.
-
- 17 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 03 Jul, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 08 Jun, 2011 1 commit
-
-
Anton Khirnov authored
-
- 04 May, 2011 2 commits
-
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
- 26 Apr, 2011 1 commit
-
-
Diego Biurrun authored
-
- 03 Apr, 2011 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 30 Mar, 2011 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 17 Mar, 2011 2 commits
-
-
Anton Khirnov authored
This fixes a minor memory leak introduced in 073f8b10. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Anton Khirnov authored
Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-