summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorGyan Doshi <gyandoshi@gmail.com>2017-11-15 17:36:19 +0530
committerNicolas George <george@nsup.org>2017-11-19 19:11:50 +0100
commite75fe0ef213074381c09e074f1f9619012f1ffad (patch)
tree0aa5ee1ee379af89ad348dfdeab49bd6e708d63b /doc/protocols.texi
parent4f4e19914ddca5096bf7639c7c99a9045e436e8b (diff)
avformat/subfile: allow to extract till EOF
Users can set end offset as 0 to extract till end of file. Tested locally and documented.
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 4d48f8a411..8661aea147 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1186,6 +1186,7 @@ Accepted options:
Start offset of the extracted segment, in bytes.
@item end
End offset of the extracted segment, in bytes.
+If set to 0, extract till end of file.
@end table
Examples:
@@ -1201,6 +1202,11 @@ Play an AVI file directly from a TAR archive:
subfile,,start,183241728,end,366490624,,:archive.tar
@end example
+Play a MPEG-TS file from start offset till end:
+@example
+subfile,,start,32815239,end,0,,:video.ts
+@end example
+
@section tee
Writes the output to multiple protocols. The individual outputs are separated