Commit Graph

757 Commits

Author SHA1 Message Date
David Conrad ac1e18cb78 Update regression tests after r21372
Originally committed as revision 21374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-21 23:35:26 +00:00
Måns Rullgård 4b294c1872 regtest: split wma test into wmav1 and wmav2
Originally committed as revision 21255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:22 +00:00
Måns Rullgård eca478c317 regtest: split reference files allowing tests to run individually
With this change, the output is checked immediately after each test
has run.  This means commands like "make regtest-mpeg2" can now be
used to run a single test and get meaningful results.

By default, make will abort if any test fails.  To run all tests
regardless, use make -k.

Originally committed as revision 21254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:13 +00:00
Måns Rullgård 16cd99bbed regtest: suppress console output from tests
This disables all console output from the *-regression.sh scripts by
default.  If the V environment variable is set to 1, ffmpeg commands
are printed before being run.  If V is greater than 1, ffmpeg output
goes to the console, otherwise stderr is redirected to a file.

Originally committed as revision 21253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:17:55 +00:00
Baptiste Coudurier 01d6bd525a Do not split audio frames accross pes packets.
This was not supported by some equipment and cisco analyzer.

Originally committed as revision 21203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 22:21:45 +00:00
Mike Scheutzow 4df3bbbc68 Insert null packets to keep pcr values correct, patch by Mike Scheutzow,
scheutzow at alcatel-lucent dot com and Niobos, niobos at dest-unreach dot be.

Originally committed as revision 21199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-13 20:44:56 +00:00
Vitor Sessak cd44b2e307 10l, my last commit (r21001) broke regression tests.
FATE tests might need updating too.

Originally committed as revision 21002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-02 12:29:00 +00:00
Diego Biurrun 66d23c968c Use common regression test functions in ffserver regression test script.
This makes the ffserver regression test more portable.

Originally committed as revision 20925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-26 11:33:23 +00:00
Diego Biurrun 3d1470649c Replace ` ` syntax by $( ) in regression test shell scripts.
The latter syntax variant is more readable and easier to nest.

Originally committed as revision 20924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-26 11:24:04 +00:00
Michael Niedermayer 2c2a167ca7 It appears that waveformatextensible is mandatory for more cases than
just channels>2. The 16bit case is from MSDN, the 48khz is from less a reliable
www page (sorry i cant find the URL anymore).

Originally committed as revision 20892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-18 06:03:12 +00:00
Jai Menon 18eb23db7d Update ffm reference checksums as a result of r20869.
Originally committed as revision 20882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-16 14:55:01 +00:00
Reimar Döffinger ae5e8caa3d Add ROQ format regression test.
Originally committed as revision 20811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12 17:34:24 +00:00
Stefano Sabatini dae658d764 Reduce the number of encoded frames for the dnxhd tests to 5.
Significantly reduce codectest execution time.

Originally committed as revision 20804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12 13:52:19 +00:00
Jai Menon 384af83725 Update seek.regression.ref. This is due to r20758.
Originally committed as revision 20759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-07 16:01:35 +00:00
Baptiste Coudurier 73e8c83d7b update seek regression ref due to r20674, packet size changed
Originally committed as revision 20688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-01 20:13:03 +00:00
Jai Menon 8683f94f40 Update libavformat regression reference checksum for ffm. This change is
due to r20601.

Originally committed as revision 20621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-26 18:49:34 +00:00
Baptiste Coudurier fedbfd5d44 update seek regression ref due to r20579, mp3 timestamps are adjusted
Originally committed as revision 20597 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-24 07:29:54 +00:00
Justin Ruggles b00803e0ae fix a rounding error in the PSNR calculation and update the many regression
test references that this change affects.

Originally committed as revision 20492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 23:09:47 +00:00
Stefano Sabatini 77f66963b0 Split codec-regression.sh again and create a lavfi-regression.sh for
running the libavfilter tests.

Originally committed as revision 20384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-27 19:34:48 +00:00
Stefano Sabatini 8f1e4d4ffc Split codec-regression.sh, and create the lavf-regression.sh script.
Originally committed as revision 20365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 17:01:47 +00:00
Måns Rullgård 2189dbc4a6 Fix codectest
Originally committed as revision 20360 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-24 12:39:38 +00:00
Stefano Sabatini f94e56cf82 Split codec-regression.sh, put all the code which can be shared by
other regression test scripts in the regression-funcs.sh file.

Originally committed as revision 20359 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-23 22:49:05 +00:00
Daniel Verkamp b74d42ee33 Build extradata in adpcm_ms encoder.
This fixes issue #1244.

Originally committed as revision 20349 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-22 20:43:55 +00:00
Reimar Döffinger 2bc70a7681 Print "NOPTS" when AV_NOPTS_VALUE is encountered during seek regression tests.
This makes the output nicely aligned even in for those cases, and might
also avoid some issues with printf implementations that can not handle well
very large float values (e.g. msvcrt without MinGW wrapper IIRC).

Originally committed as revision 20334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-20 15:37:50 +00:00
Stefano Sabatini 3a408eff35 Move up the $test variable definition, together with the other
definitions of variables defined using the positional arguments of the
script.

Should ease the split of the file.

Originally committed as revision 20322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 21:59:17 +00:00
Stefano Sabatini dd65909a78 Give symbolic names to the positional parameters of the
codec-regression.sh script.

Originally committed as revision 20321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 21:54:37 +00:00
Reimar Döffinger 933018e249 Align the seek regression test output for better readability.
Originally committed as revision 20309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 12:40:00 +00:00
Reimar Döffinger a828d48cfc Replace seek test error return numbers by the corresponding E* strings.
Hopefully this fixes regression tests on DOS.
It breaks alignment of the output a bit more, but this should be easy to
fix with a second patch.

Originally committed as revision 20282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 16:33:14 +00:00
Reimar Döffinger a9b0204374 Do the dnxhd_720p_rd test with -threads 4 in order to also test the threading code.
Originally committed as revision 20205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-11 11:50:12 +00:00
Justin Ruggles 9797ce58b7 Add ALAC encoding and decoding regression tests.
Originally committed as revision 20188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-06 22:47:33 +00:00
Reimar Döffinger 3fcb5113c6 wav demuxer: return AVERROR_EOF instead of AVERROR(EIO) when the end of
the file is reached normally, without any error.

Originally committed as revision 20143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 07:27:08 +00:00
Reimar Döffinger 4bd7cb8be2 Fix seek regression test: several AVERROR(EIO) correctly changed to AVERROR_EOF.
Originally committed as revision 20141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 07:19:21 +00:00
Reimar Döffinger 593b50cedf Make seek regression tests fit after previous get_buffer change.
The au and aiff demuxers would always return an empty packet before
detecting EOF, this is now fixed with av_get_packet etc. returning EOF.

Originally committed as revision 20136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 06:38:56 +00:00
Lasse Reinhold 391dbb54a6 Use floating point mathematics when encoding mpeg audio.
Fixes issue 975: high db peak levels when encoding mp2

Original patch by Lasse Reinhold, lassemikkelreinhold hotmail

Originally committed as revision 20100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 15:13:09 +00:00
Stefano Sabatini e935fa9e17 Prefer -vcodec rawvideo over -vcodec huffyuv for lavfi regression
tests, as the use of huffyuv may cause the auto-insertion of a scale
filter, thus masking the mis-behavior of some filter.

Originally committed as revision 20088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 21:53:36 +00:00
Michael Kostylev 0e829974f5 Fix md5 program invocation for BSD.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:49:04 +00:00
Reimar Döffinger ebb651d5f2 Make sure that dv encoder initializes all encoded packet data.
The specification does not say which value to use for unused
parts, so fill all unused bytes with 0xff, which is consistent
with what DV usually uses for reserved or unused parts.

Originally committed as revision 20084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:17:18 +00:00
Stefano Sabatini 7f5c14210b Remove duplicated / stray code which slipped in with r20057.
Originally committed as revision 20060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 10:29:24 +00:00
Reimar Döffinger 06d7f30a9f Get rid of "function" "keywords" in lavfilter testing code, hopefully will
make regressions tests runnable again with all shells.

Originally committed as revision 20059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 10:06:35 +00:00
Stefano Sabatini 40e024091d Implement a lavfitest target for testing regressions in libavfilter.
The target is disabled.

See the thread: "[PATCH] libavfilter-soc: regression test for libavfilter".

Originally committed as revision 20057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 09:33:37 +00:00
Måns Rullgård 670bd2005a regtest: do not write to /tmp/ffmpeg$$
Nothing useful was ever written to this file.  It did, however,
often cause spurious failures when the file was left behind by
another user on the system.

Originally committed as revision 19938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 02:46:09 +00:00
Måns Rullgård 96fdb62428 Split dnxhd regression test so the parts can run in parallel
Originally committed as revision 19936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 01:40:12 +00:00
Reimar Döffinger 3fdd82768d Use default sws_flags for dnxhd regression tests and also test the "-mbd rd"
variant of the encoder.

Originally committed as revision 19923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:53:23 +00:00
Reimar Döffinger d7c2e8e3fd Update regression reference for DNxHD test update
Originally committed as revision 19922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:21:22 +00:00
Reimar Döffinger 6082086688 Change DNxHD regression tests to test both 720p and 1080i instead of just 1080i
for better test coverage.

Originally committed as revision 19921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:20:47 +00:00
Reimar Döffinger 0ae2ccff56 Change dnxhd regression tests for r19912 which fixed uninitialized data in
encoded data.

Originally committed as revision 19916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-18 21:29:17 +00:00
Baptiste Coudurier afcdf34236 update seek regression tests due to r19902
Originally committed as revision 19904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 21:35:48 +00:00
Reimar Döffinger ef002fa32b Update dnxhd rotozoom regression test values with more sane ones that match
the results of most FATE machines.

Originally committed as revision 19903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 19:51:27 +00:00
Niobos 9deba199fd fix pes overhead computation, patch by Niobos, niobos at dest-unreach dot be
Originally committed as revision 19902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 19:07:09 +00:00
Reimar Döffinger bb8cd7b3cf Update dnxhd regression test to match the majority of FATE machines (which
also have a much saner stddev).

Originally committed as revision 19901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 18:57:22 +00:00