summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* fate: Overhaul WavPack coverageDerek Buitenhuis2012-02-27
| | | | | | | | WavPack has a comprehensive test suite, and a bunch of corner cases. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: don't guess r_frame_rate from either stream or codec timebase.Anton Khirnov2012-02-26
| | | | | | | Neither of those is guaranteed to be connected to framerate in any way (if it even exists). Fixes bug 56.
* avconv: saner output video timebase.Anton Khirnov2012-02-26
| | | | | | | | | | r_frame_rate should in theory have something to do with input framerate, but in practice it is often made up from thin air by lavf. So unless we are targeting a constant output framerate, it's better to just use input stream timebase. Brings back dropped frames in nuv and cscd tests introduced in cd1ad18a6539bd7fc2dc4c1740fbcbd498c0c0a2
* rawdec: set timebase to 1/fps.Anton Khirnov2012-02-26
|
* FATE: remove a bunch of useless -vsync 0Anton Khirnov2012-02-26
| | | | No changes in the test results.
* fate: add tests for cdxl videoPaul B Mahol2012-02-25
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* lavf: don't set AVCodecContext.has_b_frames in compute_pkt_fields().Anton Khirnov2012-02-22
| | | | | | | | | | | It is not supposed to be done outside lavc. This is basically a revert of 818062f2f346df30f4ec0c0c1f54e8025cc3a80a. 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.
* Add prores regression test.Reimar Döffinger2012-02-21
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Enable already existing rso regression test.Reimar Döffinger2012-02-21
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Add regression test for "sox" format muxer/demuxer.Reimar Döffinger2012-02-21
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Add dpx encoding regression test.Carl Eugen Hoyos2012-02-21
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* adpcmenc: Use correct frame_size for Yamaha ADPCM.Justin Ruggles2012-02-20
| | | | | | | | | | | Output packet size should match avctx->block_align. The target output packet size is 1024 bytes. Before: mono - 1024 samples -> 512 bytes stereo - 2048 samples -> 2048 bytes After: mono - 2048 samples -> 1024 bytes stereo - 1024 samples -> 1024 bytes
* bethsoftvid: synchronize video timestamps with audio sample rateJustin Ruggles2012-02-16
| | | | | | | | According to unofficial documentation, the video rate is locked to the audio sample rate. This results in proper synchronization of audio and video timestamps from the demuxer. This only works if the first audio packet occurs before the first video packet or the audio sample rate is the default rate of 11111 Hz, both of which are true for all samples in our archive.
* bethsoftvid: Set video packet duration instead of accumulating pts.Justin Ruggles2012-02-16
|
* bethsoftvid: pass palette in side data instead of in a separate packet.Justin Ruggles2012-02-16
| | | | | | Update FATE reference to account for now non-existent palette packet. This also fixes the FATE test if frame data is not initialized in get_buffer(), so update comment in avconv accordingly.
* sunrast: Add fate test for gray8.Aneesh Dogra2012-02-13
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* cljr: set the properties of the coded_frame, not input frame.Anton Khirnov2012-02-12
|
* FATE: update reference for seek-alac_mp4Justin Ruggles2012-02-11
| | | | This should have been updated in b590f3a7bf9103ac7a7a61c48568676201d6824b.
* alacenc: only encode frame size in header for a final smaller frameJustin Ruggles2012-02-11
| | | | | Otherwise it is not needed because it matches the frame size as encoded in the extradata.
* aacdec: Try to sniff a reasonable channel layout for PCE based configurations.Alex Converse2012-02-09
| | | | This changes the output order of multichannel PCE based streams.
* cosmetics: Delete empty lines at end of file.Diego Biurrun2012-02-09
|
* rawenc: switch to encode2().Anton Khirnov2012-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* avconv: rework -t handling for encoding.Anton Khirnov2012-02-07
| | | | | | | | | | | | | 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.
* pva-demux test: add -vnAnton Khirnov2012-02-07
| | | | | | 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.
* frame{crc/md5}: set the stream timebase from codec timebase.Anton Khirnov2012-02-03
| | | | | | | | | | | | | 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.
* fate: make acodec-ac3_fixed test output raw AC3Mans Rullgard2012-02-02
| | | | | | There is no point in this test using the RM format. Signed-off-by: Mans Rullgard <mans@mansr.com>
* bethsoftvideo: fix palette reading.Justin Ruggles2012-02-01
| | | | | | Return the correct number of consumed bytes and set *data_size = 0. Returned size is 1 too small, leading to that 1 byte being read as the next frame, which results in an extra blank frame at the beginning of the stream.
* fate-golomb: extend golomb-test to get_ue_golomb_long()Janne Grunau2012-02-01
| | | | | | | | get_ue_golomb_long() is only tested for values up to 2^15 - 2 since we can not write larger values. Silence the test on success and return a non-zero value on error. Use an heap scratch buffer instead of large stack buffer. Remove unneeded includes.
* fate: add golomb-testDiego Biurrun2012-01-31
|
* build: Use order-only prerequisites for creating FATE reference file dirs.Diego Biurrun2012-01-30
|
* codec-regression: use private options instead of deprecated codec flags.Anton Khirnov2012-01-27
|
* lavc: increase major version to 54.Anton Khirnov2012-01-27
| | | | | The lavf-ffm test results change because ffmenc writes AVCodecContext.flags/flags2 and the defaults for those change.
* Revert "sws/pixfmt/pixdesc: add support for yuva444p"Alex Converse2012-01-26
| | | | | | This reverts commit fc115c80b7bf6f1f5a937ee7f6e14630d99eb4dd. Tests are broken.
* sws/pixfmt/pixdesc: add support for yuva444pPaul B Mahol2012-01-27
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* fate: add XWD image regression testPaul B Mahol2012-01-26
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mxfdec: hybrid demuxing/seeking solutionJanne Grunau2012-01-22
| | | | | | | | | | | | | | | | | | This uses the old demuxing code for OP1a and separate demuxing code for OPAtom. Timestamp output is added to the old demuxing code. The seeking code is made to seek to the start of the desired EditUnit only, from which the normal demuxing code takes over (if OP1a). This means we do not use delta entries or slices, only StreamOffsets. OPAtom seeking basically works like before. This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other words, we allow seeking before the start or past the end for D-10 too. Based on several patches by Tomas Härdin <tomas.hardin@codemill.se> and Reimar Döffinger <Reimar.Doeffinger@gmx.de>. Changed av_calloc to av_mallocz, added overflow checks.
* fate: add some shorthands to run groups of testsDiego Biurrun2012-01-19
|
* fate: Give some tests more sensible names.Diego Biurrun2012-01-19
|
* tests: K&R formatting cosmetics for test programsGaurav Narula2012-01-18
|
* fate: split ADPCM and DPCM test references into separate files.Diego Biurrun2012-01-15
|
* FATE: convert output to rgba for the targa tests which currently output pal8Justin Ruggles2012-01-13
| | | | fixes the tests on big-endian systems
* fate: add missing reference files for targa tests in 9c2f9b0e2Janne Grunau2012-01-13
| | | | Fixes fate-targa-conformance-CCM8 and fate-targa-conformance-UCM8.
* FATE: enable the 2 remaining targa conformance suite testsJustin Ruggles2012-01-13
|
* FATE: fix targa tests on big-endian systemsJustin Ruggles2012-01-13
|
* FATE: add tests for targaJustin Ruggles2012-01-13
| | | | Based on a patch by Oana Stratulat <oanaandreeastratulat@gmail.com>
* fate: Update file checksums after the mov muxer change in a78dbada55d6Martin Storsjö2012-01-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* fate: Add tests for more AAC features.Gaurav Narula2012-01-09
| | | | | | | | al15_44 uses independent coupling. al18_44 uses PNS (perceptual noise substitution). am05_44 uses main prediction and independent coupling. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* fate: Add tests for vc1/wmapro in ism.Alex Converse2012-01-09
|
* aacdec: Add a fate test for 5.1 channel SBR.Alex Converse2012-01-09
|
* swscale: RGB4444 and BGR444 inputPaul B Mahol2012-01-08
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>