Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Real-time video stream transcoding method, device and computer-readable storage medium

A real-time video and video streaming technology, applied in the video field, can solve problems such as high cost

Active Publication Date: 2019-03-19
广州图普网络科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, to achieve remote real-time video transmission, the real-time video transmission is usually accelerated by increasing the bandwidth, which undoubtedly requires very high bandwidth, and the cost is also very expensive

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
  • Real-time video stream transcoding method, device and computer-readable storage medium
  • Real-time video stream transcoding method, device and computer-readable storage medium
  • Real-time video stream transcoding method, device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 It is a schematic flowchart of the first embodiment of the real-time video stream transcoding method of the present invention. In the real-time video stream transcoding process, the single-channel or multi-channel video signals output by the connected camera device are collected in real time. Among them, the acquisition method can be to directly collect the video stream from the camera device through the physical transmission medium, or it can be the video stream output by the camera device in the local area network or the wide area network through the RTSP protocol (Real-time streaming protocol, real-time streaming protocol) Perform collection. The method provided by the embodiment of the present invention includes:

[0036] Step S100: Obtain the original image frame of the input video stream.

[0037] Corresponding processing is performed on the collected video stream to obtain the original image frame of the input video stream. The original image frames are ind...

Embodiment 2

[0049] image 3 It is a schematic flowchart of the second embodiment of the real-time video stream transcoding method of the present invention. The only difference from the above-mentioned first embodiment is that the second embodiment of the real-time video transcoding method of the present invention further includes:

[0050] Step S410: Select a plurality of gradually increasing preset frame intervals, respectively calculate and record the code rates of the coded streams corresponding to different preset frame intervals.

[0051] Step S420: When the difference between the consecutive multiple code rates does not exceed a preset threshold, select one of the code rates and use the preset frame interval corresponding to it as the adjusted preset frame interval.

[0052] The bit rate refers to the video bit rate, that is, the amount of binary data transmitted per unit time of video data, and the unit is usually kbps. The coded code stream is expressed and stored in binary form. Theref...

Embodiment 3

[0057] Figure 4 It is a schematic structural diagram of the first embodiment of the real-time video stream transcoding device of the present invention. The real-time video stream transcoding device 100 includes: an image frame acquisition unit 110, a frame extraction processing unit 120, and an encoding unit 130.

[0058] The image frame obtaining unit 110 is used to obtain the original image frame of the input video stream.

[0059] The image frame acquisition unit 110 performs corresponding processing on the collected video stream, obtains the original image frame of the input video stream, and sends the original image frame to the frame extraction processing unit 120. The input video stream includes analog video stream and / or digital video stream. When the input video stream is an analog video stream, each image frame data obtained after digital processing is the original image frame; when the input video stream is a digital video stream, according to the input video stream T...

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 real-time video stream transcoding method. The method comprises the following steps: obtaining an original image frame of an input video stream; extracting the original imageframe according to a preset frame extraction rule to obtain extracted image frames; selecting a corresponding frame from the extracted image frames according to a preset frame distance to serve as akey frame, and using the other frames as ordinary frames; and performing compressed encoding on the key frame and the ordinary frames according to a preset compressed encoding algorithm to obtain an encoded code stream. The invention also provides a real-time video stream transcoding apparatus and a computer readable storage medium. By adoption of the technical scheme of the invention, by reducingthe frame of the input video stream and performing compressed encoding on the extracted image frames by using the preset frame distance and the compressed encoding algorithm, the real-time transcoding and transmission of the video stream is implemented, thereby reducing the transmission rate and reducing the video transmission bandwidth cost.

Description

Technical field [0001] The present invention relates to the field of video technology, in particular to a real-time video stream transcoding method, device and computer-readable storage medium. Background technique [0002] The real-time transmission of the existing video stream is through the real-time collection and processing of video data from the local camera, and then upload to the cloud server and download to one or more back-end clients through the cloud server. However, with the increasing demand for real-time video from users, the image quality requirements are also increasing. The camera has evolved from the original analog camera to the current high-definition digital camera, resulting in a sharp increase in the output video stream. Nowadays, commonly used commercial cameras usually adopt the Parr system (PAL system), that is, the output single video stream transmits 25 frames of pictures per second, which usually occupies a transmission bandwidth of about 2M or more....

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04N21/2343H04N21/2187H04N7/01
CPCH04N7/0127H04N21/2187H04N21/2343
Inventor 李明强
Owner 广州图普网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products