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

View File

@ -12264,6 +12264,9 @@ Enables confidence interval.
This filter also supports the @ref{framesync} options. 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 On the below examples the input file @file{main.mpg} being processed is
compared with the reference file @file{ref.mpg}. 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 - ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf -f null -
@end example @end example
@item
Example with options: Example with options:
@example @example
ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf="psnr=1:log_fmt=json" -f null - ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf="psnr=1:log_fmt=json" -f null -
@end example @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 @section limiter
Limits the pixel components values to the specified range [min, max]. Limits the pixel components values to the specified range [min, max].