Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
487a1f28
Commit
487a1f28
authored
Oct 25, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/filters: add one more example for ssim/psnr
parent
9e283aa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
filters.texi
doc/filters.texi
+21
-0
No files found.
doc/filters.texi
View file @
487a1f28
...
...
@@ -14857,6 +14857,9 @@ Maximum allowed value for each channel, and average over all
channels.
@end table
@subsection Examples
@itemize
@item
For example:
@example
movie=ref_movie.mpg, setpts=PTS-STARTPTS [main];
...
...
@@ -14867,6 +14870,13 @@ On this example the input file being processed is compared with the
reference file @file{ref_movie.mpg}. The PSNR of each individual frame
is stored in @file{stats.log}.
@item
Another example with 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
]
psnr
" -f null -
@end example
@end itemize
@anchor{pullup}
@section pullup
...
...
@@ -16908,6 +16918,9 @@ Same as above but in dB representation.
This filter also supports the @ref{framesync} options.
@subsection Examples
@itemize
@item
For example:
@example
movie=ref_movie.mpg, setpts=PTS-STARTPTS [main];
...
...
@@ -16918,11 +16931,19 @@ On this example the input file being processed is compared with the
reference file @file{ref_movie.mpg}. The SSIM of each individual frame
is stored in @file{stats.log}.
@item
Another example with both psnr and ssim at same time:
@example
ffmpeg -i main.mpg -i ref.mpg -lavfi "
ssim
;[
0
:
v
][
1
:
v
]
psnr
" -f null -
@end example
@item
Another example with 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
]
ssim
" -f null -
@end example
@end itemize
@section stereo3d
Convert between different stereoscopic image formats.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment