summaryrefslogtreecommitdiff
path: root/doc/avconv.texi
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-05 08:37:43 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-08 21:56:26 +0200
commitab2960970171ce3c988405f99a517b9a2fd6496e (patch)
tree0434e335a23d961737a997b6f9a06e54be3b6ac2 /doc/avconv.texi
parenta5fd7c607f7aa6dad7dc2ca9b579c26ddef359d9 (diff)
avconv: allow no input files.
It is now possible to use lavfi sources.
Diffstat (limited to 'doc/avconv.texi')
-rw-r--r--doc/avconv.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/avconv.texi b/doc/avconv.texi
index 776a326369..ff5bb5297c 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -805,6 +805,9 @@ the matching type.
Output link labels are referred to with @option{-map}. Unlabeled outputs are
added to the first output file.
+Note that with this option it is possible to use only lavfi sources without
+normal input files.
+
For example, to overlay an image over video
@example
avconv -i video.mkv -i image.png -filter_complex '[0:v][1:v]overlay[out]' -map
@@ -827,6 +830,11 @@ graph will be added to the output file automatically, so we can simply write
@example
avconv -i video.mkv -i image.png -filter_complex 'overlay' out.mkv
@end example
+
+To generate 5 seconds of pure red video using lavfi @code{color} source:
+@example
+avconv -filter_complex 'color=red' -t 5 out.mkv
+@end example
@end table
@c man end OPTIONS