From b701ec4152b8e735c6fee8dfaa538f2c0ef4deb9 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Wed, 13 Jul 2016 15:15:06 +0800 Subject: refine the method option describe of hlsenc doc Signed-off-by: LiuQi Reviewed-by: Moritz Barsnick Signed-off-by: Michael Niedermayer --- doc/muxers.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/muxers.texi') 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} -- cgit v1.2.1