[FFmpeg-soc] [soc]: r5793 - libavfilter/diffs/03_libavfilter_doc.diff
bcoudurier
subversion at mplayerhq.hu
Wed May 12 00:00:01 CEST 2010
Author: bcoudurier
Date: Wed May 12 00:00:00 2010
New Revision: 5793
Log:
rename overlay filter variables
Modified:
libavfilter/diffs/03_libavfilter_doc.diff
Modified: libavfilter/diffs/03_libavfilter_doc.diff
==============================================================================
--- libavfilter/diffs/03_libavfilter_doc.diff Tue May 11 20:41:12 2010 (r5792)
+++ libavfilter/diffs/03_libavfilter_doc.diff Wed May 12 00:00:00 2010 (r5793)
@@ -73,11 +73,11 @@ Index: doc/libavfilter.texi
+Parameters to the filter are separated by a colon. The first parameter
+is the x coordinate of the overlay, the second parameter is the y
+coordinate. The parameters need not be constant expressions, but may
-+be expressions containing the names @var{mainW}, @var{mainH},
-+ at var{overlayW} and @var{overlayH}, for the size of the first and second
++be expressions containing the names @var{main_w}, @var{main_h},
++ at var{overlay_w} and @var{overlay_h}, for the size of the first and second
+input video, respectively. For example,
+ at example
-+overlay=mainW-overlayW-10:mainH-overlayH-10
++overlay=main_w-overlay_w-10:main_h-overlay_h-10
+ at end example
+can be used to draw the overlay at 10 pixels from the bottom right
+corner of the main video.
@@ -92,7 +92,7 @@ Index: doc/libavfilter.texi
+For example, the following command will insert a transparent PNG
+logo in the bottom left corner of the input video:
+ at example
-+movie=0:png:logo.png [logo]; [in][logo] overlay=10:mainH-overlayH-10:1 [out]
++movie=0:png:logo.png [logo]; [in][logo] overlay=10:main_h-overlay_h-10:1 [out]
+ at end example
+
+Notice the last parameter to overlay ":1" - this enables alpha blending.
@@ -102,8 +102,8 @@ Index: doc/libavfilter.texi
+ at example
+movie=0:png:logo1.png [logo1];
+movie=0:png:logo2.png [logo2];
-+[in][logo1] overlay=10:mainH-overlayH-10:1 [in+logo1];
-+[in+logo1][logo2] overlay=mainW-overlayW-10:mainH-overlayH-10:1 [out]
++[in][logo1] overlay=10:main_h-overlay_h-10:1 [in+logo1];
++[in+logo1][logo2] overlay=main_w-overlay_w-10:main_h-overlay_h-10:1 [out]
+ at end example
+
+You could chain and add more overlays this way but the efficiency of
More information about the FFmpeg-soc
mailing list