tencent cloud

Feedback

Step Three: Generate Output

Last updated: 2024-07-11 16:53:46
    After configuring the Live Video Caster (LVC), you can start PGM output. LVC also supports recording and relay, enriching downstream live broadcast systems.

    Prerequisites

    You have completed the steps in Adding Input Sources.
    You have completed the steps in Directing and Editing.

    Step 1: Starting Output

    1. If the preview effect meets your requirements, you can click To PGM to start the output.
    Note:
    A red frame appears on the input source or layout that is currently being used for output, indicating that the input source or layout is in use in PGM.
    Once the stream is published to PGM, formal output and billing start. Closing the LVC console will not stop the live streaming or PGM output; the LVC will remain in operation and billing will continue. To stop the LVC, you need to manually turn off the PGM.
    
    
    
    2. Before publishing the stream, the system once again verifies whether to turn on the main monitor (PGM).
    
    3. Once the output starts, you can see the published stream in the main monitor.
    
    
    

    Step 2: Obtaining the Output Playback URL

    1. After the stream is published to PGM, if you want to obtain the output playback URL, you can click Details in the upper-right corner to enter the details page.
    
    
    
    2. Click Generate to enter the Address Generator to generate the URL.
    
    Note:
    Make sure you have already successfully configured a CNAME for your domain.
    If you have not set a live streaming playback domain, this section is blank and you cannot play the stream through Tencent Cloud CDN.
    If you have multiple domains, the LVC system will randomly select a domain to generate a playback URL. If the randomly selected domain does not meet your needs, you can go to the CSS console to generate a playback URL.

    Step 3: Recording the Live Stream

    1. Click
    
    in the main monitor (PGM) to enter the recording configuration page.
    
    
    
    2. Select a recording template you configured and set the recording end time. The maximum recording duration is 24 hours. Click Confirm to start recording.
    
    3. When the recording is completed, click
    
    .
    
    
    
    4. Click Confirm to finish the recording.
    
    5. The system transmits the recorded file to the Video on Demand (VOD) system. You can view the recorded file in VOD.
    
    6. Click Details in the upper-right corner to enter the details page and view or copy the prefix of your recording file.
    
    Note:
    You can go to VOD > Application Management, select an application, and click Enter Application to access the Media Asset Management Guide.
    
    
    
    On the Audio/Video Management page, you can search for a recorded video by entering its file prefix.
    
    
    

    Step 4: Setting a Relay

    To push your live stream to a third-party cloud vendor, you need to configure a relay first.
    1. Click
    
    in the upper-right corner and select Publish to enter the push settings page.
    2. Fill in the CSS stream name.
    3. You can enable delayed playback for the live stream. The maximum delay is 300 seconds.
    4. Click Advanced settings to configure the domain and parameters.
    Advanced Settings
    Required
    Description
    Push domain
    No
    Select an available push domain. If left blank, this field will be filled with a backend-generated value when you save the settings.
    AppName
    No
    Use English letters, numbers, and underscores only.
    Custom parameters
    No
    Enter stream push parameters.
    5. Set a relay address:
    5.1 Click
    
    to add a custom third-party vendor address.
    
    
    
    Note:
    Third-party relays can only be RTMP-based. Platform push addresses should be in the format of rtmp://domain/app/stream?arg1=xxx.
    Third-party relay is only available by using CSS.
    A maximum of three target addresses are supported in third-party relay. One of the target addresses defaults to the current Tencent Cloud Streaming Services account, and the other two can be third-party addresses, excluding streaming domain names under the current account. Relay to third parties incurs relay bandwidth-based fees, which are calculated according to the relay charging standard.
    Relay to other CSS accounts (other than those under the current account) also incurs bandwidth-based fees, which are calculated according to the relay billing rules. For more information, see Live Video Caster Billing Overview.
    6. Set the size of the video output.
    Select Custom, and set the following parameters:
    Video width: The long side and short side of the video must not exceed 4096 x 2160 pixels.
    Video height: The long side and short side of the video must not exceed 4096 x 2160 pixels.
    Frame rate: No greater than 60 fps.
    Video bitrate: No greater than 10,000 kbps.
    Audio bitrate: Supports 128 kbps, 192 kbps, and 256 kbps.
    
    
    
    7. Click Confirm to save the settings.

    Step 5: Setting a Standby Input Source

    You can enable a standby input source on the standby stream page.
    1. Click
    
    in the upper-right corner and select Standby stream to enter the standby stream page.
    
    2. Enable or disable the standby video. A standby video serves as an auxiliary input source. If a standby video is enabled, when the input source or pulled stream for the PGM (primary stream) fails or is interrupted, LVC automatically switches to the standby video. Once the primary stream recovers, LVC switches back to the primary stream.
    3. Set the input type to On demand URL or Live URL.
    On demand URL: You can set multiple on-demand URLs by separating them with semicolons (;) or line breaks.
    Live URL: Fill in this field with the stream/playback URL.
    4. Enable or disable the standby image. A standby image serves as an auxiliary image input source. If a standby video is not enabled, when the input source or pulled stream for the PGM (primary stream) fails or is interrupted, LVC automatically switches to the standby image. Once the primary stream recovers, LVC switches back to the primary stream.
    5. Click Upload and upload a standby image. The size limit is 5MB, and the image format must be PNG, JPG or JPEG.
    6. Click Confirm to save the settings.
    
    Note:
    If a standby video and standby image are both enabled, LVC switches to the standby video first. If the standby video also fails, LVS switches to the standby image.

    Step 6: Monitoring Output Stream Quality

    After the stream is output from LVC, you can view the frame rate and bitrate data in the Monitor section.
    
    
    
    1. Click Refresh in the upper-right corner to refresh the current chart.
    2. Click Stream data to view the detailed push stream data.
    Frame rate
    Video bitrate
    
    
    
    
    
    
    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