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 <stefan-ffmpeg-devel@breunig.xyz>
This commit is contained in:
Stefan Breunig
2026-04-18 22:26:47 +02:00
committed by michaelni
parent 3aa5d957d1
commit 9172ab1245
2 changed files with 13 additions and 0 deletions

View File

@@ -754,6 +754,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
#

View File

@@ -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