HTTP LIVE STREAMING (HLS)¶
The Bento4 tools support HLS in several ways
HLS With MP4¶
HLS With MPEG2 TS¶
mp4hls is a high level tool that facilitates the use of the lower-level tool
mp4hls will invoke the
mp42hls tool, once for each input, in order to create a multi-bitrate HLS presentation.
mp4dash for HLS with MP4 segments (a.k.a
mp4hls tool only supports creating "legacy" HLS presentations, where the media segments are in MPEG2 TS format. Unless it isn't supported by the players you are targetting, we recommend using HLS with fMP4 segments, as this is compatible with MPEG DASH, and likely what is expected by modern environments.
See the MPEG DASH page for details on how to use the
mp4dash tool, which supports both MPEG DASH and HLS
mp4hls documenation for details on how to use the tool.
mp42hls is the low-level tool that can create an HLS output for a single MP4 input file.
mp42hls documentation for details on how to use the tool.