Browse Source

doc/filters: add scale2ref example for proportional scaling

tags/n4.2
Gyan Doshi 6 years ago
parent
commit
21832b93d5
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      doc/filters.texi

+ 6
- 0
doc/filters.texi 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}


Loading…
Cancel
Save