Browse code

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>

Steven Liu authored on 2016/07/13 16:15:06
Showing 1 changed files
... ...
@@ -508,6 +508,17 @@ Emit @code{#EXT-X-PLAYLIST-TYPE:EVENT} in the m3u8 header. Forces
508 508
 @item hls_playlist_type vod
509 509
 Emit @code{#EXT-X-PLAYLIST-TYPE:VOD} in the m3u8 header. Forces
510 510
 @option{hls_list_size} to 0; the playlist must not change.
511
+
512
+@item method
513
+Use the given HTTP method to create the hls files.
514
+@example
515
+ffmpeg -re -i in.ts -f hls -method PUT http://example.com/live/out.m3u8
516
+@end example
517
+This example will upload all the mpegts segment files to the HTTP
518
+server using the HTTP PUT method, and update the m3u8 files every
519
+@code{refresh} times using the same method.
520
+Note that the HTTP server must support the given method for uploading
521
+files.
511 522
 @end table
512 523
 
513 524
 @anchor{ico}