Live transcoding method and system for dynamically switching video streams
A video streaming and dynamic technology, applied in the field of audio and video live broadcast, can solve the problems of waste of resources, loss of input signal, lag at the playback end, etc., to achieve the effect of continuous sound, reduced time interval, and no loss of playback data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] see figure 2 , in order to solve the above technical problems, the application provides a live transcoding method for dynamically switching video streams, comprising the following steps:
[0034] Receive the flow cut request, and receive the target input signal according to the flow cut request;
[0035] While maintaining the output of the transcoding process of transcoding the original input signal, in the transcoding process, create a target thread to decapsulate and decode the target input signal, wherein the transcoding process of transcoding the original input signal includes The original thread that decapsulates and decodes the original input signal, and the output thread that encodes and encapsulates the original data stream output by the original thread;
[0036] When the target data stream output by the target thread is obtained, the original thread is destroyed and the original input signal is cut off;
[0037] Encode and encapsulate the target data stream ...
Embodiment 2
[0050] see image 3 , this embodiment provides a live transcoding system for dynamically switching video streams based on Embodiment 1, including:
[0051] A receiving module, configured to receive a flow switching request, and receive a target input signal according to the flow switching request;
[0052] The transcoding module is used to maintain the output of the transcoding process of transcoding the original input signal. During the transcoding process, create a target thread to decapsulate and decode the target input signal. Among them, the original input signal is The transcoding process of transcoding includes the original thread that decapsulates and decodes the original input signal, and the output thread that encodes and encapsulates the original data stream output by the original thread;
[0053] The stream cutting module is used to destroy the original thread and cut off the original input signal when the target data stream output by the target thread is obtained...
Embodiment 3
[0067] Based on the same inventive concept as in Embodiment 1, this embodiment also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the dynamic switching of video streams as in Embodiment 1 is realized. live transcoding method.
[0068] The computer-readable storage medium in this embodiment stores a computer program that can be executed by a processor. When the computer program is executed, it first receives a flow switching request, receives a target input signal according to the flow switching request, and then maintains the original input signal. While transcoding the output of the transcoding process, during the transcoding process, a target thread is created to decapsulate and decode the target input signal. When the target data stream output by the target thread is obtained, the original thread is destroyed and the original input signal is cut off. Encode and encapsulate the target ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com