Carl Eugen Hoyos
d0ca749adb
tests/fate-run: New variable hostexecsuf for local fate tools.
...
Allows running fate in-tree on wsl with msvc.
6 years ago
Carl Eugen Hoyos
96fc0cbfde
tests: Add EXESUF to program calls.
...
Fixes fate in Windows subsystem for Linux.
6 years ago
Gyan Doshi
b131a07e4b
fate: unbreak fate with custom binary names
6 years ago
James Almer
f8075b2c91
tests/fate-run: fix regression in encoding options
...
Set threads back to 1. Fixes fate when run in multi threaded mode.
Regression since d0c43e3242
.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
85649b6523
fate/lavf-image: fix passed arguments for some high bit depth tests
...
Should fix fate failures on big endian targets.
Signed-off-by: James Almer <jamrial@gmail.com>
6 years ago
James Almer
a200bf8094
tests: Convert lavf container tests with samples to non-legacy test scripts
6 years ago
Diego Biurrun
f8df5e2f31
tests: Add a convenience function for video-only lavf tests
...
Rename a test in the process for consistency and simplicity and
remove the remnants of the now-unused lavf regression test scripts.
6 years ago
Diego Biurrun
618d02c1fa
tests: Convert lavf container tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
6 years ago
Diego Biurrun
896fe15dbb
tests: Convert lavf pixfmt conversion tests to non-legacy test scripts
...
Also split monolithic lavf-pixfmt test into individual tests.
6 years ago
Diego Biurrun
a957e9379d
tests: Convert lavf image tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
6 years ago
Diego Biurrun
eb8a811599
tests: Convert audio-only lavf tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
6 years ago
Diego Biurrun
a70eac7a9b
tests: Convert image2pipe tests to non-legacy test scripts
6 years ago
Diego Biurrun
8629149816
tests: Drop duplicate variable declaration
6 years ago
Diego Biurrun
e22ffb3805
tests: Unify output directory creation
6 years ago
Gyan Doshi
0bd48ab2d9
fate: allow temp files for passed test to be kept
...
Set make variable KEEP to non-zero value to preserve temp files
when a test has passed.
Helpful in diagnosing failed tests when test outfile is some type of
single hash and does not reveal differences in processed output.
7 years ago
Gyan Doshi
310d56e86f
fate/mpegps: add tests for PCM_DVD stream remux
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Richard Shaffer
4be6307cbf
fate: add id3v2 test
...
Adds basic unit test for parsing ID3v2 tags.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Michael Niedermayer
8e7ac4f049
tests/fate-run: Use -bitexact
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
James Almer
ef7766befd
fate: add missing closing bracket
...
Regression since 85e2fe6281
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Tobias Rapp
bee01ee2ba
fate: add tests for psnr and ssim filter
...
Metadata filter output is passed through an Awk script comparing floats
against reference values with specified "fuzz" tolerance to account for
architectural differences (e.g. x86-32 vs. x86-64).
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
7 years ago
Marton Balint
7ed6f9168b
fate: use do_md5sum instead of the md5 protocol for most md5 fate tests
...
The md5 protocol has no seek support, but some tests use seeks. This changes
the fate tests to actually create the output files and calculate the md5 on the
written files, which also makes the tests independent of the size of the output
buffers and output buffering in general.
A new md5pipe fate test method is also introduced to keep the old functionality
for tests where using a non-seekable output was intentional, and matroska md5
tests are changed to use that.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Sasi Inguva
87071478b4
tests/fate-run.sh: Show packet flags for fate gapless tests.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Diego Biurrun
db869f4ea4
fate: Add build-only targets to FATE
8 years ago
Diego Biurrun
698ac8f9ca
fate: Make null comparison method more useful
...
This allows dropping /dev/null as reference value when no output is generated.
8 years ago
Diego Biurrun
4141a5a240
Use modern avconv syntax for codec selection in documentation and tests
8 years ago
Martin Storsjö
eef860dd92
fate: Tweak printing of ignored tests
...
Use a tab instead of two spaces, skip the fate prefix for the test name.
This makes IGNORE line fit in even better with the other make printouts.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Martin Storsjö
5c83b4d550
fate: Unset the sig variable if ignoring a test failure
...
Otherwise the .rep file would still contain a signal instead of a
zero, even if the process returned success.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Janne Grunau
35d1f726eb
fate: Add --ignore-tests configure option for omitting specific FATE tests
...
This can be useful to filter out noise in known-broken scenarios like
miscompilation by legacy compilers and similar.
Originally based on a patch by Diego Biurrun.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Steven Liu
863ebe6f83
avformat/flvenc: add add_keyframe_index option
...
Add keyframe index metadata
Used to facilitate seeking; particularly for HTTP pseudo streaming.
1. read live streaming or file by sequence
2. if use add_keyframe_index option, add a mark flag at the position,
use to insert new context at the last step.
3. add the keyframes *offset* and *timestamp* into a list
4. if use add_keyframe_index option, shift the metadata data from
mark flag offset
5. insert the keyframes *offset* and *timestamp* from the list by
sequence
6. free the list
7. end.
Add FATE test case;
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Steven Liu <liuqi@gosun.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
b90c8a3d08
fate: Add tests for mov display matrix
...
Rotation, sample/display aspect ratio and pure matrix export.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Michael Niedermayer
492259ccda
fate: add aac_adtstoasc test (Ticket 3715)
8 years ago
Michael Niedermayer
24b3918901
tests/fate-run.sh: Analyze file generated in transcode()
...
This should be much more informative than a plain md5 difference
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
86f8ce9f3d
tests/fate-run: add transcode() as a simplified enc_dec()
...
Approved-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Burt P
bfe9155aee
fate: Add HDCD filter tests for false positive and error detection
...
Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Michael Niedermayer
9a6ae7fbb2
fate: Add test for ticket 1833 (Ogg/Vorbis Chapters)
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
14478b6c38
fate: add audiomatch
...
Testset provided by Justin Greer <justin@zencoder.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Marton Balint
48a96383fa
tests/gapless: add gapless aac tests
...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Timothy Gu
b0669e7ccf
fate/concatdec: Use -bitexact
...
Fixes FATE failures on --enable-small builds.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timothy Gu
04deaef293
fate-run: Fix indentation
9 years ago
Marton Balint
bcac6416b8
fate: fix concat demuxer extended test portability
...
Sed \r is not portable, it does not work on freebsd, hopefully tr -d will.
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
c9944f7596
fate: fix concat demuxer extended tests on windows
...
Line endings do matter to md5sum...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
9bd4f26b55
fate: fix concat demuxer tests on msys/cygwin by using relative paths
...
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Marton Balint
a01046c90c
fate: add concat demuxer tests
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years ago
Michael Niedermayer
66d3666803
tests/fate-run: Remove ./ from run ffmpeg call
...
This makes it consistent with ffprobe
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
58b19b6f63
tests/fate-run: Remove PROGSUF from function calls
...
Fixes make fate V=2
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Christophe Gisquet
42c1dcde68
fate: use PROGSSUF
...
May require exporting in the shell var PROGSUF when invoking a
shell script.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
ed18c49f5f
fate: Add basic license header check
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
3cb85ad445
tests/fate-run: Pass bitexact flags to enc_dec_pcm() output
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Andreas Cadhalpun
c64060d56a
fate: add -fflags +bitexact to the relevant targets
...
This fixes fate with FF_API_LAVF_BITEXACT disabled.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
10 years ago