doc/filters: add one more example for libvmaf

This commit is contained in:
Paul B Mahol 2019-10-25 22:58:50 +02:00
parent 487a1f28e2
commit 296296a4d5
1 changed files with 11 additions and 0 deletions

View File

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