diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2019-05-13 19:28:19 +0300 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2019-05-13 19:28:19 +0300 |
commit | 21832b93d53312fa43b40de73d44805bdacaab26 (patch) | |
tree | c1ff48363b57ba2462090e6b16730289a38fb930 /doc/filters.texi | |
parent | 9d269301f017657c3ae2e95a411317640acd39a8 (diff) |
doc/filters: add scale2ref example for proportional scaling
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index d231387d59..0683f7bff5 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -15316,6 +15316,12 @@ Scale a subtitle stream (b) to match the main video (a) in size before overlayin @example 'scale2ref[b][a];[a][b]overlay' @end example + +@item +Scale a logo to 1/10th the height of a video, while preserving its display aspect ratio. +@example +[logo-in][video-in]scale2ref=w=oh*mdar:h=ih/10[logo-out][video-out] +@end example @end itemize @anchor{selectivecolor} |