- 19 May, 2012 1 commit
-
-
Mans Rullgard authored
This is consistent with how input formats are matched. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 15 May, 2012 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 03 May, 2012 3 commits
-
-
Justin Ruggles authored
-
Justin Ruggles authored
This avoids returning duplicate timestamps for multiple packets when the demuxer does not provide all timestamps and packet duration is not known.
-
Justin Ruggles authored
This modifies pts in situations other than what was intended, leading to invalid timestamps. Reverts commit 90bb394d
-
- 25 Apr, 2012 1 commit
-
-
Luca Barbato authored
An invalid duration is AV_NOPTS_VALUE not 0.
-
- 13 Apr, 2012 1 commit
-
-
Luca Barbato authored
Some container formats report a global duration, but not a per stream one.
-
- 06 Apr, 2012 1 commit
-
-
Joakim Plate authored
It can take a long time before subtitles or data streams show up, so we shouldn't wait for those before assuming we have all info for streams. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 28 Mar, 2012 1 commit
-
-
Diego Biurrun authored
Also remove one pointless zero initialization in rangecoder.c.
-
- 27 Mar, 2012 1 commit
-
-
Jindrich Makovicka authored
This patch allows the user to force flushing of all queued packets by calling av_interleaved_write_frame() with pkt set to NULL. Signed-off-by:
Jindrich Makovicka <jindrich.makovicka@nangu.tv> Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 20 Mar, 2012 4 commits
-
-
Anton Khirnov authored
There is no reason for it to be public, it's only meant to be used internally.
-
Anton Khirnov authored
The caller can achieve the same effect (i.e. getting raw unparsed/mangled packets) with av_read_frame() and AVFMT_FLAG_NOPARSE | AVFMT_FLAG_NOFILLIN
-
Anton Khirnov authored
-
Anton Khirnov authored
This allows the caller to get them without special code even after seeking before receiving any data.
-
- 19 Mar, 2012 1 commit
-
-
Martin Storsjö authored
This was forgotten in the transition from av_open_input_file to avformat_open_input, see 603b8bc2 . This doesn't change anything for the default case where the option isn't set, since PROBE_BUF_MAX is 1048576 (which was used as max probe size earlier) while the default value for the probesize option is 5000000, which for the probe function is clipped to PROBE_BUF_MAX anyway. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 17 Mar, 2012 3 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Timebase is already checked in avpriv_set_pts_info().
-
- 15 Mar, 2012 1 commit
-
-
Anton Khirnov authored
-
- 05 Mar, 2012 10 commits
-
-
Justin Ruggles authored
-
Justin Ruggles authored
Also, do not keep trying to find and open a decoder in try_decode_frame() if we already tried and failed once. Fixes always searching until max_analyze_duration in avformat_find_stream_info() when demuxing codecs without a decoder.
-
Justin Ruggles authored
Use the estimated duration only to calculate missing timestamps if needed.
-
Justin Ruggles authored
Also, do not give AVCodecContext.frame_size priority for muxing. Updated 2 FATE references: dxa-feeble - adds 1 audio frame that is still within 2 seconds as specified by -t 2 in the FATE test wmv8-drm-nodec - durations are not needed. previously they were estimated using the packet size and average bit rate.
-
Justin Ruggles authored
In Ogg/CELT, frame_size is found in the same place as the sample_rate and channels, so we do not need to force the frame_size to be parsed.
-
Justin Ruggles authored
It was only needed to avoid a bad time base (and thus non-monotone timestamps) for stream copy to avi.
-
Justin Ruggles authored
We already will get the needed info because of CODEC_CAP_CHANNEL_CONF
-
Anton Khirnov authored
Split off packet parsing into a separate function. Parse full packets at once and store them in a queue, eliminating the need for tracking parsing state in AVStream. The horrible unreadable loop in read_frame_internal() now isn't weirdly ordered and doesn't contain evil gotos, so it should be much easier to understand. compute_pkt_fields() now invents slightly different timestamps for two raw vc1 tests, due to has_b_frames being set a bit later. They shouldn't be more wrong (or right) than previous ones.
-
Anton Khirnov authored
Make packet buffer a parameter, don't hardcode it to be AVFormatContext.packet_buffer. Also move the function higher in the file, since it will be called from read_frame_internal().
-
Anton Khirnov authored
-
- 03 Mar, 2012 1 commit
-
-
Justin Ruggles authored
This also allows for removing some of the Vorbis-related hacks.
-
- 29 Feb, 2012 3 commits
-
-
Anton Khirnov authored
Rename ff_id3v2_read_all to ff_id3v2_read().
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 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 1 commit
-
-
Anton Khirnov authored
Fixes bug 212.
-