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

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/Crawler_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 nameCrawlerID 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/home/assetsYou 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 General parameters: Select MediaComposer for Type.

    • Select MPEG2 TS/UDP for Type.
    • Select Active/Passive for Input redundancy.
    • Leave the default Input loss timeout.
  3. Configure the Sources.

    1. Configure the MPEG62 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 emptyName 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 stream 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.
  4. Click OK to validate. You should have the following configuration for the Input tab:

  5. Click Save and continue to save your changes.

  6. 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: scroll to Output streams, then click Add.

    1. Configure the output stream:

      • IP Address: address to output the stream
      • Port: port number to stream on
    2. 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:

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