Commit Graph

775 Commits

Author SHA1 Message Date
David Conrad
30f06a58a0 Simplify starting and ending clusters
Originally committed as revision 22199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-04 08:53:08 +00:00
Måns Rullgård
1233698bed Make seektest messages similar to other tests
Originally committed as revision 22159 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:27 +00:00
Måns Rullgård
d7096d6fdd Run seektest on all generated files
Originally committed as revision 22158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:16 +00:00
Måns Rullgård
1dd9ff871a Place regtest-pixfmt output files in separate dir
This test generates many output files, and keeping them separate
is convenient.

Originally committed as revision 22157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:02 +00:00
Måns Rullgård
801b571e33 Remove unused argument to test scripts
Originally committed as revision 22156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:42:03 +00:00
Måns Rullgård
cc3e2472f3 Place regression test output files in subdirs per family
Originally committed as revision 22155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:41:52 +00:00
Måns Rullgård
cbc4670c37 Revert "Remove the self reference in the seektest that prevented it from"
This reverts r22151.  It prevents the seektest from running at all and
is thus of no use whatsoever.

Originally committed as revision 22152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 17:50:24 +00:00
Michael Niedermayer
dd785e25d8 Remove the self reference in the seektest that prevented it from
testing new formats since 2 years namely r11831.
This likely will uncover bugs that gone unnoticed in the last 2 years
due to lack of testing.

Originally committed as revision 22151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 17:29:04 +00:00
Michael Niedermayer
af3390cb85 Make sure we dont double test files and sort the list.
Originally committed as revision 22150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 17:16:25 +00:00
Michael Niedermayer
88b83cac24 Codec copy test.
Originally committed as revision 22148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 16:57:20 +00:00
Reimar Döffinger
f2e033ac84 Free packets read in seek_test.
Originally committed as revision 22110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-28 11:18:04 +00:00
Reimar Döffinger
c7ff04e2f3 Fix some memory leaks in seek_test test program:
- do not allocate context twice
- close the input file before exiting

Originally committed as revision 22108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-28 10:58:27 +00:00
Yann Coupin
8d819221db Correctly increment continuity_counter in PCR packets.
Patch by Yann Coupin, yann.coupin+ffmpeg gmail

Originally committed as revision 22020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-24 10:56:13 +00:00
Måns Rullgård
43cfefafbf Use stripped executable in regression tests
Originally committed as revision 21870 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-17 21:37:35 +00:00
Michael Niedermayer
f575f08ccb Correct opts calulation in ffmpeg.c.
This correct the stop point for demuxing with -vcodec copy and -t as well as
packet interleaving. (we already diddrop packets but kept demuxing them
for too long due to opts being wrong)
the change to ffm is due to 2 packets with timestamp 0 being stored
in different order.

Originally committed as revision 21626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 15:09:04 +00:00
Michael Niedermayer
c45ebd5461 Set AVPacket.pos in MPEG-PS demuxer.
Originally committed as revision 21604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-02 16:47:51 +00:00
Michael Niedermayer
f8ccf72005 Check pkt.pts against the recording time.
This fixes at least ogg encoding with -t where the file was slightly too long.

Originally committed as revision 21598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01 22:08:45 +00:00
Måns Rullgård
c676895fd9 Separate audio-only tests so they are only run once
Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 21:47:13 +00:00
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