- 26 Feb, 2012 2 commits
-
-
Anton Khirnov authored
Neither of those is guaranteed to be connected to framerate in any way (if it even exists). Fixes bug 56.
-
Anton Khirnov authored
It's not supposed to be set outside of lavc.
-
- 24 Feb, 2012 1 commit
-
-
Anton Khirnov authored
compute_pkt_fields() is for unreliable estimates or guessing. The keyframe information from the parser is (at least in theory) reliable, so it should be used even when the other guessing is disabled with the AVFMT_FLAG_NOFILLIN flag. Therefore, move setting the packet keyframe flag based on parser information from compute_pkt_fields() to read_frame_internal().
-
- 22 Feb, 2012 1 commit
-
-
Anton Khirnov authored
It is not supposed to be done outside lavc. This is basically a revert of 818062f2. It is unclear what issue this was supposed to fix, if it reappears again it will have to be fixed in a more proper place. The wtv-demux test change is because the sample starts with a B-frame.
-
- 20 Feb, 2012 1 commit
-
-
Justin Ruggles authored
This will allow parsers to export the duration of the current frame being output, if known, instead of using AVCodecContext.frame_size.
-
- 12 Feb, 2012 1 commit
-
-
Andrey Utkin authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 31 Jan, 2012 3 commits
-
-
Anton Khirnov authored
Fixes bug 212.
-
Anton Khirnov authored
This way, if the AVCodecContext is allocated for a specific codec, the caller doesn't need to store this codec separately and then pass it again to avcodec_open2(). It also allows to set codec private options using av_opt_set_* before opening the codec.
-
Anton Khirnov authored
It allows to check whether an AVCodecContext is open in a documented way. Right now the undocumented way this check is done in lavf/lavc is by checking whether AVCodecContext.codec is NULL. However it's desirable to be able to set AVCodecContext.codec before avcodec_open2().
-
- 30 Jan, 2012 1 commit
-
-
Rafaël Carré authored
Give the exact aspect ratios when there is a mismatch between encoder and muxer. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 27 Jan, 2012 9 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Also remove now unused AVFormatParameters struct and AVOutputFormat.set_parameters().
-
Anton Khirnov authored
-
- 25 Jan, 2012 2 commits
-
-
Janne Grunau authored
If no data was seen for a stream decoder are returning 0 when fed with empty packets for flushing. We can stop flushing when the decoder does not return delayed delayed frames anymore. Changes try_decode_frame() return value to got_picture or negative error. CC: libav-stable@libav.org
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 20 Jan, 2012 1 commit
-
-
Janne Grunau authored
The H.264 decoder needs SPS and PPS for initialization during multi-threaded decoding. When probed single-threaded SPS and PPS are copied to extradata and are available for proper initialization of the decoder before the first frame is decoded.
-
- 18 Jan, 2012 1 commit
-
-
Anton Khirnov authored
Fixes a memleak.
-
- 12 Jan, 2012 1 commit
-
-
Alex Converse authored
-
- 05 Jan, 2012 2 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 03 Jan, 2012 1 commit
-
-
Anton Khirnov authored
This means that avformat_find_stream_info() now works properly with multiple threads, so there's no need to force thread count to 1.
-
- 31 Dec, 2011 1 commit
-
-
Janne Grunau authored
-
- 21 Dec, 2011 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 18 Dec, 2011 1 commit
-
-
Anton Khirnov authored
Fixes avformat_find_stream_info() on streams with number of frames < thread count.
-
- 13 Dec, 2011 1 commit
-
-
Luca Barbato authored
Fix the iformat/oformat typo.
-
- 12 Dec, 2011 2 commits
-
-
Anton Khirnov authored
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().
-
Anton Khirnov authored
And remove all its uses.
-
- 10 Dec, 2011 1 commit
-
-
Diego Biurrun authored
-
- 07 Dec, 2011 1 commit
-
-
Diego Biurrun authored
libavformat/utils.c:2165:2: warning: label ‘fail’ defined but not used
-
- 04 Dec, 2011 1 commit
-
-
Justin Ruggles authored
-
- 30 Nov, 2011 2 commits
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
Anton Khirnov authored
If r_frame_rate is set, it should be more reliable for this than either codec or stream timebase.
-
- 22 Nov, 2011 1 commit
-
-
Janne Grunau authored
Adding the thread count in frame level multithreading to has_b_frames as an additional delay causes more problems than it solves. For example inconsistent behaviour during timestamp calculation in libavformat. Thread count and frame level multithreading are both set by the user. If the additional delay caused by frame level multithreading needs to be considered in the calling code it has all information to take it into account. Should it become necessary to calculate a maximum delay inside libavcodec it should be exported as its own field and not reusing an existing field. Based on a patch by Michael Niedermayer. Signed-off-by:
Janne Grunau <janne-libav@jannau.net>
-
- 16 Nov, 2011 1 commit
-
-
Martin Storsjö authored
This makes the function accept the format of creation_time as output by demuxers (e.g. the mov demuxer), making the creation timestamp stay intact if transcoding. Signed-off-by:
Martin Storsjö <martin@martin.st>
-