Configure input
Connect to SCTE-224 events database
Input tab section allows Stream Conditioning service to connect to the list of events formatted using SCTE 224 standard (media points). In other words, Input section connects to a SCTE 224 database, and maps media points into video headend operations (such as switch to blackout using ESAM for instance). Mapping of media points over ESAM or SCTE-104 controls is stored in a separate database.
-
Click the Input tab.
-
Enter and/or select the appropriate value for each parameter:
Once the connection to the SCTE-224 events database is configured, you need to configure the way media points will be converted into operations. Indeed, a Media (identified by its Media ID) contains a collection of Media Points.
These Media points provide information about:
-
When the event shall be triggered (@matchTime attribute, @effective and @expire may also be used to provide validity window).
-
SCTE-35 in-band trigger conditions (via
<asset>section). -
The policy to apply or remove. A policy being a collection of viewing policies.
Translations: identify events using Media point filtering
Events (SCTE-224 media points) must be mapped to ESAM/SCTE-104 or SCTE-30 controls.
To configure media point filtering, proceed as follows:
-
From the Input tab, go to the Translations section then click Add rule.
-
Enter and/or select the appropriate value for each parameter:
Translations: Operations
Stream Conditioning implements different types of operations that may be grouped in two categories:
Standard operations
Alternate content and SCTE-35. These operations are based on standard and supported by any device compatible ESAM/SCTE-104/SCTE-30.
Advanced operations
Image overlay, Animation, slate and video clip operations require specific functionalities only available within MediaKind portfolio (Live Encoder for instance).
Operation: General parameters
To configure one or more operation(s) associated with the filtering of events configured in the previous section, follow these steps:
-
From the Input tab, go to the Operations section then click Add.
-
Enter and/or select the appropriate value for each parameter:
The next sections provide information regarding the configuration of the different types of operations, as well as scheduling restrictions, ESAM properties and fallback operations.
Operation: Alternate Content
When selecting Live Alternate content type of operation, the following configuration is expected:
When the Input ID field is left blank, this implicitly means a return to “default” asset. In the case of a live to live stream switching for instance, configuring a blank value will lead to returning to main live stream.
Scheduling, ESAM properties and Fallback operation tabs are common to all operations. Please refer to:
-
Operation (all): Scheduling configuration
-
Operation: ESAM properties
-
Operation: Fallback operation
Operation: SCTE-35
SCTE-35 operation can be used for two main purposes:
-
SCTE-35 insertion: Stream Conditioning controls the encoder or TS processor to insert a given SCTE-35 in its output stream. In this case, Scheduling mode shall be set to Time-based. This mode is also referred to as “out-of-band”.
-
SCTE-35 rewrite: This operation is aimed at modifying the incoming SCTE-35 to normalize the information for instance (rewriting descriptors, translating the SCTE-35 commands from splice insert to time signal). In this case, Scheduling mode shall be set to SCTE-35 Signal-based and Discard incoming signal must be checked (to avoid two signals in the output stream).
Auto scheduling mode (following SCTE-224) can be used in either SCTE-35 insertion or SCTE-35 management use case. We do not recommend using this mode for SCTE-35 operations as it may lead to unexpected behavior.
SCTE-35 Insertion
To configure out-of-band (time-based) SCTE-35 insertion, follow these steps:
-
Make sure Scheduling mode is set to Time-based.
-
Under the Operation tab, set Type to SCTE-35 from the list of available type of operations.
-
Configure Splice info: under the Splice info tab, select Splice info type from the list of SCTE-35 command types.
The set of parameters to configure will depend on the selected command. Users shall be familiar with the SCTE-35 standard. The main commands used are generally the following one: Splice Insert and Time Signal. Some parameters can be automatically configured (retrieved from the media point/event schedule), for instance the Break duration or segmentation duration. The figure below shows a Splice insert command configuration example with Break duration set automatically to the duration of the media point policy.
Any SCTE-35 message, whether it’s a splice null, splice insert etc. contains a splice info section, as well as (optionally) a set of one or more segmentation descriptors. These segmentation descriptors are used to convey additional information and characterize the placement opportunity.
-
Configure segmentation descriptors:
Click the Splice descriptors tab.
- Click the Add descriptor button then select SegmentationDescriptor.
The configuration of all the different fields is user-defined and aligned with the SCTE-35 standard. Some fields can be configured automatically based on the event it is attached to (such as Policy Duration for the segmentation duration).
SCTE-35 Rewriting
SCTE-35 signal submitted by an encoder or TS processor can be modified using Stream Conditioning.
To configure SCTE-35 rewriting, follow these steps:
-
Make sure that Scheduling mode is set to SCTE-35 Signal-based.
-
Under the Operation tab, set Type to SCTE-35 from the list of available type of operations.
-
Under the Splice info section, check the Use source as template option if you want to keep the SCTE-35 as is, and just modify attached segmentation descriptors for instance. You still have the possibility to override few parameters such as event ID or break duration for splice insert type of commands as show below.
-
Uncheck this option if you want to convert an SCTE-35 splice insert into time signal for instance (and vice versa).
Configure splice info: see example below where we assuming that time signal SCTE-35 are received and translated into Splice insert type of command.
- Modify the incoming SCTE-35 descriptors: go to the Source splice descriptors section then click Add modifier then select whether you want to remove or rewrite segmentation descriptors from the SCTE-35 signal.
If you select Remove, configure the filter to identify the segmentation descriptor that needs to be deleted. The figure below shows an example of SCTE-35 rewrite where Stream Conditioning deletes the segmentation descriptor of type program start.
-
If you select Rewrite, configure the filter to identify the segmentation descriptor to rewrite/modify. Then, under override section, select the field to modify and configure its value.
-
To add segmentation descriptors to the SCTE-35 submitted to Stream Conditioning: go to Additional splice descriptors section, click on Add descriptor then select SegmentationDescriptor and configure the segmentation descriptor, either manually, or leveraging pre-defined value (such as splice duration or segmentation duration for instance).
Advanced Operation: image overlay
Image overlay operation is used for use cases such as logo insertion. It allows controlling the insertion of an image on top of ongoing video. Parameters such as width, height, and X-Y coordinate must be configured to determine size and position of the image overlay.
To configure image overlay operation, follow these steps:
-
From the Operation tab set the Type to Image overlay.
-
Enter and/or select the appropriate value for each parameter:
- Click Ok to validate. The new operation is added to the list of operations.
Advanced Operation: Animation
When combining Stream Conditioning with MediaKind Encoding Live, linear transcoded channel can be combined with Flash animation. Encoding Live embeds a Flash decoding module, enabling composing of Flash animation with the video. Flash animation can be used for:
-
Providing crawling functionality (for Emergency Alert System (EAS) application).
-
Promoting a service, while keeping the live channel (stretch video, and use space for advertising or promo).
To configure animation type of operation, follow these steps:
-
From the Operation tab set the Type to Animation.
-
Enter and/or select the appropriate value for each parameter:
- Click Ok to validate. The new operation is added to the list of operations.
Advanced Operation: Slate
Stream Conditioning can control a target device to enable slate insertion. An obvious use case being global blackout at the encoder, or TS processing component level. Contrary to Image overlay, the underlying live channel is entirely replaced by the slate, either rat the baseband level, or TS level for instance.
To configure slate insertion, follow these steps:
-
From the Operation tab set the Type to Slate.
-
Enter and/or select the appropriate value for each parameter:
- Click Ok to validate. The new operation is added to the list of operations.
Advanced Operation: Video clip
Stream Conditioning can control live to file and file to live video switching using operation type “Video clip”. This operation, like “Image overlay” or “Animation” requires support of such behavior at the target device level.
Integration with MediaKind Live Encoder only supports video clip file in MPEG-TS file format.
To configure video clip, follow these steps:
-
From the Operation tab set the Type to Video clip.
-
Enter and/or select the appropriate value for each parameter:
- Click Ok to validate. The new operation is added to the list of operations.
Scheduling, ESAM properties & Fallback
Scheduling, ESAM properties and Fallback operation tabs are common to all operations.
Please refer to:
-
Operation (all): Scheduling configuration
-
Operation: ESAM properties
-
Operation: Fallback operation
Operation (all): Scheduling configuration
As explained in Translations: Operations, scheduling mode can be automatically set based on media point configuration (using either @matchTime and or @matchSignal attributes), or forced to be time-based or signal-based. In such a case, the Scheduling tab will not appear.
When forcing to Time-based or SCTE-35 signal-based, a Scheduling tab appears to adjust the timing or validity window and matching criteria respectively.
SCTE-35 time-based scheduling mode
To configure Scheduling tab when Scheduling mode is set to Time-based, follow these steps:
- Configure Time: select among the list of available options:
Auto (follow SCTE-224): based on ingested schedule (@matchTime, @effective or @expire attribute of the media point)
-
Match time: force to @matchTime attribute of the media point
-
Effective: force to @effective attribute of the media point
-
Expires: force to @expires attribute of the media point Timing can be adjusted in seconds (positive or negative, for example-30) to launch the operation before or after the time configured in the media point.
SCTE-35 signal-based scheduling mode
When launching operations based on SCTE-35 (submitted by an encoder for instance), a validity window must be configured:
-
if the SCTE-35 falls within the window, the operation will be launched,
-
otherwise, the operation will be canceled.
To configure the Scheduling tab when Scheduling mode is set to SCTE-35 Signal-based, follow these steps:
-
Go to the Scheduling tab.
-
Activate and select the appropriate value for each parameter.
-
Locate the Condition section.
-
Enter and/or select the appropriate value for each parameter:
An example of signal-based scheduling configuration is given in the figure below, where a validity period of 60 seconds surrounding @matchTime is configured, with an Occurrence set to Once, and Custom SCTE-35 matching criteria: only match if time signal and segmentation type ID is set to Program start.
Operation: ESAM properties
When selecting ESAM communication at the Connection tab level, ESAM properties can be configured when configuring the operation.
To configure ESAM properties, follow these steps:
-
Go to the ESAM properties tab.
-
Enter and/or select the appropriate value for each parameter:
Operation: Fallback operation
For Signal-based operation, a fallback may need to be configured in case the SCTE-35 signal is not received during the window validity period.
This is crucial for use cases like blackout, where the switch-over is generally done based on SCTE-35. In case this signal does not show up, a fallback mechanism must be put in place to make sure the restriction is being handled properly.
To configure fallback operation, set the following parameters:
- Define fallback operation: enable or disable operation fallback configuration:
Click the Copy initial operation button to copy the settings from the Operation tab.
- If you want to configure a different operation from the one in Operation tab, configuration is fully customizable, providing the user with all the different operations to be triggered as fallback.