ffmpeg | branch: master | Niklas Haas <g...@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.
+
+@item ref_w, rw
+@item ref_h, rh
+@item ref_a
+@item ref_dar, rdar
+@item ref_n
+@item ref_t
+@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
+
+@item
+Scale a subtitle stream (sub) to match the main video (main) in size before
+overlaying.
+@example
+'[main]split[a][b]; [ref][a]scale=rw:rh[c]; [b][c]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]scale=w=oh*dar:h=rh/10[logo-out]
+@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.
-
-@item ref_w, rw
-@item ref_h, rh
-@item ref_a
-@item ref_dar, rdar
-@item ref_n
-@item ref_t
-@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
-
-@itemize
-@item
-Scale a subtitle stream (sub) to match the main video (main) in size before 
overlaying
-@example
-'[main]split[a][b]; [ref][a]scale=rw:rh[c]; [b][c]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]scale=w=oh*dar:h=rh/10[logo-out]
-@end example
-@end itemize
-
 @section scale2ref_npp
 
 Use the NVIDIA Performance Primitives (libnpp) to scale (resize) the input

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to