Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Liu <lingjiujianke@gmail.com>2016-07-13 10:15:06 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-07-15 17:24:28 +0300
commitb701ec4152b8e735c6fee8dfaa538f2c0ef4deb9 (patch)
tree63ab6fdd835f02b1516d686109e5e3b931e6c3ee /doc/muxers.texi
parent25ca74d314c3c37f7656dd5ff1a66e743f2d0fa3 (diff)
refine the method option describe of hlsenc doc
Signed-off-by: LiuQi <liuqi@gosun.com> Reviewed-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index 15b63f4d0f..1b99c7e755 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -508,6 +508,17 @@ Emit @code{#EXT-X-PLAYLIST-TYPE:EVENT} in the m3u8 header. Forces
@item hls_playlist_type vod
Emit @code{#EXT-X-PLAYLIST-TYPE:VOD} in the m3u8 header. Forces
@option{hls_list_size} to 0; the playlist must not change.
+
+@item method
+Use the given HTTP method to create the hls files.
+@example
+ffmpeg -re -i in.ts -f hls -method PUT http://example.com/live/out.m3u8
+@end example
+This example will upload all the mpegts segment files to the HTTP
+server using the HTTP PUT method, and update the m3u8 files every
+@code{refresh} times using the same method.
+Note that the HTTP server must support the given method for uploading
+files.
@end table
@anchor{ico}