Transcoding Configuration

Last updated: 2020-07-09 15:53:38

    LVB outputs playback streams with the original bitrate by default. To limit or set the playback bitrate, you can associate a transcoding template with a playback domain name. This document describes how to associate/unassociate a transcoding template with/from a playback domain name.

    Notes

    • The template configuration will take effect in about 5–10 minutes.
    • After you specify a transcoding template, the backend will generate different playback addresses with different bitrates for easier use. The original resolution of the stream will be as close as possible to the original aspect ratio of the video to avoid stretched and distorted display.
    • When end users access an address with a new bitrate for the first time, it is normal for the first end user triggering the link to experience slower loading.

    Prerequisites

    Associating a Transcoding Template

    1. Go to Domain Management, click the playback domain to be configured or Manage on the right to enter the domain details page.
    2. Select the Template Configuration tab, and click Edit in the top-right corner of the Transcoding Configuration tab.
    3. Select a transcoding configuration to specify the encoding mode and bitrate set by the transcoding template for the playback address under the domain name.
    4. Click Save.

    Playback Address of a Transcoded Video

    After you configure the transcoding template, you need to add the transcoding template name to the playback URL. The format is playback address_transcoding template name. Otherwise, you will only be able to play back the original live stream content. For more information, please see Playback Configuration.

    For example, if the name of the transcoding template associated with the playback domain name is hd, and the original playback address is:

    http://domain/AppName/StreamName.flv?txSecret=Md5(key+StreamName+hex(time))&txTime=hex(time) 
    

    Then, if you want to get the output video, the following new playback address needs to be generated:

    http://domain/AppName/StreamName_hd.flv?txSecret=Md5(key+StreamName_hd+hex(time))&txTime=hex(time)
    

    Unassociating a Transcoding Template

    1. Go to Domain Management, click the playback domain to be configured or Manage on the right to enter the domain details page.
    2. Select Template Configuration > Transcoding Configuration.
    3. Click Edit on the right and uncheck the corresponding template.
    4. Click Save to unassociate the template from the domain name.

    Note:

    To delete a template, you need to unassociate it first and then go to Feature Template > Transcoding Configuration to delete it. For more information, please see Transcoding Configuration.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help