[FFmpeg-devel] [PATCHv3] doc/demuxers: add some concat demuxer script examples
Tobias Rapp
t.rapp at noa-archive.com
Wed Feb 3 11:47:46 CET 2016
On 03.02.2016 10:23, Stefano Sabatini wrote:
>> From 2faf6c05df62c69347091aa6254c2db796d19345 Mon Sep 17 00:00:00 2001
>> From: Tobias Rapp <t.rapp at noa-archive.com>
>> Date: Tue, 26 Jan 2016 09:02:51 +0100
>> Subject: [PATCH] doc/demuxers: add some concat demuxer script examples
>>
>> Signed-off-by: Tobias Rapp <t.rapp at noa-archive.com>
>> ---
>> doc/demuxers.texi | 25 +++++++++++++++++++++++++
>> 1 file changed, 25 insertions(+)
>>
>> diff --git a/doc/demuxers.texi b/doc/demuxers.texi
>> index fb1e4fb..02cd041 100644
>> --- a/doc/demuxers.texi
>> +++ b/doc/demuxers.texi
>> @@ -214,6 +214,31 @@ The default is 0.
>>
>> @end table
>>
>> + at subsection Examples
>> +
>> + at itemize
>> + at item
>> +Use absolute filenames and include some comments:
>> + at 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'
>> + at end example
>> +
>> + at item
>> +Allow for input format auto-probing, use safe filenames and set the duration of
>> +the first file:
>
>> + at example
>> +ffconcat version 1.0
>> +file file-1.wav
>> +duration 20.0
>> +file 'file 2.wav'
>> + at end example
>> + at end itemize
>
> Nit: add an empty line after the "duration" directive, so that it's
> clear that it applies to the first file.
I agree. Have also added an empty line after the header line in the new
patch.
> LGTM otherwise, thanks.
New patch attached. It also replaces the 'file 2.wav' in the second
example which didn't actually work in safe mode with 'subdir/file-2.wav'
(thanks to Paul B Mahol for noticing it).
Regards,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-doc-demuxers-add-some-concat-demuxer-script-examples.patch
Type: text/x-patch
Size: 1175 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160203/d399def9/attachment.bin>
More information about the ffmpeg-devel
mailing list