- 04 Mar, 2012 20 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
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 authored
-
Ronald S. Bultje authored
-
Kostya Shishkov authored
This allows user to select quantisation matrix from different profile, stamp frames with custom vendor string and change target bitrate.
-
Justin Ruggles authored
-
Justin Ruggles authored
Use CODEC_CAP_DELAY and CODEC_CAP_SMALL_LAST_FRAME to properly pad and flush the encoder at the end of encoding. This is needed in order to have all input samples decoded.
-
Justin Ruggles authored
Use CODEC_CAP_DELAY and CODEC_CAP_SMALL_LAST_FRAME to properly pad and flush the encoder at the end of encoding. This is needed in order to have all input samples decoded.
-
Justin Ruggles authored
fixes writing of uninitialized packet data
-
Justin Ruggles authored
-
Aneesh Dogra authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
Fixes pre-processing with latest versions of nasm.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Loren Merritt authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
- 03 Mar, 2012 20 commits
-
-
Justin Ruggles authored
We need to set ms_stereo in encode_init() in order to avoid incorrectly encoding the first frame as non-m/s while flagging it as m/s. Fixes an uncomfortable pop in the left channel at the start of playback. CC:libav-stable@libav.org
-
Justin Ruggles authored
-
Justin Ruggles authored
Currently we have an assert() that prevents the frame from being too large, but it is more user-friendly to give an error message instead of aborting on assert(). This condition is quite unlikely due to the minimum bit rate check in encode_init(), but it is still worth having.
-
Justin Ruggles authored
The maximum theoretical frame size is around 17000 bytes. Although in practice it will generally be much smaller, we require a larger buffer just to be safe. CC: libav-stable@libav.org
-
Justin Ruggles authored
ff_wma_init() allows up to 50kHz, but this generates an exponent band size table that requires 65 bands. The code assumes 25 bands in many places, and using sample rates higher than 48kHz will lead to buffer overwrites. CC:libav-stable@libav.org
-
Justin Ruggles authored
This is near the theoretical limit for wma frame size and is the most that our decoder can handle. Allowing higher bit rates will just end up padding each frame with empty bytes. Fixes invalid writes for avconv when using very high bit rates. CC:libav-stable@libav.org
-
Justin Ruggles authored
-
Justin Ruggles authored
Update FATE test to reflect delayed video due to the file having audio-only frames prior to the first frame with video.
-
Justin Ruggles authored
Also, set the time base based on the sample rate. lavf-voc seek test updated to reflect slightly different seek points.
-
Justin Ruggles authored
-
Justin Ruggles authored
The time base is 1 / sample_rate, not 90000. Several more codecs encode the sample count in the first 4 bytes of the chunk, so we set the durations accordingly. Also, we can set start_time and packet duration instead of keeping track of the sample count in the demuxer.
-
Justin Ruggles authored
Each packet has 18 sectors with 224/channels samples in each sector.
-
Justin Ruggles authored
Fixes timestamp calculation. The FATE reference is updated because timestamp calculations are now more accurate. Previous timestamps were based on average bit rate.
-
Justin Ruggles authored
-
Justin Ruggles authored
Update some demuxing and seeking fate tests.
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Justin Ruggles authored
-
Justin Ruggles authored
This also allows for removing some of the Vorbis-related hacks.
-
Justin Ruggles authored
When reading sequentially, we are using the actual flag from the previous frame, but when seeking we do not know what the previous window flag was, so we need to read it from the bitstream.
-
Anton Khirnov authored
-