tencent cloud

Feedback

Live Streaming Highlights Editing

Last updated: 2023-10-18 09:59:09
    Live streaming highlights rely on the time-shifting capabilities, which means that during or after the live stream, a user can select an exciting segment from the past live content, generate a time-shifted playback address, and conveniently redistribute the highlights. Additionally, through media processing capabilities, live streaming highlights can be solidified into object storage for long-term preservation.
    This article introduces how to use live streaming time-shifting to create highlights from live content, as well as how to use media processing capabilities to solidify and store live streaming highlight clips.

    Prerequisites

    Using the live streaming highlights clipping feature, please make sure you have created a time-shift template, bound the streaming domain, and successfully streamed.
    To use the live broadcast editing and curing capability, please make sure you have activated the Tencent Cloud MPS service. The solidified content will be stored in the COS Service, and activating the MPS service will automatically activate the COS service.

    Live Streaming Highlights Editing

    Console operation guide

    Based on your business needs, you can configure time-shifted playback. For more details, please refer to the Live Streaming Time-Shift Index Information document.

    Directions

    1. After using the domain name bound to the time-shifting template for streaming, select Feature Configuration > Time shifting > Time shifting details in the left menu bar to enter the index information page.
    2. Select the live stream you want to clip, and click on Details on the right side to enter the time-shift details page.
    
    
    3. You can view the push address and time-shifted content in Basic Info.
    4. You can move the mouse in the timeline of the Index Details to view the position time. Click on the timeline to mark the time.
    5. Click on the timeline to mark the time and preview the time-shifted content.
    6. Configure playback domain name: Select the corresponding time-shift playback domain name.
    7. To generate a time-shift playback address: Click Generate Address to create a time-shift playback address, which supports one-click copying of the address.
    
    

    Splice the Address Yourself

    You can refer to the Time Shifting Function Practice document to splice the addresses of live broadcast highlight clips according to the rules. You can also refer to the following splicing rules to assemble the addresses of live broadcast highlight clips by yourself.
    
    
    

    Live Clip Solidification

    Create Clip Persistence Task

    1. Navigate to MPS solidification of time-shifted content: Choose the solidification file format, either MP4 type or HLS type.
    
    
    
    2. When you click on Configure storage, the system will automatically redirect you to the MPS > Tasks > VOD > Create task page. On this page, the system will automatically fill in the time-shift highlights clip address and the corresponding transcoding service orchestration template. You can configure the task according to your business needs.
    3. Select the output path and click Create. For more details, please refer to the Task Management document.
    
    
    
    4. Once the task creation is completed, you can view the execution status and results of the video editing task. You can enter the corresponding directory in COS, and in that directory, you can search for the edited and solidified files. Typically, the file name and path will be determined according to the output parameters you set when creating the task.
    
    

    Create a video editing and solidification task through the API

    You can create a video editing and solidification task by initiating a Media Processing Service (MPS) API request:
    Enter the input and arrangement ID to initiate the task, and then click View API Information.
    Note:
    Tencent Cloud provides you with default video editing and solidification remuxing service arrangement templates. The default MP4 remuxing arrangement template ID is 10101, and the default HLS remuxing arrangement template ID is 10100.
    You can customize and create video transcoding templates based on your business needs. Click Create Video Transcoding Template to enter the template customization settings. For more information, please refer to the Audio and Video Transcoding Templates documentation.
    MPS will charge you based on your task type. For more information, please refer to the Media Processing Service Billing documentation.
    Example:
    {
        "InputInfo": {
            "Type": "URL",
    "UrlInputInfo": {
    "Url": "http://domain/AppName/StreamName.m3u8?txTimeshift=on&tsFormat=human_s_8&tsStart=20230202095635&tsEnd=20230202095705&tsCodecname=transcode"
    }
    },
    "OutputStorage": {
    "Type": "COS",
    "CosOutputStorage": {
    "Bucket": "test-130000000",
    "Region": "ap-nanjing"
    },
    },
    "OutputDir": "/Liveclip/",
    "ScheduleId": 10101,
        "Action": "ProcessMedia",
        "Version": "2019-06-12"
    }
    
    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