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

Video stream code rate allocation method and device and computer readable storage medium

A distribution method and video streaming technology, applied in the field of communication, can solve the problems of wasting bandwidth resources, occupying bandwidth, and increasing the encoding burden of the source, so as to achieve the effect of reducing the encoding burden and avoiding waste

Active Publication Date: 2019-05-28
GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The inventor found at least the following problems when implementing the existing technology: If the source end sends all supported multi-channel videos to the server by default, and the receiving end obtains the corresponding video stream from the server according to the demand, this will increase the encoding of the source end on the one hand. On the other hand, each video stream is sent from the source to the server for reception. The process of source transmission will occupy the upstream bandwidth of the source, and the process of server reception will occupy the downstream bandwidth of the server. Unnecessary video streams will occupy the source. and server-side bandwidth, resulting in a waste of bandwidth resources

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
  • Video stream code rate allocation method and device and computer readable storage medium
  • Video stream code rate allocation method and device and computer readable storage medium
  • Video stream code rate allocation method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0113] Example 1: When the server subscribes to a 180P video stream from the sender, that is, subscribeLayers=[180], the upstream bitrate of the sender is bitrate=40k.

[0114] first round:

[0115] Start traversing subscribeLayers from low resolution, take layer=180. Because bitrate>minBitrate[180], so isAllocated[layer]=true, that is, the resolution 180P has enough bit rate allocation, the resolution 180P is determined as the resolution of the video stream to be sent, bitrateAllocate[layer]=minBitrate[180] = 30k, bitrate = bitrate-minBitrate[180] = 10k. Continue to traverse subscribeLayers, find that the traversal is complete, and return. Among them, subscribeLayers indicates several resolutions in the subscription request, and bitrate indicates the current uplink bit rate.

[0116] second round:

[0117] The resolution supported by simulcast is supportedLayers=[180,360,720], start traversing supportedLayers from high resolution, and find that only when layer=180, isAllo...

example 2

[0120] Example 2: The server subscribes 180P+720P video to the sending end, that is, subscribeLayers=[180,720], and the uplink bitrate of the sending end is bitrate=600k.

[0121] first round:

[0122] Start traversing subscribeLayers from low resolution, first take layer=180. Since bitrate>minBitrate[180], isAllocated[180]=true, bitrateAllocate[180]=30k, bitrate=600k-30k=570k.

[0123] After allocating the lowest bit rate for 180P resolution, continue to traverse subscribeLayers, set layer=720. Because bitrate=570k<minBitrate[720]=600k, no code rate is allocated to the 720P subscription layer. At the same time, it is judged that there is a subscription layer lower than 720P lowerLayers=[180,360].

[0124] Traverse lowerLayers from high to low, take lowerLayer=360, because bitrate=570>minBitrate[360]=200k, so allocate code rate to 360P, isAllocated[360]=true, bitrateAllocate[360]=200k, bitrate=570k-200k = 370k. return.

[0125] second round:

[0126] The subscription la...

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 video stream code rate distribution method and device and a computer readable storage medium. The method comprises the following steps: receiving subscription information from a receiving end; Wherein the subscription information comprises the resolution of subscribing the video stream; Acquiring a current uplink code rate; According to the subscription information and the uplink code rate, determining the resolution of a to-be-sent video stream and a corresponding code rate; And sending the to-be-sent video stream to the receiving end according to the determined coderate. According to the invention, the coding burden of the video source end can be reduced, and the waste of uplink bandwidth resources can be avoided.

Description

technical field [0001] The present invention relates to the field of communication technologies, and in particular to a video stream code rate allocation method, device and computer-readable storage medium. Background technique [0002] When the source video is multicast, it often needs to support sending multiple video streams, for example, sending video streams with resolutions of 180p, 360p, 720p, and 1080p. The inventor found at least the following problems when implementing the existing technology: If the source end sends all supported multi-channel videos to the server by default, and the receiving end obtains the corresponding video stream from the server according to the demand, this will increase the encoding of the source end on the one hand. On the other hand, each video stream is sent from the source to the server for reception. The process of source transmission will occupy the upstream bandwidth of the source, and the process of server reception will occupy the...

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 Applications(China)
IPC IPC(8): H04N21/462H04N21/442H04N21/437
CPCH04N21/437H04N21/442H04N21/462
Inventor 田建超
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
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