[FFmpeg-cvslog] doc/filters: update documentation.

Anton Khirnov git at videolan.org
Tue Apr 17 12:27:17 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Apr  3 08:32:23 2012 +0200| [7ce118bae5cd6b29692e0b3963d48a5610823322] | committer: Anton Khirnov

doc/filters: update documentation.

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

 doc/filters.texi |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index f0367bf..b012dc7 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -17,10 +17,11 @@ output pads is called a "sink".
 @anchor{Filtergraph syntax}
 @section Filtergraph syntax
 
-A filtergraph can be represented using a textual representation, which
-is recognized by the @code{-vf} and @code{-af} options in @command{avconv}
-and @command{avplay}, and by the @code{av_parse_graph()} function defined in
- at file{libavfilter/avfiltergraph}.
+A filtergraph can be represented using a textual representation, which is
+recognized by the @option{-filter}/@option{-vf} and @option{-filter_complex}
+options in @command{avconv} and @option{-vf} in @command{avplay}, and by the
+ at code{avfilter_graph_parse()}/@code{avfilter_graph_parse2()} function defined in
+ at file{libavfilter/avfiltergraph.h}.
 
 A filterchain consists of a sequence of connected filters, each one
 connected to the previous one in the sequence. A filterchain is
@@ -1125,15 +1126,12 @@ Follow some examples:
 overlay=main_w-overlay_w-10:main_h-overlay_h-10
 
 # insert a transparent PNG logo in the bottom left corner of the input
-movie=logo.png [logo];
-[in][logo] overlay=10:main_h-overlay_h-10 [out]
+avconv -i input -i logo -filter_complex 'overlay=10:main_h-overlay_h-10' output
 
 # insert 2 different transparent PNG logos (second logo on bottom
 # right corner):
-movie=logo1.png [logo1];
-movie=logo2.png [logo2];
-[in][logo1]       overlay=10:H-h-10 [in+logo1];
-[in+logo1][logo2] overlay=W-w-10:H-h-10 [out]
+avconv -i input -i logo1 -i logo2 -filter_complex
+'overlay=10:H-h-10,overlay=W-w-10:H-h-10' output
 
 # add a transparent color layer on top of the main video,
 # WxH specifies the size of the main input to the overlay filter



More information about the ffmpeg-cvslog mailing list