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

Active Publication Date: 2020-01-17
上海网达软件股份有限公司
View PDF12 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method not only causes a waste of resources in operation, but also requires a long exit and start time. Directly, that is, buffering is requir

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Live transcoding method and system for dynamically switching video streams
  • Live transcoding method and system for dynamically switching video streams
  • Live transcoding method and system for dynamically switching video streams

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a live transcoding method and system for dynamically switching video streams, and the method comprises the following steps: receiving a stream switching request, and receivinga target input signal according to the stream switching request; maintaining the transcoding process output of transcoding the original input signal; in the transcoding process, creating a target thread to decapsulate and decode the target input signal, wherein the transcoding process for transcoding the original input signal comprises an original thread for decapsulating and decoding the originalinput signal and an output thread for encoding and packaging an original data stream output by the original thread; when a target data stream output by the target thread is obtained, destroying the original thread, and cutting off an original input signal; and encoding and packaging the target data stream through an output thread, and outputting to obtain a target output stream after the target input signal is transcoded. The live transcoding method and system have the technical characteristics of no buffer, no lag, no splash screen, no black screen, continuous sound and no loss of playing data in playing switching.

Description

technical field [0001] The invention belongs to the technical field of audio and video live broadcasting, and in particular relates to a live transcoding method and system for dynamically switching video streams. Background technique [0002] With the surge in demand for live broadcasts such as live TV and live broadcasts, the application of streaming media in live transcoding has developed rapidly. With the development of streaming media technology, the real-time performance of live programs, picture clarity and other technical aspects have been greatly improved. However, it is difficult to avoid the occurrence of human factors in the live broadcast process through technical improvement, so the dynamic streaming technology of live broadcast has gradually been paid attention to. [0003] The dynamic cut-off technique can help technicians solve the content that does not comply with legal regulations or ethics during the live broadcast process, prevent the live broadcast cont...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N21/2187H04N21/2343H04N21/239H04N21/4402H04N21/854
CPCH04N21/2187H04N21/234363H04N21/2393H04N21/440263H04N21/85406
Inventor 唐杰刘冰王喆
Owner 上海网达软件股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products