[FFmpeg-cvslog] doc/protocols: document http protocol options

Stefano Sabatini git at videolan.org
Sat Jan 12 10:56:02 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri Jan 11 11:51:26 2013 +0100| [0a7cd740438b46e3b9fbf406ca5a948a6f027c97] | committer: Stefano Sabatini

doc/protocols: document http protocol options

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a7cd740438b46e3b9fbf406ca5a948a6f027c97
---

 doc/protocols.texi |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/doc/protocols.texi b/doc/protocols.texi
index a36d2a3..c6579bb 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -128,6 +128,43 @@ m3u8 files.
 
 HTTP (Hyper Text Transfer Protocol).
 
+This protocol accepts the following options.
+
+ at table @option
+ at item seekable
+Control seekability of connection. If set to 1 the resource is
+supposed to be seekable, if set to 0 it is assumed not to be seekable,
+if set to -1 it will autodetect the seekability. Default value is -1.
+
+ at item chunked_post
+If set to 1 use chunked transfer-encoding for posts, default is 1.
+
+ at item headers
+Set custom HTTP headers, can override built in default headers. The
+value must be a string encoding the headers.
+
+ at item content_type
+Force a content type.
+
+ at item user-agent
+Override User-Agent header. If not specified the protocol will use a
+string describing the libavformat build.
+
+ at item multiple_requests
+Use persistent connections if set to 1. By default it is 0.
+
+ at item post_data
+Set custom HTTP post data.
+
+ at item timeout
+Set timeout of socket I/O operations used by the underlying low level
+operation. By default it is set to -1, which means that the timeout is
+not specified.
+
+ at item mime_type
+Set MIME type.
+ at end table
+
 @section mmst
 
 MMS (Microsoft Media Server) protocol over TCP.



More information about the ffmpeg-cvslog mailing list