diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-15 19:38:06 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-17 18:18:01 +0300 |
commit | 21566b21d57ec9d8b0a40160e3e19c6970a813f7 (patch) | |
tree | 31382004b06736b0ca48010aca04601c7c3eb81c /doc/filters.texi | |
parent | 84170d4be053a4c7901965fe1977970b5c5e85e5 (diff) |
avfilter: add scale2ref filter
This filter can be used to scale one stream to match another or based on
another, useful to scale subtitles or other things to be overlayed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 2dd7d22355..7b386eff0f 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -9122,6 +9122,23 @@ If the specified expression is not valid, it is kept at its current value. @end table +@section scale2ref + +Scale (resize) the input video, based on a reference video. + +See the scale filter for available options, scale2ref supports the same but +uses the reference video instead of the main input as basis. + +@subsection Examples + +@itemize +@item +Scale a subtitle stream to match the main video in size before overlaying +@example +'scale2ref[b][a];[a][b]overlay' +@end example +@end itemize + @section separatefields The @code{separatefields} takes a frame-based video input and splits |