summaryrefslogtreecommitdiff
path: root/doc/hooks.texi
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-06-18 22:17:37 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-06-18 22:17:37 +0000
commit6f17637634c3b84c087216fdc50cd5b594ee17ed (patch)
treee2ff8e7479c3ea03bcb6e9380c87464360804851 /doc/hooks.texi
parentf32adb22def9af695add203baa63cf8b18816d9c (diff)
Add alpha channel support for imlib2 vhook
Originally committed as revision 9365 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/hooks.texi')
-rw-r--r--doc/hooks.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/hooks.texi b/doc/hooks.texi
index a92edc4a55..e7b54d1268 100644
--- a/doc/hooks.texi
+++ b/doc/hooks.texi
@@ -158,6 +158,14 @@ Usage examples:
In this example, the color for the text goes up and down from black to
white.
+ # Text fade-out
+ ffmpeg -i input.avi -vhook \
+ 'vhook/imlib2.so -t Hello -A max(0,255-exp(N/47))' \
+ -sameq output.avi
+
+ In this example, the text fades out in about 10 seconds for a 25 fps input
+ video file.
+
# scrolling credits from a graphics file
ffmpeg -sameq -i input.avi \
-vhook 'vhook/imlib2.so -x 0 -y -1.0*N -i credits.png' output.avi