- 07 Feb, 2012 10 commits
-
-
Anton Khirnov authored
Current code compares the desired recording time with InputStream.pts, which has a very unclear meaning. Change the code to use actual timestamps of the frames passed to the encoder. In several tests, one less frame is encoded, which is more correct. In the idroq test one more frame is encoded, which is again more correct. Behavior with stream copy should be unchanged.
-
Anton Khirnov authored
The actual number (1/1000) will probably require some discussion/tweaking in the future, but should be good enough for now, since the timestamps in AVSubtitle are in this timebase by definition.
-
Anton Khirnov authored
The output is obviously not supposed to contain video (since only -acodec copy is specified), but that only happens because of the way -t handling is implemented currently.
-
Diego Biurrun authored
-
Justin Ruggles authored
It makes sense in some cases to split up the output packet to save on memory usage (ape frames can be very large), but the current/default size is arbitrary. Allowing the user to configure this gives more flexibility and requires minimal additional code.
-
Justin Ruggles authored
-
Justin Ruggles authored
This will allow the decoder to return samples for the full packet, and it also makes the decoded buffer pointers aligned.
-
Justin Ruggles authored
-
Ronald S. Bultje authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Ronald S. Bultje authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 06 Feb, 2012 18 commits
-
-
Aneesh Dogra authored
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Paul B Mahol authored
FFALIGN doesn't work with non-powers-of-2. This reverts commit 7ad1b612. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Diego Biurrun authored
-
Justin Ruggles authored
Fixes seeking after decoder has already been flushed for codecs using CODEC_CAP_DELAY.
-
Justin Ruggles authored
-
Justin Ruggles authored
Calculates based on total file size and wavetaillength from the header. Falls back to multiplying finalframeblocks by 8 instead of 4 so that it will at least be overestimating for 24-bit. Currently it can underestimate the final packet size, leading to decoding errors.
-
Justin Ruggles authored
This avoids buffer overread when the last packet size estimate is too small.
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Kieran Kunhya authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
It is already set in avcodec_alloc_frame(). Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Andrey Utkin authored
Before, drawtext filter deliberately altered given text coordinates if text didn't fully fit on the picture. This breaks the use case of scrolling large text, e.g. movie closing credits. Add 'fix_bounds', to make it usable in such cases (by setting its value to 0). Default behavior is not changed, and non-fitting text coords are fixed. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Andrey Utkin authored
Before, {text_,}{w,h} vars hadn't got initialized Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 05 Feb, 2012 1 commit
-
-
Andrey Utkin authored
Prevents uninitialized read. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 04 Feb, 2012 2 commits
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
- 03 Feb, 2012 9 commits
-
-
Justin Ruggles authored
AVCodecContext.bits_per_raw_sample is used for audio too, and values other than 8, 9, and 10 are valid.
-
Alex Converse authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Diego Biurrun authored
FFT code only appears in libavcodec, so there is no need to reset the variable when the build templates are instantiated for other libraries.
-
Diego Biurrun authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Right now those muxers use the default timebase in all cases(1/90000). This patch avoid unnecessary rescaling and makes the printed timestamps more readable. Also, extend the printed information to include the timebases and packet pts/duration and align the columns. Obviously changes the results of all fate tests which use those two muxers.
-
Justin Ruggles authored
-
Justin Ruggles authored
av_realloc() does not guarantee alignment, which is required for DSPContext.bswap_buf().
-