tencent cloud

Feedback

Step 4. Configure Output Groups

Last updated: 2024-10-23 17:28:54
    StreamLive supports different types of outputs. This document shows you how to create output groups and outputs.

    Configuring multiple output groups for a channel

    You can configure multiple output groups for a channel by clicking the Add button.
    
    
    

    Setting the name and type of an output group

    Set the name and type of an output group:
    
    
    Currently, the types of outputs supported are HLS, DASH, HLS_STREAM_PACKAGE, DASH_STREAM_PACKAGE, HLS_ARCHIVE, DASH_ARCHIVE, M2TS, and FRAME CAPTURE.
    HLS and DASH outputs are sent to the destination via HTTP PUT.
    HLS_STREAM_PACKAGE and DASH_STREAM_PACKAGE outputs are sent to StreamPackage of the current account. You can use the outputs as origin servers to stream content via CDNs.
    HLS_ARCHIVE and DASH_ARCHIVE outputs are saved to Tencent Cloud COS.
    M2TS outputs are sent to the destination via SRT protocol. For each output in the output group, a separate destination configuration is required. Unlike other output groups, M2TS does not support configuration for Manifest, Segment, or DRM.
    FRAME CAPTURE supports capturing images from live streams at fixed time intervals. Please refer to Frame Capture.

    Configuring the destinations

    If the output group type is HLS or DASH, enter the CDN URLs to push to. Enter the authentication information as well if the URLs require authentication.
    
    If the output group type is HLS_STREAM_PACKAGE or DASH_STREAM_PACKAGE, enter the ID of the StreamPackage channel to push live streams to.
    
    If the output group type is HLS_ARCHIVE or DASH_ARCHIVE, enter the COS destinations to save the output. StreamLive will save live streams in the last seven days to COS (the data will be overwritten after restart).
    
    If the output group type is M2TS, the number of addresses in Destination Information is related to the number of outputs. When no outputs have been added, the content in Destination Information is empty. You can add outputs as needed, and Destination Information will display the corresponding Destination fields based on the number of outputs.
    
    
    
    Note:
    You can continue to set transcoding parameters for M2TS type outputs, but currently, configuration of Manifest, Segment, and DRM for M2TS outputs is not supported.

    Configuring outputs

    Click Add to add an output.
    
    
    

    Configuring transcoding settings

    For the added Output, click Setting in the Transcoding Setting to configure the transcoding parameters.
    
    
    
    You can configure either joint or separate transcoding templates. For HLS outputs, separate transcoding allows you to set different audio tracks. If you don’t need this, we recommend you use joint transcoding.
    A joint transcoding template includes settings for both audio and video transcoding.
    
    
    
    With separate transcoding, you need to set audio and video transcoding parameters separately. The audio transcoding templates specify parameters for the audio tracks the stream can use.
    
    
    
    You also have the option to configure captions by clicking on Add Caption.
    
    
    
    
    
    
    For transcoding parameters, you can create new parameters or use existing transcoding templates. Click Copy to reuse an existing transcoding template.
    
    
    
    
    
    The Copy operation can save on transcoding fees by reusing a transcoding template. Within a channel, if multiple Outputs reuse the same transcoding template, only a single transcoding fee will be charged for the usage of this template.
    Note:
    Top Speed Codec Transcoding is a high-performance transcoding service developed by the Tencent Cloud Video team. It offers low-bitrate, high-quality transcoding by leveraging AI algorithms to dynamically determine the best encoding parameters. Bitrate Compression Ratio is the percentage of video bitrate expected to be reduced.

    Configuring manifest information

    PdtInsertion:Enable this function if you want to include the #EXT-X-PROGRAM-DATE-TIME tag in manifest files. PdtDuration is used to set the time interval for insertion of EXT-X-PROGRAM-DATE-TIME tags, in seconds.
    Stream Order:For the master manifest in HLS, set the stream order by video bitrate ascending or descending.
    Video Resolution:For the master manifest in HLS, set whether to include resolution information.
    Endlist Tag:When the channel is stopped, set whether to include #EXT-X-ENDLIST tag in the media playlist in HLS.
    
    
    

    Configuring segment information

    You can also specify the Segment Information on this page, including the segment type, segment duration, and segment number. For some devices, such as Apple TV, to play H.265-encoded videos, you need to select fmp4 as the Segment Type and hvc1 as the Packaging Type.
    
    
    
    When the Output group type is HLS_STREAMPACKAGE, you can enable Low Latency funcation (Low-Latency HLS, LL-HLS) and set the
    corresponding Partial Segment Duration and Part Hold Back.

    Configuring DRM

    StreamLive supports DRM (CustomDRMKeys and SDMCDRM). For detailed directions how to enable the feature, see Channel DRM Configuration via DRMtoday.
    
    
    

    Saving the configuration

    Click Confirm and Done to save the configuration. This concludes the configuration of a channel. You can then click Start to start the channel.
    
    
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support