aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-08 14:48:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-08 15:00:36 +0100
commitb28c37156782e563341e1bccc1a15dfbc01a569f (patch)
treefc8ef8978bf3d9fd44248d3e4ec2caed36edcd3f /doc
parent24e2a82f75abbe977b7ddab52a90ce4d3e57a9f8 (diff)
parent6bffa83bbeac4820f7705188e20f2e307e832fd7 (diff)
downloadffmpeg-b28c37156782e563341e1bccc1a15dfbc01a569f.tar.gz
Merge remote-tracking branch 'cigaes/master'
* cigaes/master: lavf/concatdec: reindent after last commit. lavf/concatdec: more reliable test for absolute URLs. lavf: add subfile protocol. lavfi/af_atempo: clear references before returning error. lavd/xv: take aspect ratio into account. lavc/pthread: copy packet side data. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r--doc/protocols.texi24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 304b216f43..c39ab614f3 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -951,6 +951,30 @@ this binary block are used as master key, the following 14 bytes are
used as master salt.
@end table
+@section subfile
+
+Virtually extract a segment of a file or another stream.
+The underlying stream must be seekable.
+
+Accepted options:
+@table @option
+@item start
+Start offset of the extracted segment, in bytes.
+@item end
+End offset of the extracted segment, in bytes.
+@end table
+
+Examples:
+
+Extract a chapter from a DVD VOB file (start and end sectors obtained
+externally and multiplied by 2048):
+@example
+subfile,,start,153391104,end,268142592,,:/media/dvd/VIDEO_TS/VTS_08_1.VOB
+@end example
+
+Play an AVI file directly from a TAR archive:
+subfile,,start,183241728,end,366490624,,:archive.tar
+
@section tcp
Transmission Control Protocol.