Re: [FFmpeg-devel] [PATCH 2/2] refine the method option describe of hlsenc doc
On Tue, Jul 12, 2016 at 21:36:54 +0800, Steven Liu wrote: > resend the patch, delete the trailing whitespace and check patch by > ./tools/patcheck I reviewed the older patch (sorry!), but the grammar comments still apply. Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH 2/2] refine the method option describe of hlsenc doc
On Tue, Jul 12, 2016 at 11:55:39 +0800, Steven Liu wrote: Grammar: > +@item method > +Use HTTP method to operation the hls files, -> "Use the given HTTP method to create the hls files." Or something like this. I couldn't figure it out from the code: How about listing the allowed methods? > +This example will upload all the mpegts segment files to HTTP server use > HTTP PUT method, > +and update the m3u8 files every refresh times use HTTP PUT method. -> "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 the HTTP server must support the PUT method and upload files. -> "Note that the HTTP server must support the given method for uploading files." Moritz ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH 2/2] refine the method option describe of hlsenc doc
resend the patch, delete the trailing whitespace and check patch by ./tools/patcheck Signed-off-by: LiuQi--- doc/muxers.texi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index bf5bc82..f6fc8e5 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -520,6 +520,15 @@ 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 HTTP method to operation 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 HTTP server use HTTP PUT method, +and update the m3u8 files every refresh times use HTTP PUT method. +Note the HTTP server must support the PUT method and upload files. @end table @anchor{ico} -- 1.7.1 0002-refine-the-method-option-describe-of-hlsenc-doc.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH 2/2] refine the method option describe of hlsenc doc
Signed-off-by: LiuQi--- doc/muxers.texi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index bf5bc82..f6fc8e5 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -520,6 +520,15 @@ 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 HTTP method to operation 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 HTTP server use HTTP PUT method, +and update the m3u8 files every refresh times use HTTP PUT method. +Note the HTTP server must support the PUT method and upload files. @end table @anchor{ico} -- 1.7.1 0002-refine-the-method-option-describe-of-hlsenc-doc.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel