summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
...
* FATE: allow a tolerance in the size comparison in do_tiny_psnr()Justin Ruggles2012-03-15
| | | | | This will allow for comparing decoded output to the original source when the decoded size is not exactly the same as the original size.
* FATE: use absolute difference from a target value in do_tiny_psnr()Justin Ruggles2012-03-15
| | | | | This will allow comparison to original pre-encoded content instead of comparing to expected decoded output.
* FATE: allow tests to set CMP_SHIFT to pass to tiny_psnrJustin Ruggles2012-03-15
| | | | | This will allow adjusting for any encoder or decoder delay when doing comparisons.
* FATE: use $fuzz directly in do_tiny_psnr() instead of passing it aroundJustin Ruggles2012-03-15
|
* Add ffvhuff encoding and decoding regression testPaul B Mahol2012-03-14
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* fate: add pam image regression testPaul B Mahol2012-03-14
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* FATE: add shorthand to wavpack testPaul B Mahol2012-03-12
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* FATE: add test for cdxl demuxerPaul B Mahol2012-03-12
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* FATE: add CPUFLAGS variable, mapping to -cpuflags avconv option.Anton Khirnov2012-03-06
|
* lavf: Use av_get_audio_frame_duration() in get_audio_frame_size()Justin Ruggles2012-03-05
| | | | | | | | | | 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.
* aiffdec: do not set AVCodecContext.frame_sizeJustin Ruggles2012-03-05
| | | | | | | | | 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.
* lavf: deobfuscate read_frame_internal().Anton Khirnov2012-03-05
| | | | | | | | | | | | | | 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.
* fate: Add sunrast regression testDerek Buitenhuis2012-03-03
| | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* wmaenc: fix m/s stereo encoding for the first frameJustin Ruggles2012-03-03
| | | | | | | | 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
* tiertexseq: set audio stream start time to 0Justin Ruggles2012-03-03
| | | | | Update FATE test to reflect delayed video due to the file having audio-only frames prior to the first frame with video.
* voc/avs: Do not change the sample rate mid-stream.Justin Ruggles2012-03-03
| | | | | Also, set the time base based on the sample rate. lavf-voc seek test updated to reflect slightly different seek points.
* vqf: set packet durationJustin Ruggles2012-03-03
| | | | | | Fixes timestamp calculation. The FATE reference is updated because timestamp calculations are now more accurate. Previous timestamps were based on average bit rate.
* mpegaudio_parser: do not ignore information from the first parsed frameJustin Ruggles2012-03-03
| | | | Update some demuxing and seeking fate tests.
* g722: Fix the QMF scalingMartin Storsjö2012-03-02
| | | | | | | | | | | | | | | This fixes clipping if the encoder input used the full 16 bit input range (samples with a magnitude below 16383 worked fine). The filtered subband samples should be 15 bit maximum, while the code earlier produced them scaled to 16 bit. This makes the decoder output have double the magnitude compared to before. The spec reference samples doesn't test the QMF at all, which was why this part slipped past initially. Signed-off-by: Martin Storsjö <martin@martin.st>
* electronicarts: set timebase for tgv video.Anton Khirnov2012-03-02
| | | | | | | | The container has no timestamps and the framerate isn't stored in the data either. The decoder sets codec timebase to experimentally found value 1/15. Do the same for the demuxer too, it should at least be better than the default 1/90000.
* electronicarts: parse the framerate for cmv video.Anton Khirnov2012-03-02
|
* electronicarts: don't set codec timebaseAnton Khirnov2012-03-02
| | | | | | Demuxers are not supposed to set it. Set stream timebase and framerates instead (this is a cfr container with no timestamps).
* FATE: do not decode audio in the nuv test.Justin Ruggles2012-02-29
| | | | We already have sufficient coverage for 16-bit pcm.
* FATE: add mp3 test for sample that exhibited false overreadsJustin Ruggles2012-02-29
| | | | | related to b7165426917f91ebcad84bdff366824f03b32bfe Error messages and audible artifacts were fixed in that commit.
* fate: add cdxl test for bit line plane arrangementPaul B Mahol2012-02-29
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* dpxenc: Don't include the libavcodec ident if bitexact mode is enabledMartin Storsjö2012-02-29
| | | | | | This avoids breaking fate every time the lavc version is bumped. Signed-off-by: Martin Storsjö <martin@martin.st>
* prores: store and retrieve extended colourspace informationKostya Shishkov2012-02-29
| | | | Based on the patch by Phil Barrett.
* prores: handle 444 chroma in right orderKostya Shishkov2012-02-29
| | | | | | | ProRes codes chroma blocks in 444 mode in different order than luma blocks, so make both decoder and encoder read/write chroma blocks in right order. Reported by Phil Barrett
* mpegvideo_enc: add chroma/luma_elim_threshold private options.Anton Khirnov2012-02-29
| | | | Deprecate corresponding AVCodecContext fields.
* mpegvideo_enc: add qp_rd flag to mpv_flags.Anton Khirnov2012-02-29
| | | | Deprecate CODEC_FLAG_QP_RD.
* 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.