Attached patch adds some example scripts for the concat demuxer to the
documentation.
Regards,
Tobias
>From 5ffc11e8139476d18cd2eaa28338adb0dda80999 Mon Sep 17 00:00:00 2001
From: Tobias Rapp <t.r...@noa-archive.com>
Date: Tue, 19 Jan 2016 15:42:33 +0100
Subject: [PATCH] doc/demuxers: add some concat demuxer script examples
Signed-off-by: Tobias Rapp <t.r...@noa-archive.com>
---
doc/demuxers.texi | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index fb1e4fb..3900272 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -214,6 +214,27 @@ The default is 0.
@end table
+@subsection Examples
+
+Example script which uses absolute filenames and includes 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
+
+Example script which allows for input format auto-probing, uses safe filenames
+and sets the duration of the first file:
+@example
+ffconcat version 1.0
+file file-1.wav
+duration 20.0
+file 'file 2.wav'
+@end example
+
@section flv
Adobe Flash Video Format demuxer.
--
1.9.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel