- 09 Feb, 2012 4 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Aneesh Dogra 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: Justin Ruggles <justin.ruggles@gmail.com>
-
- 08 Feb, 2012 15 commits
-
-
Anton Khirnov authored
This changes a number of FATE results, since before this commit, the timestamps in all tests using rawenc were made up by lavf. In most cases, the previous timestamps were completely bogus. In some other cases -- raw formats, mostly h264 -- the new timestamps are bogus as well. The only difference is that timestamps invented by the muxer are replaced by timestamps invented by the demuxer. cscd -- avconv sets output codec timebase from r_frame_rate and r_frame_rate is in this case some guessed number 31.42 (377/12), which is not accurate enough to represent all timestamps. This results in some frames having duplicate pts. Therefore, vsync 0 needs to be changed to vsync 2 and avconv drops two frames. A proper fix in the future would be to set output timebase to something saner in avconv. nuv -- previous timestamps for video were wrong AND the cscd comment applies, one frame is dropped. vp8-signbias -- the file contains two frames with identical timestamps, so -vsync 0 needs to be removed/changed to -vsync 2 and avconv drops one frame. vc1-ism -- apparrently either the demuxer lies about timestamps or the file is broken, since dts == pts on all packets, but reordering clearly takes place.
-
Anton Khirnov authored
This makes it possible to dintinguish them from PAL8. Fixes an invalid write in avpicture_layout().
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
This is done in preparation for the following patch.
-
Anton Khirnov authored
Deprecate avcodec_encode_video().
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Haruhiko Yamagata authored
This sets __OUTPUT_FORMAT__ to win64 instead of win32, even though both (through -m amd64) produce 64-bit binary code. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
On Win64, these registers are callee-save, so not saving/restoring them correctly is a violation of ABI and can lead to crashes or corrupt data.
-
Henrik Gramner authored
Functions using INIT_MMX may still access XMM registers through direct means (xmm0-15). Therefore, they still need to be marked for clobber so they can be properly saved/restored. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Alex Converse authored
The spec says the following speaker mapping is default: center front speaker left, right center front speakers, left, right outside front speakers, left surround, right surround rear speakers, front low frequency effects speaker
-
Alex Converse authored
It was only correct when element ids met very specific criteria.
-
Alex Converse authored
-
Diego Biurrun authored
It is obscure, most likely unused and not bit-exact compared to libavcodec due to a different IDCT transform algorithm.
-
- 07 Feb, 2012 21 commits
-
-
Ronald S. Bultje authored
This fixes crashes in e.g. PNG decoding with SSE2 enabled. In fact, many x86 optimizations for codecs assume that our buffer strides are 16-byte aligned.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
-
Michael Kostylev authored
This fixes XMM register clobber problems on Win64. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
Fixes bug 221. CC: libav-stable@libav.org
-
Ronald S. Bultje authored
Also slightly move around code not allocate a new frame if we won't decode it. This prevents us from putting undecoded frames in frame pointers, which (in mt decoding) other threads will use and wait on as references, causing a deadlock (if we skipped decoding) or a crash (if we didn't initialized next_framep[] at all). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Anton Khirnov authored
-
Anton Khirnov authored
next_dts is used for estimating the dts of the next packet if it's missing. Therefore, it makes no sense to set it from the pts of the last decoded frame. Also it should be estimated from the current packet duration/ticks_per_frame always, not only when a frame was successfully decoded.
-
Anton Khirnov authored
It more accurately describes what does this variable store.
-
Anton Khirnov authored
It currently has different meanings at different times (dts of the last read packet/pts of the last decoded frame). Reduce obfuscation by storing pts of the decoded frame in the frame itself.
-
Anton Khirnov authored
It's used to predict dts, not pts.
-
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>
-