1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

fate/filter-video: add frei0r test where input is realigned

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.

The distort0r filter requires dimensions to be divisible by 8.
This commit is contained in:
Stefan Breunig
2025-11-16 11:15:05 +01:00
committed by Marton Balint
parent f8bfc20281
commit 4c4ab2ec6f
2 changed files with 12 additions and 1 deletions

View File

@@ -717,8 +717,9 @@ $(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
FATE_FFMPEG += $(FATE_FILTER_VSYNTH-yes)
FATE_FILTER_FREI0R-$(call FILTERFRAMECRC, TESTSRC2, FREI0R_FILTER) = fate-filter-frei0r-filter
FATE_FILTER_FREI0R-$(call FILTERFRAMECRC, TESTSRC2, FREI0R_FILTER) = fate-filter-frei0r-filter fate-filter-frei0r-filter-unaligned
fate-filter-frei0r-filter: CMD = framecrc -lavfi "testsrc2=r=1:d=5,frei0r=enable=gte(n\,3):filter_name=distort0r"
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)
#

View File

@@ -0,0 +1,10 @@
#tb 0: 1/1
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 328x240
#sar 0: 1/1
0, 0, 0, 1, 314880, 0x7b9cad8f
0, 1, 1, 1, 314880, 0x0184436f
0, 2, 2, 1, 314880, 0x7e3f2776
0, 3, 3, 1, 314880, 0x0dc5e915
0, 4, 4, 1, 314880, 0xcf9c76ef