doc/muxers: improve hlsenc description

Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Steven Liu 2016-07-18 20:10:25 +08:00 committed by Michael Niedermayer
parent 6f07467831
commit 41ad6d193a

View File

@ -396,8 +396,8 @@ which can be cyclic, for example if the @option{wrap} option is
specified. specified.
@item hls_segment_filename @var{filename} @item hls_segment_filename @var{filename}
Set the segment filename. Unless hls_flags single_file is set @var{filename} Set the segment filename. Unless @code{hls_flags single_file} is set,
is used as a string format with the segment number: @var{filename} is used as a string format with the segment number:
@example @example
ffmpeg in.nut -hls_segment_filename 'file%03d.ts' out.m3u8 ffmpeg in.nut -hls_segment_filename 'file%03d.ts' out.m3u8
@end example @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. Do not append the @code{EXT-X-ENDLIST} tag at the end of the playlist.
@item hls_flags split_by_time @item hls_flags split_by_time
If this flags is set, allow segments to start on frames other than keyframes. Allow segments to start on frames other than keyframes. This improves
This improves behavior on some players when the time between keyframes is behavior on some players when the time between keyframes is inconsistent,
inconsistent, but may make things worse on others, and can cause some oddities but may make things worse on others, and can cause some oddities during
during seeking. This flag should be used with hls_time option. seeking. This flag should be used with the @code{hls_time} option.
@item hls_playlist_type event @item hls_playlist_type event
Emit @code{#EXT-X-PLAYLIST-TYPE:EVENT} in the m3u8 header. Forces Emit @code{#EXT-X-PLAYLIST-TYPE:EVENT} in the m3u8 header. Forces