Live Encoder Configuration

Configuring a Live encoding service is a 3-step procedure:

  1. Step #1: Create a Live encoding service.
  2. Step #2: Configure the Live Encoding service
  3. Step #3: Assign a server to run the service.

Step #1: Create a Live encoding service

Select Services > Add service > Live encoding. The service General tab is displayed.

Step #2: Configure the Live Encoding service

To configure Live Encoder, follow these steps:

  1. Configure service general parameters.
  2. Configure input parameters.
  3. Configure encoding parameters.
  4. Configure output parameters.

Configure service general parameters

  1. From the General tab, enter a service name, in our example, st2110-eas.

  2. Enter the name of the ESAM network interface, in our example, we are using the management interface, eth0.

  3. Tick the Activate checkbox to enable the Automation features then configure the parameters:

    ParameterValueDescription
    Interface TypeESAMProtocol used with automation system.
    POIS URLhttps://alambix.mk.com:8080/api/esam/
    streamConditionings/st2110-eas_Zone1
    URL on which Live Encoder will return status to Prisma.
    http://<controllerVIP>:<prisma.controller.port>/api/esam/
    streamConditionings/<endPointID>
    Note: <endPointID> corresponds to the ID of the Stream Conditioning service that you previously created on Prisma.
    <endPointID> must be the same as the <service name_POIS network name>, in our example, st2110-eas_Zone1
    POIS network namest2110-easID shared with the POIS for the current channel.
    Same as the Network name in Stream Conditioning > Connections.
    POIS zone identityZone1The area ID for this channel distribution. Commonly used for regionalization.
    Same as the Zone identity in Stream Conditioning > Connections.
    Assets directory(Leave empty)You can specify the directory where assets are stored. Must be an absolute directory path (starting by "/"). For logo and blackout files, an http url is also possible.

    You should have the following configuration:

Configure input parameters

  1. Open the Input tab to configure input according to your network configuration.

  2. Configure the General parameters: select MediaComposer for input Type.

  3. Configure the Live source management parameters:

    ParameterValueDescription
    Default service IDst2110-easID of the live content that will be used at the start of the service. You can either:
    - select an existing ID. If required, this ID can be directly modified via the button.
    - or create a new ID: either immediately by clicking the + button, or later from the Settings > Live service lineup left-side menu panel.
    Note: IDs are defined in the lineup configuration file.
    Default frame rate50pDefault frame rate used when live input is not yet detected.
  4. Configure the File source management parameters:

    ParameterValueDescription
    Auto Return to LiveTick this checkbox.If checked, returns to live at end of the offline source playlist.
    Note: Unused in Switch to Live use case.
    Return to Live on errorTick this checkbox.If checked, returns to live if offline source playlist cannot be loaded.
    Note: Unused in Switch to Live use case.
  5. Configure the Sources:

    1. Configure the MPEG-2 TS/UDP parameters:

      ParameterValueDescription
      Input redundancyActive/PassiveChoose the redundancy settings. Two modes can be set when two multicast sources (primary and secondary) are available:
      - In Active/Passive mode, the passive source is idle and doesn't even join the multicast address or capture UDP packets.
      - In Active/Active mode, both sources capture in parallel, provide statistics on transport and demux layers, but only one source is fully decoded at any given time.
      Primary interfaceeth2Name of the input interface used to capture the input stream.
      Note: In our example, we are using the management interface.
      Secondary interface(Leave empty)Name of the input interface used to capture the input stream (secondary source).
      Note: Only necessary in case of Active/Active redundancy.
    2. Click the Add SMPTE ST 2110 source button then configure the SMPTE ST 2110 parameters:

      ParameterValueDescription
      Input redundancyNoneChoose the redundancy settings: two modes can be set when two multicast sources (primary and secondary) are available.
      In active/passive mode, the passive source is idle and doesn't even join the multicast address or capture UDP packets.
      In active/active mode, both sources capture in parallel, provide statistics on transport and demux layers, but only one source is fully decoded at any given time.
      NMOS EnabledLeave unchecked.Enables NMOS for EL service.
      Primary network interfaceenp175s0f1Name of the input interface used to capture the input stream.
      Note: In our example, we are using the management interface.
  6. Configure the Input streams selection.

In our example we only have one video and one audio stream.

  1. Configure the Out of band stream to receive information from Prisma.

    ParameterValueDescription
    TypeSCTE-35 OOBSelect the type of metadata.
    Network namest2110-easCorresponds to the Acquisition Point Identity defined in the ESAM specification.
    Zone identityZone1Corresponds to the Zone Identity defined in the ESAM specification.
    Recover conditioning state if failoverLeave to NoSelecting POIS enables to keep the conditioning status after an encoder failover by asking to an external system. It requires entering the POIS URL and network interface name.
    Automation streamTick this checkbox.Activates Live Encoder out-of band interface to communicate with Prisma.

    You should have the following configuration for the out-of-band stream:

  2. Click OK to validate. You should have the following configuration for the Input tab:

  3. Click Save and continue to save your changes.

  4. Leave the Media processing parameters unchanged.

Configure encoding parameters

  1. From the Encoding tab, create the following streams:

    • Video stream,
    • Audio stream,
    • Metadata stream.
  2. Click Save and continue to save your changes.

Configure output parameters

  1. Open the Output tab then click Add an output.

  2. Configure the General parameters according to your network configuration, especially check that GOP signaling is set to EBP based to be compliant with Live Packaging.

  3. Leave the Common MPEG-2 TS parameters unchanged.

  4. Configure the Output stream for this service:

    1. Scroll to Output streams, then click Add.

    2. Configure the output stream:

      • IP Address: address to output the stream
      • Port: port number to stream on
    3. Select the encodings to include in the output stream:

      • Video encoding for this output stream
      • At least one audio encoding
      • Metadata encoding

      You should have the following configuration:

    4. Click OK.

  5. Click Save and exit to save and finalize your service configuration and go back to the Services page.

  6. Go to Step #4: Assign a server to run the service.

Step #3: Assign a server to run the service

Services require a server to run. Select a server for each service before starting the service.

  1. Display services.
  2. Click the field in the Mandatory column to display available servers.
  3. Enter a server name or select a server from the list.
  4. Click to start the service.
  5. Click to display service details and to monitor the service.
  6. Continue to Create an alternate content operation.