[FFmpeg-devel] [PATCH] refine the method option describe of hlsenc doc

Steven Liu lingjiujianke at gmail.com
Wed Jul 13 10:25:07 EEST 2016


refine the grammar of patch

Thanks for Moritz Barsnick reviewed!


Signed-off-by: LiuQi <liuqi at gosun.com>
Reviewed-by: Moritz Barsnick <barsnick at gmx.net>
---
 doc/muxers.texi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 15b63f4..1b99c7e 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.
+
+ at item method
+Use the given HTTP method to create the hls files.
+ at example
+ffmpeg -re -i in.ts -f hls -method PUT http://example.com/live/out.m3u8
+ at 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
+ at code{refresh} times using the same method.
+Note that the HTTP server must support the given method for uploading
+files.
 @end table

 @anchor{ico}
--
2.7.4 (Apple Git-66)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-refine-the-method-option-describe-of-hlsenc-doc.patch
Type: application/octet-stream
Size: 1217 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160713/6d8ba39d/attachment.obj>


More information about the ffmpeg-devel mailing list