summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* libavcodec/cinepakenc: Mark no-skip frames as keyframesTomas Härdin2022-05-12
| | | | | Reset curframe whenever we generate a keyframe. Use -g instead of -keyint_min.
* fate/matroska: Add test for remuxing DVB subtitles to MatroskaAndreas Rheinhardt2022-05-12
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/matroska: Add tests for muxing PGS into MatroskaAndreas Rheinhardt2022-05-10
| | | | | | They test the new pgs_frame_merge BSF. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/fate-run: Make AVCONV-tests honour -thread_typeAndreas Rheinhardt2022-05-09
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/filter-video: Remove unnecessary dependency from filter-pp[1-6]Andreas Rheinhardt2022-05-09
| | | | | | | | filter-pp and filter-pp7 are the only ones of the filter-pp* tests that use the file generated by fate-vsynth1-mpeg4-qprd. Also combine the dependency on this test for all the tests that need it. 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>
* fate/filter-video: Remove intermediate file of meta-4560-rotate0 testAndreas Rheinhardt2022-05-06
| | | | 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>
* avcodec/v210enc: Move ff_v210enc_init into a headerAndreas Rheinhardt2022-05-06
| | | | | | | | | | | | | | | | | | | | | This removes a dependency of checkasm on lavc/v210_enc.o and also allows to inline ff_v210enc_init() irrespectively of interposing. This dependency pulled basically all of libavcodec into checkasm, in particular all codecs. This also makes checkasm work when using shared Windows builds: On Windows, it needs to be known to the compiler whether a data symbol is external to the library/executable or not; hence the need for av_export_avutil. checkasm needs access to the internals of the libraries it tests and is therefore linked statically to all the libraries. This means that the users of avpriv_cga_font and avpriv_vga16_font in libavcodec (namely ansi.o, bintext.o, tmv.o) end up in the same executable as the symbols, although they have been compiled as if these symbols were external, leading to linker errors. With this commit said files are discarded by the linker, bypassing this problem. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/v210_dec: Move ff_v210dec_init into a headerAndreas Rheinhardt2022-05-06
| | | | | | | | This removes a dependency of checkasm on lavc/v210_dec.o and also allows to inline ff_v210dec_init() irrespectively of interposing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_threshold: Move ff_threshold_init into a headerAndreas Rheinhardt2022-05-06
| | | | | | | | | This removes a dependency of checkasm on lavfi/vf_threshold.o and also allows to inline ff_threshold_init() irrespectively of interposing. With this patch checkasm no longer pulls all of lavfi and lavf in. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_nlmeans: Move ff_nlmeans_init into a headerAndreas Rheinhardt2022-05-06
| | | | | | | | This removes a dependency of checkasm on lavfi/vf_nlmeans.o and also allows to inline ff_nlmeans_init() irrespectively of interposing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_hflip: Move ff_hflip_init into a headerAndreas Rheinhardt2022-05-06
| | | | | | | | This removes a dependency of checkasm on lavfi/vf_hflip.o and also allows to inline ff_hflip_init() irrespectively of interposing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_gblur: Move ff_gblur_init into a headerAndreas Rheinhardt2022-05-06
| | | | | | | | This removes a dependency of checkasm on lavfi/vf_gblur.o and also allows to inline ff_gblur_init() irrespectively of interposing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/vf_blend: Move ff_blend_init into a headerAndreas Rheinhardt2022-05-06
| | | | | | | | This removes a dependency of checkasm on lavfi/vf_blend.o and also allows to inline ff_blend_init() irrespectively of interposing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avfilter/af_afir: Only keep DSP stuff in headerAndreas Rheinhardt2022-05-06
| | | | | | | | Only the AudioFIRDSPContext and the functions for its initialization are needed outside of lavfi/af_afir.c. Also rename the header to af_afirdsp.h to reflect the change. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/h264: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/hap: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | 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>
* tests/ref: Remove unused reference filesAndreas Rheinhardt2022-05-03
| | | | | | | | | | Accidentally resurrected in fc49f22c3b735db5aaac5f98e40b7124a2be13b8 and 7711f19eda40a7fd1c8a327f1700ffdd115e1667, forgotten in 6ebc71847e21a8abaf7ff3d902cb1cf63511e7b4 and 1a6a088f7c7b164042ad16d43d05543ce1bacfa4 or never needed (filter-aemphasis). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/qtrle: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/pixlet: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/mpeg4: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/microsoft: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/lossless-video: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/hevc: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | | | Also replace define/foreach with pattern-specific variable values. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/Makefile: Remove unset FATE_TESTSAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/gif: Remove nonsense requirementAndreas Rheinhardt2022-05-03
| | | | | | | | | | It seems as if it was intended to declare fate-gif-color as prerequisite of the fate-gifenc% tests. Yet the latter do not need anything from the former, so this would be unnecessary. Furthermore, given that this line has no associated recipe, it actually cancels implicit rules for fate-gifenc% instead of adding a prerequisite. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/gif: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/prores: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/vpx: Move webm-dash-manifest tests to a new fileAndreas Rheinhardt2022-05-03
| | | | | | | These tests have basically nothing to do with VPX (they do not even require the decoder). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/vpx: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* tests/Makefile: Add FRAMEMD5 auxiliary functionAndreas Rheinhardt2022-05-03
| | | | | | Similar to FRAMECRC for framecrc tests. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/vpx: Remove unnecessary evalAndreas Rheinhardt2022-05-03
| | | | | | | Possible since ca96e337169093979d7c763064ad9dae12b3108c and ef8c93e2f18c624d0c266687e43ab99af7921dd3. 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>
* fate/vbn: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/ea: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/dnxhd: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/canopus: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/qt: Fix test requirementsAndreas Rheinhardt2022-05-03
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/movenc: sidx earliest_presentation_time is applied after editlistZhao Zhili2022-04-29
| | | | | | Fix #8334 Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* fate/concatdec: Don't duplicate test requirementsAndreas Rheinhardt2022-04-28
| | | | | | | | | | | | | | The tests in concatdec.mak reuse files created by tests from lavf-container. Therefore these tests have the other tests as prerequisite and mostly duplicate their CONFIG-requirements. (The mxf_d10 tests did it incorrect as they only required the MXF muxer.) This duplication is of course bad as usual, so stop it by using the corresponding variable that contains the non-lavf-container-tests that are enabled to filter out all the concat-tests without a corresponding enabled non-concat test. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/lavf-container: Fix test requirementsAndreas Rheinhardt2022-04-28
| | | | | | | Automatically inherited by the fate-seek-lavf tests based upon these tests. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/lavf-audio: Fix requirements of testsAndreas Rheinhardt2022-04-28
| | | | | | | These changes are automatically inherited by the fate-seek-tests based upon lavf-audio. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/lavf-video: Fix test requirementsAndreas Rheinhardt2022-04-28
| | | | | | | The new requirements are also automatically inherited by the FATE_SEEK_LAVF_VIDEO seek-tests. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* fate/lavf-image2pipe: Fix test requirementsAndreas Rheinhardt2022-04-28
| | | | | | | The fix is automatically inherited by the corresponding fate-seek-lavf-*pipe tests. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>