Configure the Live Encoder

Configure the Live Encoder

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

Before you start, ensure you have imported or created a lineup configuration file.

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.

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

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

    ParameterValueDescription
    Interface TypeESAMProtocol used with automation system.
    POIS URLhttp://10.86.89.140:8080/api/esam/
    streamConditionings/SwitchToLive_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.
    POIS network nameSwitchToLiveID 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:

  4. Continue to Configure input parameters.

Configure input parameters

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

  2. Configure General parameters: Select MediaComposer for Type.

  3. Configure the Live source management parameters:

    ParameterValueDescription
    Default service IDTF1ID 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 rate24pDefault frame rate used when live input is not yet detected.
  4. Configure File source management:

    ParameterValueDescription
    Auto Return to LiveTick this checkboxIf 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 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 interfaceeno16780032Name of the input interface used to capture the input stream.
      Note: In our example, we are using the management interface.
      Secondary interfaceLeave empty.Name of the input interface used to capture the input stream (secondary source).
      Note: Only necessary in case of Active/Active redundancy.
    2. Configure Audio and Video inputs.

    3. Configure the Out of band streams to receive information from Prisma:

      ParameterValueDescription
      TypeSCTE-35 OOBSelect the type of metadata.
      Network nameSwitchToLiveCorresponds 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.
  6. Click OK to validate. You should have the following configuration for the Input tab:

  7. Click Save and continue to save your changes.

  8. Leave the Media processing parameters unchanged.

Configure encoding parameters

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

    • ABR 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 parameters:

      • 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.

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.