From b45a976ed4d43ab9edc5b846802ee6f973d75a1b Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Thu, 7 Jul 2016 06:51:20 +0800 Subject: add split_by_time flag for support splite mpegts segment at non-keyframe support split hls segment at duration set by hls_time Signed-off-by: LiuQi Signed-off-by: Michael Niedermayer --- doc/muxers.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/muxers.texi') diff --git a/doc/muxers.texi b/doc/muxers.texi index c2ca0ba92d..d416c420e6 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -495,6 +495,12 @@ Will produce the playlist, @file{out.m3u8}, and a single segment file, Segment files removed from the playlist are deleted after a period of time equal to the duration of the segment plus the duration of the playlist. +@item hls_flags split_by_time +If this flags is set, allow segments to start on frames other than keyframes. +Thisimproves 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. + @item hls_playlist_type event Emit @code{#EXT-X-PLAYLIST-TYPE:EVENT} in the m3u8 header. Forces @option{hls_list_size} to 0; the playlist can only be appended to. -- cgit v1.2.3