Commit 21832b93 authored by Gyan Doshi's avatar Gyan Doshi

doc/filters: add scale2ref example for proportional scaling

parent 9d269301
...@@ -15316,6 +15316,12 @@ Scale a subtitle stream (b) to match the main video (a) in size before overlayin ...@@ -15316,6 +15316,12 @@ Scale a subtitle stream (b) to match the main video (a) in size before overlayin
@example @example
'scale2ref[b][a];[a][b]overlay' 'scale2ref[b][a];[a][b]overlay'
@end example @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 @end itemize
@anchor{selectivecolor} @anchor{selectivecolor}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment