diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-01-17 09:07:28 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-02-02 20:55:50 +0800 |
commit | 38caef3876bb968cf85f44b20f6efb94fcb4b3ef (patch) | |
tree | 60a268860b02f04b7e729efca8812aac3087d5b0 /doc/muxers.texi | |
parent | 3c41d0bfd6041890b394a3e6eb2f8da92b83416b (diff) |
avformat/hlsenc: use AV_OPT_TYPE_DURATION
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r-- | doc/muxers.texi | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi index 8e12acaa28..1f9f2937f8 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -609,14 +609,21 @@ segmentation. This muxer supports the following options: @table @option -@item hls_init_time @var{seconds} -Set the initial target segment length in seconds. Default value is @var{0}. +@item hls_init_time @var{duration} +Set the initial target segment length. Default value is @var{0}. + +@var{duration} must be a time duration specification, +see @ref{time duration syntax,,the Time duration section in the ffmpeg-utils(1) manual,ffmpeg-utils}. + Segment will be cut on the next key frame after this time has passed on the first m3u8 list. After the initial playlist is filled @command{ffmpeg} will cut segments at duration equal to @code{hls_time} -@item hls_time @var{seconds} -Set the target segment length in seconds. Default value is 2. +@item hls_time @var{duration} +Set the target segment length. Default value is 2. + +@var{duration} must be a time duration specification, +see @ref{time duration syntax,,the Time duration section in the ffmpeg-utils(1) manual,ffmpeg-utils}. Segment will be cut on the next key frame after this time has passed. @item hls_list_size @var{size} |