summaryrefslogtreecommitdiff
path: root/doc/demuxers.texi
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-archive.com>2016-01-26 09:02:51 +0100
committerStefano Sabatini <stefasab@gmail.com>2016-02-03 13:30:48 +0100
commitca71e6052e86d2d6eb390d642596d2474b524b3d (patch)
treeabd0a13b9d292144be05247fd9a329a4a23a2725 /doc/demuxers.texi
parentc1b23e158c9208dfaf6a188f537d9a1c4a34e49e (diff)
downloadffmpeg-ca71e6052e86d2d6eb390d642596d2474b524b3d.tar.gz
doc/demuxers: add some concat demuxer script examples
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Diffstat (limited to 'doc/demuxers.texi')
-rw-r--r--doc/demuxers.texi27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 188808b9c0..6b5f8bba15 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -214,6 +214,33 @@ The default is 0.
@end table
+@subsection Examples
+
+@itemize
+@item
+Use absolute filenames and include some comments:
+@example
+# my first filename
+file /mnt/share/file-1.wav
+# my second filename including whitespace
+file '/mnt/share/file 2.wav'
+# my third filename including whitespace plus single quote
+file '/mnt/share/file 3'\''.wav'
+@end example
+
+@item
+Allow for input format auto-probing, use safe filenames and set the duration of
+the first file:
+@example
+ffconcat version 1.0
+
+file file-1.wav
+duration 20.0
+
+file subdir/file-2.wav
+@end example
+@end itemize
+
@section flv
Adobe Flash Video Format demuxer.