From ca71e6052e86d2d6eb390d642596d2474b524b3d Mon Sep 17 00:00:00 2001 From: Tobias Rapp Date: Tue, 26 Jan 2016 09:02:51 +0100 Subject: doc/demuxers: add some concat demuxer script examples Signed-off-by: Tobias Rapp --- doc/demuxers.texi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'doc/demuxers.texi') 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. -- cgit v1.2.3