[FFmpeg-cvslog] doc/filters: add one more example for libvmaf

Paul B Mahol git at videolan.org
Sat Oct 26 00:02:01 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Oct 25 22:58:50 2019 +0200| [296296a4d5194977bbcbc3656aec5823ffa46327] | committer: Paul B Mahol

doc/filters: add one more example for libvmaf

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=296296a4d5194977bbcbc3656aec5823ffa46327
---

 doc/filters.texi | 11 +++++++++++
 1 file changed, 11 insertions(+)

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.
 
+ at subsection Examples
+ at itemize
+ at 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
 
+ at item
 Example with options:
 @example
 ffmpeg -i main.mpg -i ref.mpg -lavfi libvmaf="psnr=1:log_fmt=json" -f null -
 @end example
 
+ at item
+Example with options and different containers:
+ at 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 -
+ at end example
+ at end itemize
+
 @section limiter
 
 Limits the pixel components values to the specified range [min, max].



More information about the ffmpeg-cvslog mailing list