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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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