1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

doc/filters: add scale2ref example for proportional scaling

This commit is contained in:
Gyan Doshi
2019-05-13 21:58:19 +05:30
parent 9d269301f0
commit 21832b93d5

View File

@@ -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}