- 06 3月, 2012 35 次提交
-
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
Useful for testing.
-
由 Anton Khirnov 提交于
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Anton Khirnov 提交于
avcodec_encode_video2() return value is 0 on success, encoded frame size is stored in the packet.
-
由 Reimar Döffinger 提交于
Signed-off-by: NReimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NJustin Ruggles <justin.ruggles@gmail.com>
-
由 Alex Converse 提交于
-
由 Alex Converse 提交于
It is used to parse fixed sized fields out of a single octet. The code is simpler without it.
-
由 Justin Ruggles 提交于
-
由 Justin Ruggles 提交于
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 提交于
Use the estimated duration only to calculate missing timestamps if needed.
-
由 Justin Ruggles 提交于
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 提交于
-
由 Justin Ruggles 提交于
It is not necessary
-
由 Justin Ruggles 提交于
It is not necessary
-
由 Justin Ruggles 提交于
It is not necessary
-
由 Justin Ruggles 提交于
also, properly set AVCodecContext.bits_per_coded_sample, AVStreasm.start_time, and AVPacket.duration.
-
由 Justin Ruggles 提交于
it is not necessary.
-
由 Justin Ruggles 提交于
It is unnecessary. Also, for some codecs we're reading more than 1 frame per packet. Instead we use a private context variable to calculate the bit rate, stream duration, and packet durations. Updated FATE seek test, which has slightly different timestamps due to a more accurate bit rate calculation.
-
由 Justin Ruggles 提交于
It is not necessary.
-
由 Justin Ruggles 提交于
prevents lavf from setting incorrect packet durations.
-
由 Justin Ruggles 提交于
avformat_find_stream_info() no longer hangs while waiting for AAC frame_size
-
由 Justin Ruggles 提交于
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 提交于
It was only needed to avoid a bad time base (and thus non-monotone timestamps) for stream copy to avi.
-
由 Justin Ruggles 提交于
We already will get the needed info because of CODEC_CAP_CHANNEL_CONF
-
由 Justin Ruggles 提交于
This way we can do stream copy without having the demuxer wait until frame_size has been set.
-
由 Justin Ruggles 提交于
It is more reliable than AVCodecContext.frame_size for codecs with constant packet duration.
-
由 Justin Ruggles 提交于
For encoding, frame_size is not a reliable indicator of packet duration. Also, we don't want to have to force the demuxer to find frame_size for stream copy to work.
-
由 Justin Ruggles 提交于
This is a utility function for the user to get the frame duration based on the codec id, frame size in bytes, and various AVCodecContext parameters.
-
由 Justin Ruggles 提交于
This only returns bits per sample when it is exactly correct. That is, the codec contains only raw samples with no frame headers or padding. This applies to basically all PCM codecs and a small subset of ADPCM codecs.
-
由 Anton Khirnov 提交于
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 提交于
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 提交于
-
由 Fabian Greffrath 提交于
Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
由 Diego Biurrun 提交于
-
- 05 3月, 2012 5 次提交
-
-
由 Mans Rullgard 提交于
This splits ff_dsputil_init_mmx() into multiple functions, one for each MMX/SSE level, somewhat simplifying the nested conditions. Signed-off-by: NMans Rullgard <mans@mansr.com> Signed-off-by: NDiego Biurrun <diego@biurrun.de>
-
由 Anton Khirnov 提交于
Fixes listing encoders.
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
In most places where it's used, it's as a pointless write-only field. Only rv10 decoder actually reads from it, but it stores some internal version info in it. There is no reason for it to be in a public field.
-
由 Anton Khirnov 提交于
-