PR #22856 opened by breunigs URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22856 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22856.patch
An installation of frei0r-plugins is required to run the tests, which is usually seperate from the build headers. Some systems have it packaged (e.g. apt install frei0r-plugins). An upstream release extracted to FREI0R_PATH also works. Signed-off-by: Stefan Breunig <[email protected]> >From 9ac1e44ebea122913253be8676790103efb142fb Mon Sep 17 00:00:00 2001 From: Stefan Breunig <[email protected]> Date: Sat, 18 Apr 2026 22:26:47 +0200 Subject: [PATCH] fate/filter-video: add frei0r_src test An installation of frei0r-plugins is required to run the tests, which is usually seperate from the build headers. Some systems have it packaged (e.g. apt install frei0r-plugins). An upstream release extracted to FREI0R_PATH also works. Signed-off-by: Stefan Breunig <[email protected]> --- tests/fate/filter-video.mak | 3 +++ tests/ref/fate/filter-frei0r-source | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 tests/ref/fate/filter-frei0r-source diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 5016ea9d4d..5a34f622ec 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -746,6 +746,9 @@ fate-filter-frei0r-filter: CMD = framecrc -lavfi "testsrc2=r=1:d=5,frei0r=enable fate-filter-frei0r-filter-unaligned: CMD = framecrc -lavfi "testsrc2=s=328x240:r=1:d=5,frei0r=filter_name=distort0r" FATE_FFMPEG += $(FATE_FILTER_FREI0R-yes) +FATE_FILTER_FREI0R_SRC-$(call FILTERFRAMECRC, FREI0R_SRC) = fate-filter-frei0r-source +fate-filter-frei0r-source: CMD = framecrc -lavfi "frei0r_src=200x200:5:onecol0r:1/2/3" -frames:v 5 +FATE_FFMPEG += $(FATE_FILTER_FREI0R_SRC-yes) # # Metadata tests # diff --git a/tests/ref/fate/filter-frei0r-source b/tests/ref/fate/filter-frei0r-source new file mode 100644 index 0000000000..02ff7d9c8d --- /dev/null +++ b/tests/ref/fate/filter-frei0r-source @@ -0,0 +1,10 @@ +#tb 0: 1/5 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 200x200 +#sar 0: 1/1 +0, 0, 0, 1, 160000, 0xe2b9de94 +0, 1, 1, 1, 160000, 0xe2b9de94 +0, 2, 2, 1, 160000, 0xe2b9de94 +0, 3, 3, 1, 160000, 0xe2b9de94 +0, 4, 4, 1, 160000, 0xe2b9de94 -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
