summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexandra Khirnova <alexandra@khirnov.net>2011-10-10 11:52:13 +0100
committerAnton Khirnov <anton@khirnov.net>2011-10-17 22:24:17 +0200
commit3ec344626c4ec2f515169f89bffe95dea92a5982 (patch)
treeccd69faec86d89d759e9742b8583644e93102ed8 /doc
parent51369f2891f756bcca4d7283d5a24c0529c1d6e1 (diff)
downloadffmpeg-3ec344626c4ec2f515169f89bffe95dea92a5982.tar.gz
avconv: add presets
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/avconv.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/avconv.texi b/doc/avconv.texi
index 9faaee630d..6e38a47b78 100644
--- a/doc/avconv.texi
+++ b/doc/avconv.texi
@@ -186,6 +186,8 @@ codec-dependent.
@var{filter_graph} is a description of the filter graph to apply to
the stream. Use @code{-filters} to show all the available filters
(including also sources and sinks).
+@item -pre[:@var{stream_specifier}] @var{preset_name} (@emph{output,per-stream})
+Specify the preset for matching stream(s).
@item -stats (@emph{global})
Print encoding progress/statistics. On by default.
@@ -770,6 +772,21 @@ quality).
@chapter Examples
@c man begin EXAMPLES
+@section Preset files
+
+A preset file contains a sequence of @var{option=value} pairs, one for
+each line, specifying a sequence of options which can be specified also on
+the command line. Lines starting with the hash ('#') character are ignored and
+are used to provide comments. Empty lines are also ignored. Check the
+@file{ffpresets} directory in the Libav source tree for examples.
+
+Preset files are specified with the @code{pre} option, this option takes a
+preset name as input. Avconv searches for a file named @var{preset_name}.avpreset in
+the directories @file{$AVCONV_DATADIR} (if set), and @file{$HOME/.avconv}, and in
+the data directory defined at configuration time (usually @file{$PREFIX/share/avconv})
+in that order. For example, if the argument is @code{libx264-max}, it will
+search for the file @file{libx264-max.avpreset}.
+
@section Video and Audio grabbing
If you specify the input format and device then avconv can grab video