Skip to content

bento:mp42hls

bento:mp42hls

Bento4 base command HLS Full Documentation: bento4.com

Parameter Properties Default Type Choice Description
input required [list value] source MP4 files (optionally prefixed with a stream selector) delimited by [ and ]
verbose optional false bool
hls_version optional
pmt_pid optional
audio_pid optional
video_pid optional
audio_track_id optional
video_track_id optional
audio_format optional
segment_duration optional
segment_duration_threshold optional
index_filename optional
segment_filename_template optional
segment_url_template optional
iframe_index_filename optional
output_single_file optional false bool Store segment data in a single output file per input file
encryption_mode optional Encryption mode (only used when --encryption-key is specified). AES-128 or SAMPLE-AES (default: AES-128)
encryption_key optional Encryption key in hexadecimal. 32 byte key value (64 characters in hex 16BytesCEK16BytesIV) (default: no encryption)
encryption_iv_mode optional Encryption IV mode: 'sequence', 'random' or 'fps' (Fairplay Streaming) (default: sequence). When the mode is 'fps', the encryption key must be 32 bytes: 16 bytes for the key followed by 16 bytes for the IV.
encryption_key_uri optional Encryption key URI (may be a realtive or absolute URI). (default: key.bin)
encryption_key_format optional Encryption key format. (default: 'identity')
encryption_key_format_versions optional Encryption key format versions.