m3u8_edit:add_hdcp_level
m3u8_edit:add_hdcp_level¶
Adds the HDCP-LEVEL
to an HLS master playlist.
* input_master_playlist
input master playlist to edit. If output_master_playlist not specified, this file is overwritten.
* output_master_playlist
the output master playlist to save to. If not specified, the input is overwritten.
* hdcp_type_0_min_width
streams with width equal to or higher to this value will have "TYPE-0" HDCP level specified
* hdcp_type_1_min_width
streams with width equal to or higher to this value will have "TYPE-1" HDCP level specified
Example:
{
"tool": "m3u8_edit:add_hdcp_level",
"parameters": {
"input_master_playlist": "master.m3u8",
"hdcp_type_1_min_width": "1280",
"hdcp_type_0_min_width": "0"
}
}
Parameter | Properties | Default | Type | Choice | Description |
---|---|---|---|---|---|
input_master_playlist | required | Master playlist to edit. | |||
hdcp_type_1_min_width | required | Minimum width to assign TYPE-1 HDCP-LEVEL | |||
hdcp_type_0_min_width | required | Minimum width to assign TYPE-0 HDCP-LEVEL | |||
output_master_playlist | optional | Updated master playlist. If empty, the input is overwritten. |