summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-10-25 22:58:50 +0200
committerPaul B Mahol <onemda@gmail.com>2019-10-25 22:58:50 +0200
commit296296a4d5194977bbcbc3656aec5823ffa46327 (patch)
treebe4971aae657fc820137c2575d1023067f5f4701 /doc
parent487a1f28e283f22351397c0fbbfffb90b431e890 (diff)
doc/filters: add one more example for libvmaf
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 3a414d577f..5b8062d806 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -12264,6 +12264,9 @@ Enables confidence interval.
This filter also supports the @ref{framesync} options.
+@subsection Examples
+@itemize
+@item
On the below examples the input file @file{main.mpg} being processed is
compared with the reference file @file{ref.mpg}.
@@ -12271,11 +12274,19 @@ compared with the reference file @file{ref.mpg}.
ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf -f null -
@end example
+@item
Example with options:
@example
ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf="psnr=1:log_fmt=json" -f null -
@end example
+@item
+Example with options and different containers:
+@example
+ffmpeg -i main.mpg -i ref.mkv -lavfi "[0:v]settb=1/AVTB,setpts=PTS-STARTPTS[main];[1:v]settb=1/AVTB,setpts=PTS-STARTPTS[ref];[main][ref]libvmaf=psnr=1:log_fmt=json" -f null -
+@end example
+@end itemize
+
@section limiter
Limits the pixel components values to the specified range [min, max].