diff options
author | James Almer <jamrial@gmail.com> | 2021-06-29 12:07:44 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-07-02 10:21:06 -0300 |
commit | 8c2c0135e5f497a5ecbbcd237620002f791f37c3 (patch) | |
tree | 2b7e8453050ace67c6a183e584889294924d50db /doc | |
parent | da0abbbb01cae21039e2db028467d0f489c9c9ae (diff) |
avformat: add a concat protocol that takes a line break delimited list of resources
Suggested-by: ffmpeg@fb.com
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocols.texi | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index ccdfb6e439..726e5f1c44 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -215,6 +215,38 @@ ffplay concat:split1.mpeg\|split2.mpeg\|split3.mpeg Note that you may need to escape the character "|" which is special for many shells. +@section concatf + +Physical concatenation protocol using a line break delimited list of +resources. + +Read and seek from many resources in sequence as if they were +a unique resource. + +A URL accepted by this protocol has the syntax: +@example +concatf:@var{URL} +@end example + +where @var{URL} is the url containing a line break delimited list of +resources to be concatenated, each one possibly specifying a distinct +protocol. Special characters must be escaped with backslash or single +quotes. See @ref{quoting_and_escaping,,the "Quoting and escaping" +section in the ffmpeg-utils(1) manual,ffmpeg-utils}. + +For example to read a sequence of files @file{split1.mpeg}, +@file{split2.mpeg}, @file{split3.mpeg} listed in separate lines within +a file @file{split.txt} with @command{ffplay} use the command: +@example +ffplay concatf:split.txt +@end example +Where @file{split.txt} contains the lines: +@example +split1.mpeg +split2.mpeg +split3.mpeg +@end example + @section crypto AES-encrypted stream reading protocol. |