diff options
author | Boris Baracaldo <borbarak@fb.com> | 2022-03-22 09:34:02 +0100 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@mail.de> | 2022-04-01 20:27:43 +0200 |
commit | 80831e742b3cf58ef3f23cc66be23df2c41c3901 (patch) | |
tree | f57177916c78e86a2b2fb146da49dd31d40da0ca /tests/fate-run.sh | |
parent | 451300d0e81392cd45bdce8dc5b56fb6913720ca (diff) | |
download | ffmpeg-80831e742b3cf58ef3f23cc66be23df2c41c3901.tar.gz |
lavfilter: Add SITI filter
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.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index fbfc0a925d..a3be44d0eb 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -382,6 +382,15 @@ refcmp_metadata(){ -f null /dev/null | awk -v ref=${ref} -v fuzz=${fuzz} -f ${base}/refcmp-metadata.awk - } +cmp_metadata(){ + refcmp=$1 + pixfmt=$2 + fuzz=${3:-0.001} + ffmpeg $FLAGS $ENC_OPTS \ + -lavfi "testsrc2=size=300x200:rate=1:duration=5,format=${pixfmt},${refcmp},metadata=print:file=-" \ + -f null /dev/null | awk -v ref=${ref} -v fuzz=${fuzz} -f ${base}/refcmp-metadata.awk - +} + pixfmt_conversion(){ conversion="${test#pixfmt-}" outdir="tests/data/pixfmt" |