提交 41ad6d19 编写于 作者: liuqi_123's avatar liuqi_123 提交者: Michael Niedermayer

doc/muxers: improve hlsenc description

Signed-off-by: NMoritz Barsnick <barsnick@gmx.net>
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 6f074678
......@@ -396,8 +396,8 @@ which can be cyclic, for example if the @option{wrap} option is
specified.
@item hls_segment_filename @var{filename}
Set the segment filename. Unless hls_flags single_file is set @var{filename}
is used as a string format with the segment number:
Set the segment filename. Unless @code{hls_flags single_file} is set,
@var{filename} is used as a string format with the segment number:
@example
ffmpeg in.nut -hls_segment_filename 'file%03d.ts' out.m3u8
@end example
......@@ -507,10 +507,10 @@ first segment's information.
Do not append the @code{EXT-X-ENDLIST} tag at the end of the playlist.
@item hls_flags split_by_time
If this flags is set, allow segments to start on frames other than keyframes.
This improves behavior on some players when the time between keyframes is
inconsistent, but may make things worse on others, and can cause some oddities
during seeking. This flag should be used with hls_time option.
Allow segments to start on frames other than keyframes. This improves
behavior on some players when the time between keyframes is inconsistent,
but may make things worse on others, and can cause some oddities during
seeking. This flag should be used with the @code{hls_time} option.
@item hls_playlist_type event
Emit @code{#EXT-X-PLAYLIST-TYPE:EVENT} in the m3u8 header. Forces
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册