How to passthrough SCTE35 Messages
Quortex I/O provides the ability to passthrough incoming SCTE35 Messages to be used for downstream Ad Insertion or content manipulation mechanisms.
Like the rest of Quortex I/O configurations, this is pretty straight forward.
First step is to confirm that SCTE Messages are received in the Input Stream and enable them.
To do so, navigate to the Input Section, select your source and click on the settings button. After that navigate to the analysis tab.
If you see this View, it means that the Source contains an SCTE PID (103 in the example). The only thing left to do is to enable the PID on the Input.
Click on Edit Tracks and enable the desired PID.
Voila! you are done with the Input
Second and last step is to configure SCTE in the Target. To do so, navigate to the Targets Section, click on the target you want to add SCTE to and hit the SCTE-35 tab.
The SCTE Option is available for both, HLS and DASH Targets.
There are two ways to configure SCTE-35 here, first and default way is to manually exclude markers that you don't want to be part of your output stream. If you leave the field empty, all incoming messages will be passed.
Second Option is to manually include only specific markers, if that option is selected and the field remains empty, nothing is passed to the output.
In order to confirm that the configuration is correct and the passthrough works, the easiest way is to curl the manifest and check if messages are inserted.
The output should look like this if everything is correct:
Congratulations, you can now start using Ad Insertion to monetize your streams.
Like the rest of Quortex I/O configurations, this is pretty straight forward.
Input Configuration
First step is to confirm that SCTE Messages are received in the Input Stream and enable them.
To do so, navigate to the Input Section, select your source and click on the settings button. After that navigate to the analysis tab.
If you see this View, it means that the Source contains an SCTE PID (103 in the example). The only thing left to do is to enable the PID on the Input.
Click on Edit Tracks and enable the desired PID.
Voila! you are done with the Input
Target
Second and last step is to configure SCTE in the Target. To do so, navigate to the Targets Section, click on the target you want to add SCTE to and hit the SCTE-35 tab.
The SCTE Option is available for both, HLS and DASH Targets.
There are two ways to configure SCTE-35 here, first and default way is to manually exclude markers that you don't want to be part of your output stream. If you leave the field empty, all incoming messages will be passed.
Second Option is to manually include only specific markers, if that option is selected and the field remains empty, nothing is passed to the output.
Confirm the Configuration
In order to confirm that the configuration is correct and the passthrough works, the easiest way is to curl the manifest and check if messages are inserted.
curl 'https://abcde.live.quortex.io/my_input/my_processing/my_target/my_rendition/index.m3u8/mpd'
The output should look like this if everything is correct:
#EXTINF:6.000,
/c5dxnh4/59cd0b34-8187-4bf5-83a1-39726f839a0c/vL6CY36/d8db075c-f5e3-4192-b00e-6b94cd5e5e68/NA/f8e633f0-3986-4c17-b527-427677a17e42/segment_276010218.m4s?input=inpu_XYjLn6GI&processing=proc_M7augWv7&target=targ_632EUdfs&publish=/vm1_test_channel/my_1080p_25_fps/my_hls_target/index.m3u8&device=Desktop
#EXT-X-CUE-OUT-CONT:elapsed_time="181.013",Duration="210.000",SCTE35=/DA9AAAAAAAAAP/wFAVAAJklf+/+YvRw0f4BIGQgY5sAAAAWAhRDVUVJAAAnEX//AAEgZCAAACIAAAAAQCGTXQ==
#EXTINF:6.000,
/c5dxnh4/59cd0b34-8187-4bf5-83a1-39726f839a0c/vL6CY36/d8db075c-f5e3-4192-b00e-6b94cd5e5e68/NA/f8e633f0-3986-4c17-b527-427677a17e42/segment_276010219.m4s?input=inpu_XYjLn6GI&processing=proc_M7augWv7&target=targ_632EUdfs&publish=/vm1_test_channel/my_1080p_25_fps/my_hls_target/index.m3u8&device=Desktop
#EXT-X-CUE-OUT-CONT:elapsed_time="187.013",Duration="210.000",SCTE35=/DA9AAAAAAAAAP/wFAVAAJklf+/+YvRw0f4BIGQgY5sAAAAWAhRDVUVJAAAnEX//AAEgZCAAACIAAAAAQCGTXQ==
#EXTINF:6.000,
/c5dxnh4/59cd0b34-8187-4bf5-83a1-39726f839a0c/vL6CY36/d8db075c-f5e3-4192-b00e-6b94cd5e5e68/NA/f8e633f0-3986-4c17-b527-427677a17e42/segment_276010220.m4s?input=inpu_XYjLn6GI&processing=proc_M7augWv7&target=targ_632EUdfs&publish=/vm1_test_channel/my_1080p_25_fps/my_hls_target/index.m3u8&device=Desktop
#EXT-X-CUE-OUT-CONT:elapsed_time="193.013",Duration="210.000",SCTE35=/DA9AAAAAAAAAP/wFAVAAJklf+/+YvRw0f4BIGQgY5sAAAAWAhRDVUVJAAAnEX//AAEgZCAAACIAAAAAQCGTXQ==
#EXTINF:6.000,
/c5dxnh4/59cd0b34-8187-4bf5-83a1-39726f839a0c/vL6CY36/d8db075c-f5e3-4192-b00e-6b94cd5e5e68/NA/f8e633f0-3986-4c17-b527-427677a17e42/segment_276010221.m4s?input=inpu_XYjLn6GI&processing=proc_M7augWv7&target=targ_632EUdfs&publish=/vm1_test_channel/my_1080p_25_fps/my_hls_target/index.m3u8&device=Desktop
#EXT-X-CUE-OUT-CONT:elapsed_time="199.013",Duration="210.000",SCTE35=/DA9AAAAAAAAAP/wFAVAAJklf+/+YvRw0f4BIGQgY5sAAAAWAhRDVUVJAAAnEX//AAEgZCAAACIAAAAAQCGTXQ==
#EXTINF:6.000,
/c5dxnh4/59cd0b34-8187-4bf5-83a1-39726f839a0c/vL6CY36/d8db075c-f5e3-4192-b00e-6b94cd5e5e68/NA/f8e633f0-3986-4c17-b527-427677a17e42/segment_276010222.m4s?input=inpu_XYjLn6GI&processing=proc_M7augWv7&target=targ_632EUdfs&publish=/vm1_test_channel/my_1080p_25_fps/my_hls_target/index.m3u8&device=Desktop
#EXT-X-CUE-OUT-CONT:elapsed_time="205.013",Duration="210.000",SCTE35=/DA9AAAAAAAAAP/wFAVAAJklf+/+YvRw0f4BIGQgY5sAAAAWAhRDVUVJAAAnEX//AAEgZCAAACIAAAAAQCGTXQ==
#EXTINF:5.000,
/c5dxnh4/59cd0b34-8187-4bf5-83a1-39726f839a0c/vL6CY36/d8db075c-f5e3-4192-b00e-6b94cd5e5e68/NA/f8e633f0-3986-4c17-b527-427677a17e42/segment_276010223.m4s?input=inpu_XYjLn6GI&processing=proc_M7augWv7&target=targ_632EUdfs&publish=/vm1_test_channel/my_1080p_25_fps/my_hls_target/index.m3u8&device=Desktop
#EXT-X-CUE-OUT-CONT:elapsed_time="210.013",Duration="210.000",SCTE35=/DA9AAAAAAAAAP/wFAVAAJklf+/+YvRw0f4BIGQgY5sAAAAWAhRDVUVJAAAnEX//AAEgZCAAACIAAAAAQCGTXQ==
#EXT-X-CUE-IN
#EXTINF:1.000,
/c5dxnh4/59cd0b34-8187-4bf5-83a1-39726f839a0c/vL6CY36/d8db075c-f5e3-4192-b00e-6b94cd5e5e68/NA/f8e633f0-3986-4c17-b527-427677a17e42/segment_276010224.m4s?input=inpu_XYjLn6GI&processing=proc_M7augWv7&target=targ_632EUdfs&publish=/vm1_test_channel/my_1080p_25_fps/my_hls_target/index.m3u8&device=Desktop
Congratulations, you can now start using Ad Insertion to monetize your streams.
Updated on: 01/03/2024
Thank you!