[FFmpeg-cvslog] doc/filters: move scale=ref_* to correct sectton

Niklas Haas git at videolan.org
Sat May 4 14:20:56 EEST 2024


ffmpeg | branch: master | Niklas Haas <git at haasn.dev> | Sat May  4 13:10:41 2024 +0200| [8bf0a9c2ca1ab46387f01687d7b9bb081a73b722] | committer: Niklas Haas

doc/filters: move scale=ref_* to correct sectton

This was accidentally filed under scale_npp, instead of scale. (Why is
this entire section basically duplicated anyway?)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8bf0a9c2ca1ab46387f01687d7b9bb081a73b722
---

 doc/filters.texi | 50 ++++++++++++++++++++++++--------------------------
 1 file changed, 24 insertions(+), 26 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 5198f14f28..c4efae01c6 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -21228,6 +21228,16 @@ The position (byte offset) of the frame in the input stream, or NaN if
 this information is unavailable and/or meaningless (for example in case of synthetic video).
 Only available with @code{eval=frame}.
 Deprecated, do not use.
+
+ at item ref_w, rw
+ at item ref_h, rh
+ at item ref_a
+ at item ref_dar, rdar
+ at item ref_n
+ at item ref_t
+ at item ref_pos
+Eqvuialent to the above, but for a second reference input. If any of these
+variables are present, this filter accepts two inputs.
 @end table
 
 @subsection Examples
@@ -21329,6 +21339,20 @@ making sure the resulting resolution is even (required by some codecs):
 @example
 scale='trunc(ih*dar/2)*2:trunc(ih/2)*2',setsar=1/1
 @end example
+
+ at item
+Scale a subtitle stream (sub) to match the main video (main) in size before
+overlaying.
+ at example
+'[main]split[a][b]; [ref][a]scale=rw:rh[c]; [b][c]overlay'
+ at end example
+
+ at item
+Scale a logo to 1/10th the height of a video, while preserving its display
+aspect ratio.
+ at example
+[logo-in][video-in]scale=w=oh*dar:h=rh/10[logo-out]
+ at end example
 @end itemize
 
 @subsection Commands
@@ -21562,34 +21586,8 @@ The position (byte offset) of the frame in the input stream, or NaN if
 this information is unavailable and/or meaningless (for example in case of synthetic video).
 Only available with @code{eval=frame}.
 Deprecated, do not use.
-
- at item ref_w, rw
- at item ref_h, rh
- at item ref_a
- at item ref_dar, rdar
- at item ref_n
- at item ref_t
- at item ref_pos
-Eqvuialent to the above, but for a second reference input. If any of these
-variables are present, this filter accepts two inputs.
 @end table
 
- at subsection Examples
-
- at itemize
- at item
-Scale a subtitle stream (sub) to match the main video (main) in size before overlaying
- at example
-'[main]split[a][b]; [ref][a]scale=rw:rh[c]; [b][c]overlay'
- at end example
-
- at item
-Scale a logo to 1/10th the height of a video, while preserving its display aspect ratio.
- at example
-[logo-in][video-in]scale=w=oh*dar:h=rh/10[logo-out]
- at end example
- at end itemize
-
 @section scale2ref_npp
 
 Use the NVIDIA Performance Primitives (libnpp) to scale (resize) the input



More information about the ffmpeg-cvslog mailing list