summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
Commit message (Collapse)AuthorAge
* tests/fate-run: Allow to skip file checksums for lavf_imageAndreas Rheinhardt2022-08-02
| | | | | | | | | | | | | | The output file (even the filesize) of the recently added EXR tests depends on the endianness; therefore checksums of these files must not be part of the ref file. Therefore this commit adds an option (unused for now) to disable these checksums on a per-test basis. In order to avoid having to check twice, the checksum and the filesize info are moved to immediately follow one another; this results into updates to the ref files of all lavf-image tests. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate/vcodec: add tests for ffv1 2pass modeAnton Khirnov2022-05-24
|
* tests/fate-run: give consistent names to enc_dec() argumentsAnton Khirnov2022-05-24
| | | | | | | | | | | | | | | enc_dec() performs two ffmpeg runs - the first one encoding a source file into a specified output format, the second one decoding previously encoded file. The arguments to this function currently have confusing names - e.g. dec_opt contains _output_ (i.e. encoding) options for the second (decoding) ffmpeg invocation. It is also possible to supply _input_ (i.e. decoding) options for the second ffmpeg run, but the argument is currently unnamed and referred to by number. Add an _in/_out suffix to argument names to make it clear what they are used for. Give a name to input options for the decoding ffmpeg run.
* tests/fate-run: Make AVCONV-tests honour -thread_typeAndreas Rheinhardt2022-05-09
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Remove temporary files from pixfmt conversionsAndreas Rheinhardt2022-05-06
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Remove temporary fate-lavf files if possibleAndreas Rheinhardt2022-05-06
| | | | | | | | | | The temporary fate-lavf files can easily be removed if they are not needed as inputs for other tests (mainly fate-seek-tests). This commit implements this. The size of the remaining files decreases from 260890083B to 79481793B. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/Makefile: Redo how to keep intermediate FATE-filesAndreas Rheinhardt2022-05-06
| | | | | | | | | Extend the ordinary mechanism to signal KEEP for this. This also allows to remove the keep-parameter from enc_dec, transcode and stream_remux, so that several empty parameters '""' could be removed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Allow to set dec opts for generated file in transcodeAndreas Rheinhardt2022-05-06
| | | | | | This can be necessary to e.g. force a fixed-point audio codec. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Don't create unnecessary CRC-files, forward errorsAndreas Rheinhardt2022-05-06
| | | | | | | | These CRC-only files (the output of the CRC-muxer) are only used once, so they need not be preserved. Furthermore, errors from ffmpeg (used for creating the CRC) are no longer ignored with this patch. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/lavf-audio: Disable CRC for lavf-peak_only.wav testAndreas Rheinhardt2022-05-06
| | | | | | | | | The output of this test is just a file containing the positions of peaks; it is not a wave file and trying to demux it just returns AVERROR_INVALIDDATA; said error has just been ignored as the return value from do_avconv_crc is the return value from echo. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Always use -bitexact for ffprobeAndreas Rheinhardt2022-05-03
| | | | | | Makes no difference currently. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/vbn, tests/fate-run: Delete intermediate VBN-files after testsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Remove intermediate lavf_container_fate filesAndreas Rheinhardt2022-04-28
| | | | | | They are not used lateron. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate: add fate tests for VBN encoder and decoderMarton Balint2022-04-10
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* fate/filter-refcmp-*: make refcmp_metadata fail on empty or truncated inputMarton Balint2022-04-10
| | | | | | | | | | | | | On empty input the awk script was always successful which caused the filter-refcmp tests to always succeed. Also fix the command lines for refcmp_metadata compare function because it needs auto conversion filters, and update reference of test filter-refcmp-psnr-rgb because it was missed in a7fc78c1a638a32c3695c06f727774c740d675c2 but was never noticed due to the original issue... Signed-off-by: Marton Balint <cus@passwd.hu>
* lavfilter: Add SITI filterBoris Baracaldo2022-04-01
| | | | | | Calculate Spatial Info (SI) and Temporal Info (TI) scores for a video, as defined in ITU-T P.910: Subjective video quality assessment methods for multimedia applications.
* tests/fate-run: Use DEC_OPTS for additional input, tooAndreas Rheinhardt2021-10-08
| | | | | | Should fix failures in the cover-art-flac-remux test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Allow multiple inputs for transcode()Andreas Rheinhardt2021-10-07
| | | | | | | This allows nicer tests by having a greater range of inputs available (without requiring adding further samples to the fate-suite). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Set bitexact flag for output, tooAndreas Rheinhardt2021-10-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* FATE: allow multithreaded filteringAnton Khirnov2021-08-29
|
* ffprobe: remove references to frame->pkt_ptsJames Almer2021-08-07
| | | | | | The field was removed during the last major bump. Signed-off-by: James Almer <jamrial@gmail.com>
* fate-run.sh: print stream side data in probeaudiostream()Anton Khirnov2021-05-09
| | | | Adds a test for reading AUDIO_SERVICE_TYPE in fate-hls-fmp4_ac3
* fate-oggopus-demux: convert to ffprobeAnton Khirnov2021-05-09
| | | | It can print side data cleanly.
* tests/fate-run.sh: Don't overlook errors from md5 testsAndreas Rheinhardt2021-02-16
| | | | | | | | | | | The md5 test up until now ignored errors from ffmpeg (the cli) and just md5'ed whatever ffmpeg has output; while testing scenarios in which ffmpeg fails has its merits, errors should not be overlooked by default; doing so also reduces the effectiveness of sanitizers as errors from them are ignored. This has happened with a memleak in the AV1 decoder. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* tests/fate-run: Always overwrite output files for md5 testsAndreas Rheinhardt2020-09-27
| | | | | | | | Otherwise the result of such tests will not accurately reflect the current state. Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate: disable automatic conversions on many tests.Nicolas George2020-09-08
| | | | | | | | | | Explicitly insert the scale or aresample filter where it would have been inserted by the negotiation. Re-enable conversions if it cannot be done easily. If a conversion is needed in a test, we want to know about it. If the negotiation changes and makes new conversion necessary, we want to know about it even more.
* fate: remove "-v 0" from ffprobe tests.Nicolas George2020-08-24
|
* tests/fate/hlsenc: add testcase of ac3 surround sound input in hlsencSteven Liu2020-07-07
| | | | | | | add probeaudiostream for get audio stream's codec_name,codec_time_base, sample_fmt,channels and channel_layout. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* fate: add tests for h264 and vp9 video enc parameters exportAnton Khirnov2020-05-25
|
* fate: Allow to test temporary files with ffprobeAndreas Rheinhardt2020-04-19
| | | | | | | | | This is primarily intended to test that muxers correctly write chapters or metadata; but given that it does this by having our demuxers read the generated files, it also tests demuxers. And of course it may prove useful for encoders, too. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* fate: Don't use depreceated keepside optionAndreas Rheinhardt2020-01-10
| | | | | | | | | The tests for concat use this option which is scheduled for removal and does nothing any more. So remove it; otherwise, these tests would fail at the next major version bump. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate: Fix use of target_path/target_samplesMartin Storsjö2019-12-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tests: Fix bash errors in lavf_container tests.Andrey Semashev2019-09-09
| | | | | | | | | | | | | Because the lavf_container is sometimes called with only 2 arguments, fate tests produce bash errors like this: tests/fate-run.sh: 299: test: =: unexpected operator This commit fixes this. Reviewed-by: Limin Wang <lance.lmwang@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/fate-run: New variable hostexecsuf for local fate tools.Carl Eugen Hoyos2019-04-24
| | | | Allows running fate in-tree on wsl with msvc.
* tests: Add EXESUF to program calls.Carl Eugen Hoyos2019-04-19
| | | | Fixes fate in Windows subsystem for Linux.
* fate: unbreak fate with custom binary namesGyan Doshi2019-04-03
|
* tests/fate-run: fix regression in encoding optionsJames Almer2019-03-19
| | | | | | | | Set threads back to 1. Fixes fate when run in multi threaded mode. Regression since d0c43e32427ec1efac364be0987a6aafa695527f. Signed-off-by: James Almer <jamrial@gmail.com>
* fate/lavf-image: fix passed arguments for some high bit depth testsJames Almer2019-03-14
| | | | | | Should fix fate failures on big endian targets. Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'James Almer2019-03-14
|\ | | | | | | | | | | | | * commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b': tests: Add a convenience function for video-only lavf tests Merged-by: James Almer <jamrial@gmail.com>
| * tests: Add a convenience function for video-only lavf testsDiego Biurrun2019-02-16
| | | | | | | | | | Rename a test in the process for consistency and simplicity and remove the remnants of the now-unused lavf regression test scripts.
* | tests: Convert lavf container tests with samples to non-legacy test scriptsJames Almer2019-03-14
| |
* | Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit '618d02c1fa9e74d490cace64a7d15762656b521c': tests: Convert lavf container tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf container tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit '896fe15dbb7b78de495c4a7dd75e7faec66778da': tests: Convert lavf pixfmt conversion tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf pixfmt conversion tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Also split monolithic lavf-pixfmt test into individual tests.
* | Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit 'a957e9379d11f2982d615f92c30580a57ea8bb40': tests: Convert lavf image tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert lavf image tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit 'eb8a8115994434b548523cf0bca6a4a74784e79c': tests: Convert audio-only lavf tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>
| * tests: Convert audio-only lavf tests to non-legacy test scriptsDiego Biurrun2019-02-16
| | | | | | | | Rename some tests in the process for consistency and simplicity.
* | Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363'James Almer2019-03-14
|\| | | | | | | | | | | | | * commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363': tests: Convert image2pipe tests to non-legacy test scripts Merged-by: James Almer <jamrial@gmail.com>