WO2020155913A1 - Video transmission method, device, apparatus, and storage medium - Google Patents
Video transmission method, device, apparatus, and storage medium Download PDFInfo
- Publication number
- WO2020155913A1 WO2020155913A1 PCT/CN2019/126714 CN2019126714W WO2020155913A1 WO 2020155913 A1 WO2020155913 A1 WO 2020155913A1 CN 2019126714 W CN2019126714 W CN 2019126714W WO 2020155913 A1 WO2020155913 A1 WO 2020155913A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resolution
- bit rate
- video
- video stream
- lowest
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 198
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004590 computer program Methods 0.000 claims description 20
- 238000011144 upstream manufacturing Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/23439—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234363—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
- H04N21/26216—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
Definitions
- the present disclosure relates to the field of communication transmission technology, for example, to a video transmission method, device, device, and computer-readable storage medium.
- the needs of subscribers are also very different. Taking video subscription as an example, different subscribers expect different content, such as terminals with different sizes of screens. The video resolution will be different. Therefore, when the video source of the publishing end is multicast, it often needs to support sending multiple video streams of the same or different resolutions. The most common ones are sending 180p, 360p, 720p and 1080p, etc. For each video stream with different levels of resolution, the video stream information that needs to be sent is determined according to the subscription status of the subscriber.
- the video source as the publisher After receiving the subscription information from the subscriber, the video source as the publisher first needs to assign a bit rate to the resolution level subscribed by the subscriber.
- the current conventional practice of related technologies is to set a minimum bit rate for each level of division. , The target bit rate and the highest bit rate, and then when the upstream bit rate of the video source end is sufficient, assign the lowest bit rate, target bit rate and highest bit rate to each level in turn until all the upstream bit rates are allocated.
- related technologies usually perform adaptive bit rate control at the video source, and adjust the subscriber's subscription level according to the real-time situation of the uplink bit rate.
- the uplink bit rate of the video source when the uplink bit rate of the video source is reduced, Then, send the video stream lower than the subscription level to the subscriber to ensure the smoothness of the video; when the upstream bit rate of the video source end is sufficient, send the subscribed video stream of this level to the subscriber to ensure the video Clarity.
- the inventor found that when the network fluctuates greatly, if the bit rate allocated to a certain level fluctuates just above the minimum bit rate, the source will always send the video stream and Switching between not sending the video stream of this level, because every time it is never sent to the beginning of the transmission, the key frame corresponding to this level needs to be re-sent, thus occupying more uplink bandwidth, which not only causes a waste of resources, but also frequent videos The switching of the resolution also affects the user's viewing experience.
- the purpose of the present disclosure is to provide a video transmission method, device, equipment, and computer-readable storage medium, to avoid frequent switching of frequency levels due to the influence of the uplink code rate, and to achieve comprehensive use of uplink bandwidth.
- embodiments of the present disclosure provide a video transmission method, including the following steps:
- the video subscription information of the subscribing device is acquired; wherein the video subscription information includes the subscribed video The first resolution of the stream;
- the current uplink bit rate is less than the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, and the video stream includes an unsubscribed second resolution lower than the first resolution , Obtaining the lowest bit rate and the bit rate threshold corresponding to the second resolution according to the second resolution;
- the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, sending the video stream corresponding to the second resolution to the subscription device.
- the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, use the first resolution to The sending of the video stream by the subscription device includes:
- sending to the subscription device corresponds to The video stream of the second resolution includes:
- the current allocable code rate is the difference between the uplink code rate and the transmission code rate .
- the fourth implementation manner of the first aspect further includes:
- the current allocable bit rate is greater than or equal to the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold, sending the video stream corresponding to the first resolution to the subscription device.
- the method further includes:
- the current allocable bit rate is less than the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold, determine whether the video stream includes an unsubscribed second resolution lower than the first resolution rate;
- the video stream includes an unsubscribed second resolution lower than the first resolution, obtaining the lowest bit rate and the bit rate threshold of the second resolution according to the second resolution;
- the current allocable bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, sending the video stream corresponding to the second resolution to the subscription device.
- the method further includes:
- Receive video subscription information of the subscription device wherein the video subscription information includes the first resolution of the subscribed video stream.
- the present disclosure provides a video transmission device, including:
- the video subscription information obtaining unit is configured to obtain the video subscription information of the subscribing device when it is detected that the current uplink bit rate is updated and the subscribed video stream of the first resolution is not sent to the subscribing device at the previous moment;
- the video subscription information includes the first resolution of the subscribed video stream;
- the first code rate parameter determination unit is configured to obtain the minimum code rate corresponding to the first resolution and the code rate threshold according to the first resolution;
- the first video stream sending unit is configured to, if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, send to the subscribing device corresponding to the first resolution Rate of video streaming;
- the second bit rate parameter determination unit is configured to: if the current uplink bit rate is less than the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, and the video stream includes a bit rate lower than the first resolution When the second resolution is not subscribed to, obtain the lowest bit rate and the bit rate threshold corresponding to the second resolution according to the second resolution;
- the second video stream sending unit is configured to send a signal corresponding to the second resolution to the subscription device if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold. Rate of the video stream.
- the first video stream sending unit includes:
- the first transmission code rate determination module is configured to, if the current allocable code rate is greater than or equal to the sum of the lowest code rate corresponding to the first resolution and the code rate threshold, according to the lowest code rate corresponding to the first resolution Rate determines the transmission code rate;
- the first video stream sending module is configured to send the video stream corresponding to the first resolution to the subscription device at the transmission bit rate.
- the second video stream sending unit includes:
- the second transmission code rate determining unit is configured to, if the current allocable code rate is greater than or equal to the sum of the lowest code rate corresponding to the second resolution and the code rate threshold, according to the lowest code rate corresponding to the second resolution Rate determines the transmission code rate;
- the second video stream sending module is configured to send the video stream corresponding to the second resolution to the subscription device at the transmission bit rate.
- the current allocable code rate is the difference between the uplink code rate and the transmission code rate .
- the fourth implementation manner of the second aspect further includes:
- the third bit rate parameter determination module is used to obtain the video subscribed by the subscribing device when the current uplink bit rate update is detected and the video stream of the first resolution has been sent to the subscribing device at the last moment The lowest bit rate and the bit rate threshold corresponding to the first resolution of the stream;
- the third video stream sending unit is configured to send to the subscription device the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold if the current allocable bit rate is greater than or equal to the Resolution of the video stream.
- the fifth implementation manner of the second aspect further includes:
- the second resolution determining module is configured to determine whether the video stream includes a bit rate lower than the first bit rate if the current allocable bit rate is less than the minimum bit rate corresponding to the first resolution and the bit rate threshold.
- the unsubscribed second resolution of the resolution is configured to determine whether the video stream includes a bit rate lower than the first bit rate if the current allocable bit rate is less than the minimum bit rate corresponding to the first resolution and the bit rate threshold.
- the fourth code rate parameter determination module is configured to, if the video stream includes an unsubscribed second resolution lower than the first resolution, obtain the lowest code of the second resolution according to the second resolution Rate and bit rate threshold;
- the fourth video stream sending unit is configured to send to the subscription device corresponding to the second bit rate if the current allocable bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold. Resolution of the video stream.
- the method further includes:
- the subscription information receiving module is configured to receive the video subscription information of the subscription device; wherein the video subscription information includes the first resolution of the subscribed video stream.
- embodiments of the present disclosure provide a video transmission device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and the processor executes the The computer program implements the video transmission method as described in any one of the first aspect.
- an embodiment of the present disclosure provides a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein the device where the computer-readable storage medium is located is controlled when the computer program is running Perform the video transmission method as described in any one of the first aspect.
- the subscribed video stream of the first resolution is not sent to the subscribing device at the last moment, obtain the video subscription information of the subscribing device and determine the minimum corresponding to the first resolution of the subscribed video stream
- the code rate and the code rate threshold if the current uplink code rate is greater than or equal to the sum of the lowest code rate corresponding to the first resolution and the code rate threshold, send to the subscription device the data corresponding to the first resolution Video stream, if the current uplink bit rate is less than the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, and the video stream includes an unsubscribed second bit rate lower than the first resolution
- obtain the lowest bit rate and the bit rate threshold corresponding to the second resolution according to the second resolution if the current uplink bit rate is greater than or equal to the lowest bit rate corresponding to the second resolution and the bit rate threshold
- the sum of the rate thresholds, the video stream corresponding to the second resolution is sent to the subscription device, where the condition
- Fig. 1 is a schematic flowchart of a video transmission method provided by the first embodiment of the present disclosure.
- Fig. 2 is a schematic structural diagram of a video transmission device provided by a second embodiment of the present disclosure.
- Fig. 3 is a schematic structural diagram of a video transmission device provided by a third embodiment of the present disclosure.
- the first embodiment of the present disclosure provides a video transmission method, which can be executed by a video transmission device, and the video transmission device may be composed of two or more physical entities, or may be composed of one physical entity.
- the video transmission device can be a computing device such as a computer, mobile phone, tablet, smart tablet, or server.
- the video transmission device serves as the publisher's video source terminal in the publish-subscribe mode, and transmits the subscribed video stream to the subscribing device according to the subscription status of the subscribing device.
- the subscribing device may be a computer, a mobile phone, a tablet, a smart tablet or a server
- the subscription device may subscribe to a video stream of one resolution level according to its actual situation, or may subscribe to video streams of multiple resolution levels.
- the video transmission method includes the following steps:
- the video stream is set with several resolutions.
- the video stream is set with 4 resolution levels, namely 180p, 360p, 720p and 1080p, etc.
- the subscribing device will subscribe the desired video stream to the video transmission device as the publisher of the video source.
- the subscriber needs to carry resolution information to inform the The video transmission device itself expects to receive the resolution.
- the video transmission device After receiving the video subscription information of the subscription device, the video transmission device obtains the first resolution of the subscribed video stream included in the video subscription information, and then according to the The first resolution expected by the subscribing device determines the video stream to be sent.
- the subscribing device may subscribe to a video stream of one resolution level, or may subscribe to multiple video streams of different resolution levels.
- the resolution level subscribed by the subscribing device is distinguished from the non-subscribed resolution level, the resolution level of the video stream subscribed by the subscribing device is defined as the first resolution, and the subscriber is not subscribed
- the resolution level of the video stream is defined as the second resolution.
- the video transmission device when it is detected that the current uplink bit rate is updated, and the subscribed video stream of the first resolution is not sent to the subscribed device at the last moment, it may be that the video transmission device has just received the subscriber's In the case of a subscription request, the first video stream level was not allocated a bit rate during the last uplink bit rate update, or it may be that the last allocable bit rate during the last uplink bit rate update did not meet the requirements of the first resolution.
- the code rate range therefore, either the second resolution is determined by the downward switching, or the second resolution is not met and the second resolution is not met, and the video transmission device acquires the video subscription information of the subscription receiving device.
- S12 Obtain a minimum bit rate and a bit rate threshold corresponding to the first resolution according to the first resolution.
- the video stream is set with several resolutions, for example, the video stream is set with 4 resolution levels, respectively For 180P, 360P, 720P, 1080P, etc., each resolution level is set with the corresponding minimum bit rate and switching threshold, where the minimum bit rate represents the minimum transmission bit rate required to transmit to the video stream of that resolution level
- the minimum bit rate represents the minimum transmission bit rate required to transmit to the video stream of that resolution level
- setting the minimum bit rate required for a 180P resolution video stream is 30k, and the corresponding switching threshold is 0K
- a 360P resolution video stream requires a minimum bit rate of 200k, and the corresponding switching threshold is 50K
- 720P resolution video The minimum bit rate required for a stream is 600k, and the corresponding switching threshold is 100K
- the minimum bit rate required for a 1080P resolution video stream is 800k, and the corresponding switching threshold is 150K, etc.
- the present disclosure is for the resolution level
- the division of the resolution and the specific values of the minimum bit rate and switching threshold are
- the video transmission device obtains the lowest bit rate corresponding to the first resolution according to the first resolution, and The bit rate threshold is used to further determine whether to send the video stream of the first resolution.
- the subscription device may subscribe to a video stream of one resolution level, or may subscribe to multiple video streams of different resolution levels.
- the current The assignable code rate is the difference between the uplink code rate and the transmission code rate. If the assigned transmission code rate is 0, then the current assignable code rate is equal to the current uplink code rate.
- the video transmission device determines that the current assignable code rate (that is, the current Uplink code rate) The relationship between the minimum code rate corresponding to the first resolution and the sum of the code rate threshold, if the current allocable code rate is greater than or equal to the minimum code rate corresponding to the first resolution and the If the sum of the bit rate thresholds, the video transmission device determines the transmission bit rate according to the lowest bit rate corresponding to the first resolution, and then sends the transmission bit rate corresponding to the first resolution to the subscription device Rate of the video stream.
- the current assignable code rate that is, the current Uplink code rate
- the video transmission device when the video transmission device subscribes to multiple video streams of different resolution levels, the video transmission device starts with the first resolution of the lowest level of subscription and starts with the highest level of subscription.
- the first resolution with a lower level may have been traversed before and the corresponding transmission code rate may have been determined, then the transmission code rate is not 0, and the current allocable code rate is the uplink code rate and the transmission code rate
- the video transmission device determines the relationship between the current allocable bit rate and the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold.
- the video transmission device determines the transmission bit rate according to the minimum bit rate corresponding to the first resolution, and then transmits the bit rate to the The subscription device sends a video stream corresponding to the first resolution.
- the video transmission device determines the relationship between the current allocable bit rate and the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold. If the current allocable bit rate is less than the total bit rate, The sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold indicates that the current allocable bit rate does not support sending the video stream of the first resolution, and the video transmission device determines whether the video stream is Including an unsubscribed second resolution lower than the first resolution to perform a resolution switching process, if the video stream includes an unsubscribed second resolution lower than the first resolution , The video transmission device obtains the lowest bit rate and the bit rate threshold of the second resolution according to the second resolution.
- the video transmission device determines the magnitude relationship between the current allocable bit rate and the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold. If the current allocable bit rate is greater than or Equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, the video transmission device determines the transmission bit rate according to the lowest bit rate corresponding to the second resolution, and uses the transmission code Send the video stream corresponding to the second resolution to the subscription device; if the current allocable bit rate is less than the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, the video The transmission device does not send the video stream; it should be noted that if the video transmission device acquires multiple unsubscribed second resolutions, and the second resolutions all meet the current allocable bit rate greater than or equal to all When the minimum bit rate corresponding to the second resolution and the sum of the bit rate threshold are selected, the second resolution with the highest level is selected.
- a subscription device subscribes to a video stream with a first resolution of 720P.
- the transmission code rate cannot be determined for the first video stream level, but the 180P level and 360P level of the second resolution that are not subscribed meet the conditions, then the higher level 360P level is selected to determine the transmission code rate.
- the video transmission device encodes and sends the video stream whose transmission bit rate is determined, because the resolution of the video stream whose transmission bit rate is determined is different from that of the subscription device to the video transmission device.
- the expected resolution of the subscribed video stream may be different. If the upstream bit rate meets the sum of the minimum bit rate corresponding to the subscribed first resolution and the bit rate threshold, the video transmission device sends the first subscribed to the subscribed device.
- the subscriber is not subscribed to the second resolution quality video stream, the first resolution level is higher than the second resolution level, when the video transmission device starts to send a certain resolution video stream
- First it is necessary to send the key frame corresponding to the resolution level.
- the subscribing device receives the key frame corresponding to the resolution level of the video stream, it can start to decode the received video stream according to the received key frame.
- the video transmission device sets a total of 4 resolution levels of 180P, 360P, 720P, and 1080P.
- the minimum bit rate required to set a video stream with a resolution of 180P is 30k, and the corresponding switching threshold is 0K;
- the minimum bit rate required for a 360P resolution video stream is 200k, and the corresponding switching threshold is 50K;
- the minimum bit rate required for a 720P resolution video stream is 600k, and the corresponding switching threshold is 100K;
- the 1080P resolution video stream requires The minimum bit rate is 800k, and the corresponding switching threshold is 150K; for example, the subscription device subscribes to the video transmission device for a 360P-level video stream, at the first moment, the upstream bit rate of the video transmission device as the video publishing source is 210k ,
- Video transmission equipment The video transmission equipment needs to determine the current allocable bit rate at this time, that is, whether the uplink bit rate at this moment meets the sum of the minimum bit rate corresponding to the first resolution greater than or equal to
- determine whether the down switching condition is met determine that there is a non-subscribed 180P lower than the subscribed 360P first resolution level
- the second resolution, and the uplink bit rate at this moment is greater than the sum of the minimum bit rate and the switching threshold corresponding to the second resolution, 210K is greater than 30K, and the downward switching conditions are met, according to the minimum code of the second resolution of 180P
- the transmission bit rate is determined by the transmission bit rate, and the video stream corresponding to the second resolution is sent to the subscriber at the transmission bit rate; at the second moment, the uplink bit rate of the video transmission device as the video publishing source is updated to 300k, because the video transmission device did not determine the transmission bit rate for the first video stream level of 360P at the first moment, it is necessary to determine the current allocable bit rate, that is, whether the uplink bit rate meets the corresponding first resolution greater than or equal to 360P
- the sum of the minimum bit rate and the switching threshold of 300k is higher than 250k.
- the transmission bit rate is determined according to the minimum bit rate of the first resolution of 360P, and the transmission bit rate is used to send the transmission bit rate corresponding to the subscribed device
- the lowest bit rate of a resolution determines the transmission bit rate, and sends the video stream corresponding to the first resolution to the subscription device at the transmission bit rate, so that even if the uplink bit rate fluctuates near the lowest bit rate As long as the amplitude of the fluctuation does not exceed 2 times the switching threshold, frequent switching will not occur, thereby avoiding occupying too much upstream bandwidth and ensuring the transmission efficiency of the video stream.
- the first embodiment of the present disclosure provides a video transmission method, which receives video subscription information of a subscription device and determines the lowest bit rate and bit rate threshold corresponding to the first resolution of the subscribed video stream. If the current uplink The bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, and the video stream corresponding to the first resolution is sent to the subscription device, if the current uplink bit rate is less than the total bit rate.
- the second resolution Obtain the minimum bit rate corresponding to the second resolution and the bit rate threshold, and if the current uplink bit rate is greater than or equal to the sum of the minimum bit rate corresponding to the second resolution and the bit rate threshold, send a notification to the subscription device Send a video stream corresponding to the second resolution, where the condition for switching from the first resolution to the second resolution is determined by the lowest bit rate of the second resolution and the switching threshold, and the corresponding lowest bit rate
- the switching threshold dynamically adjusts the sending conditions of the first resolution and the second resolution, so that the switching between video streams of different resolutions is no longer based on the lowest bit rate of each resolution, so that the resolution of the
- the control of inter-switching helps to reduce the frequent switching of video streams of different resolutions caused by the influence of the uplink bit rate, thereby reducing the transmission of key frames, reducing the occupation of excessive uplink bandwidth, and real
- the video transmission method further includes:
- the current allocable bit rate is greater than or equal to the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold, sending the video stream corresponding to the first resolution to the subscription device.
- the video transmission device detects the total bit rate of the uplink interface in real time, that is, the uplink bit rate to ensure the quality of the video stream sent to the subscription device.
- the video transmission device detects that the current When the uplink bit rate is updated, and the video stream has been sent to the subscription device at the last moment, the update condition can be set according to the actual situation, for example, the uplink bit rate of this time may be higher than the uplink code of the last time. Rate has changed, or this time the uplink bit rate has changed more than the previous uplink bit rate than the preset amplitude threshold, etc., the current video transmission device reconfirms all the data that can be sent according to the currently updated uplink bit rate.
- the subscribing device can subscribe to a video stream of one resolution level, or it can subscribe to multiple video streams of different resolution levels.
- the subscribing device subscribes to a video stream of a resolution level
- the current allocable bit rate is equal to the current uplink bit rate; when the video transmission device subscribes to multiple video streams of different resolution levels, the video transmission device subscribes to the lowest level of the subscription.
- a resolution starts and ends with the first resolution of the highest level subscribed. It traverses all the first resolutions subscribed by the subscription device from low to high, and the current allocable bit rate is the The difference between the uplink code rate and the transmission code rate.
- the transmission code rate is 0, and the current allocable code rate is equal to the uplink code rate.
- Code rate if the first resolution with a lower level may have been traversed before the first resolution is traversed and the corresponding transmission code rate has been determined, then the current allocable code rate is the same as the uplink code rate.
- the video transmission device obtains the lowest bitrate and the bitrate threshold corresponding to the first resolution of the video stream subscribed by the subscription device, and the current allocable bitrate is the uplink.
- the video transmission device determines the magnitude relationship between the current allocable bit rate and the lowest bit rate corresponding to the first resolution and the difference between the bit rate threshold, and if the current allocable bit rate is The bit rate is greater than or equal to the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold, the video transmission device still determines the transmission bit rate according to the lowest bit
- the uplink bit rate when the uplink bit rate is low, when the video transmission device switches down from the subscribed first resolution to the non-subscribed second resolution, it needs to satisfy that the current allocable bit rate is less than The difference between the lowest bit rate corresponding to the first resolution and the corresponding switching threshold.
- the uplink bit rate When the uplink bit rate is high, the video transmission device switches upwards from the second resolution to the subscribed first resolution.
- the current allocable code rate is greater than or equal to the sum of the minimum code rate corresponding to the first resolution and the corresponding switching threshold, so that even if the uplink code rate fluctuates near the minimum code rate, as long as the amplitude of the fluctuation does not exceed
- the switching threshold is 2 times, and it will not switch frequently, thereby avoiding occupying too much upstream bandwidth and ensuring the transmission efficiency of the video stream.
- the video transmission method further includes:
- the video stream includes an unsubscribed second resolution lower than the first resolution, obtain the lowest bit rate and the bit rate threshold of the second resolution according to the second resolution.
- the current allocable bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, sending the video stream corresponding to the second resolution to the subscription device.
- the current allocable bit rate is the difference between the uplink bit rate and the transmission bit rate
- the video transmission device determines that the current allocable bit rate corresponds to the lowest value of the first resolution.
- the relationship between the size of the difference between the bit rate and the bit rate threshold is the relationship between the size of the difference between the bit rate and the bit rate threshold.
- the video transmission device determines that the current allocable bit rate is the same as the The relationship between the minimum bit rate corresponding to the second resolution and the sum of the bit rate threshold.
- the video transmission device determines the transmission bit rate according to the lowest bit rate corresponding to the second resolution, and sends the video stream corresponding to the second resolution to the subscription device at the transmission bit rate;
- the assignable bit rate is less than the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, then the video transmission device does not send the video stream.
- the video transmission device sets a total of 4 resolution levels of 180P, 360P, 720P, and 1080P.
- the minimum bit rate required to set a video stream with a resolution of 180P is 30k, and the corresponding switching threshold is 0K;
- the minimum bit rate required for a 360P resolution video stream is 200k, and the corresponding switching threshold is 50K;
- the minimum bit rate required for a 720P resolution video stream is 600k, and the corresponding switching threshold is 100K;
- the 1080P resolution video stream requires The minimum bit rate is 800k, and the corresponding switching threshold is 150K; for example, the subscribing device subscribes to the video transmission device for 180P-level and 720P-level video streams, at time t0, the upstream bit rate of the video transmission device as the video publishing source It is 20k, traverses all the first resolutions from low to high, first traverses the first resolution of 180P, due to the current assignable bit rate, the current uplink bit rate is less than the lowest bit
- the transmission code rate is not determined for the first resolution of 180P. Since there is no second resolution lower than the level of the first resolution of 180P, the downward switching condition is not met and the end is over.
- the upstream bit rate of the video transmission device as the video publishing source is updated to 30k. All first resolutions are traversed from low to high, and the first resolution of 180P is traversed first.
- the uplink bit rate meets the sum of the minimum bit rate corresponding to the first resolution greater than or equal to 180P and the switching threshold, 30k ⁇ 30k, so the transmission bit rate is determined for the first resolution of 180P, and the determined minimum bit rate is 30k, the remaining current assignable code rate is the difference between the uplink code rate and the transmission code rate, that is, the remaining current assignable code rate is 0, end.
- the upstream bit rate of the resolution video transmission device as the video publishing source is updated to 400k, traversing all the first resolutions from low to high, and first traversing the first resolution of 180P.
- the uplink bit rate at the moment meets the sum of the minimum bit rate corresponding to the first resolution greater than or equal to 180P and the switching threshold, 400k ⁇ 30k, so the transmission bit rate is determined for the first resolution of 180P, and the determined transmission bit rate
- the minimum is 30k
- continue to traverse take the first resolution of the next subscribed 720P, because the current allocable bit rate is less than the first resolution of 720P
- the sum of the corresponding minimum bit rate and switching threshold is 370k ⁇ 750k. Therefore, the transmission bit rate is not determined for the first resolution of 720P.
- the transmission code rate is determined by the second resolution, and the video stream corresponding to the second resolution is sent to the subscription device at the transmission code rate.
- the upstream bit rate of the video transmission device as the video distribution source is updated to 800k, traversing all the first resolutions from low to high, first traversing the first resolution of 180P, because the current bit rate can be allocated, that is The uplink bit rate meets the sum of the minimum bit rate corresponding to the first resolution greater than or equal to 180P and the switching threshold, and 800k ⁇ 30k.
- each resolution of the video transmission device is set with the highest bit rate corresponding to the resolution, for example, the resolution video transmission device is set to 180P, 360P, 720P, 1080P There are 4 resolutions in total.
- the minimum bit rate corresponding to the 180P resolution is 30k, the highest bit rate is 200K, and the corresponding switching threshold is 0K;
- the 360P resolution corresponds to the minimum bit rate of 200k and the highest bit rate of 700K, corresponding
- the switching threshold is 50K;
- the resolution of 720P corresponds to the lowest bit rate of 600k, the highest bit rate is 1800K, and the corresponding switching threshold is 100K;
- the resolution of 1080P corresponds to the lowest bit rate of 800k and the highest bit rate of 3000K, corresponding to the switch
- the threshold is 150K; for example, the subscription device subscribes to the video transmission device for 360P-level and 720P-level video streams, at t0, the upstream bit rate of the resolution video transmission device as the video publishing source is 600k, traversing from low to high For all first resolutions, first traverse the first resolution of 360P.
- the subscribed first resolution of 720P because the current allocable bit rate is less than the sum of the lowest bit rate corresponding to the first resolution of 720P and the switching threshold, 400k ⁇ 750k, so the transmission bit rate is not determined for the first resolution of 720P ,
- each resolution setting of the resolution video transmission device There is the highest bit rate corresponding to the resolution, which represents the maximum allowable bit rate of the resolution.
- the transmission bit rate determined by the resolution video transmission device for any resolution cannot be greater than the highest bit rate of the resolution.
- the assignable code rate is greater than the determined highest code rate of one of the resolutions, then the transmission code rate is determined according to the highest code rate of the resolution, and the remaining code rates are no longer allocated.
- the video transmission method further includes:
- Receive video subscription information of the subscription device wherein the video subscription information includes the first resolution of the subscribed video stream.
- the video stream is set with several resolutions.
- the video stream is set with 4 resolution levels, namely 180p, 360p, 720p and 1080p, etc.
- the subscribing device will subscribe the desired video stream to the video transmission device as the publisher of the video source.
- the subscriber needs to carry resolution information to inform the The video transmission device itself expects to receive the resolution.
- the video transmission device After receiving the video subscription information of the subscription device, the video transmission device obtains the first resolution of the subscribed video stream included in the video subscription information, and then according to the The first resolution expected by the subscribing device determines the video stream sent.
- a second embodiment of the present disclosure provides a video transmission device, including:
- the video subscription information obtaining unit 21 is configured to obtain the video subscription information of the subscribing device when it is detected that the current uplink bit rate is updated and the subscribed video stream of the first resolution is not sent to the subscribing device at the previous moment; wherein, The video subscription information includes the first resolution of the subscribed video stream.
- the first code rate parameter determining unit 22 is configured to obtain the minimum code rate corresponding to the first resolution and the code rate threshold according to the first resolution.
- the first video stream sending unit 23 is configured to, if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, send to the subscribing device corresponding to the first Resolution of the video stream.
- the second bit rate parameter determination unit 24 is configured to: if the current uplink bit rate is less than the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, and the video stream includes a bit rate lower than the first When the second resolution of the resolution is not subscribed, the lowest bit rate and the bit rate threshold corresponding to the second resolution are obtained according to the second resolution.
- the second video stream sending unit 25 is configured to, if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, to the subscribing device corresponding to the second Resolution of the video stream.
- the first video stream sending unit 23 includes:
- the first transmission code rate determination module is configured to, if the current allocable code rate is greater than or equal to the sum of the lowest code rate corresponding to the first resolution and the code rate threshold, according to the lowest code rate corresponding to the first resolution The rate determines the transmission bit rate.
- the first video stream sending module is configured to send the video stream corresponding to the first resolution to the subscription device at the transmission bit rate.
- the second video stream sending unit 25 includes:
- the second transmission code rate determining unit is configured to, if the current allocable code rate is greater than or equal to the sum of the lowest code rate corresponding to the second resolution and the code rate threshold, according to the lowest code rate corresponding to the second resolution The rate determines the transmission bit rate.
- the second video stream sending module is configured to send the video stream corresponding to the second resolution to the subscription device at the transmission bit rate.
- the currently allocatable code rate is the uplink code rate and the transmission code rate Difference.
- the method further includes:
- the third bit rate parameter determination module is used to obtain the video subscribed by the subscribing device when the current uplink bit rate update is detected and the video stream of the first resolution has been sent to the subscribing device at the last moment The lowest bit rate and the bit rate threshold corresponding to the first resolution of the stream.
- the third video stream sending unit is configured to send to the subscription device the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold if the current allocable bit rate is greater than or equal to the Resolution of the video stream.
- the method further includes:
- the second resolution determining module is configured to determine whether the video stream includes a bit rate lower than the first bit rate if the current allocable bit rate is less than the minimum bit rate corresponding to the first resolution and the bit rate threshold. The second resolution of the unsubscribed resolution.
- the fourth code rate parameter determination module is configured to, if the video stream includes an unsubscribed second resolution lower than the first resolution, obtain the lowest code of the second resolution according to the second resolution Rate and bit rate threshold.
- the fourth video stream sending unit is configured to send to the subscription device corresponding to the second bit rate if the current allocable bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold. Resolution of the video stream.
- the method further includes:
- the subscription information receiving module is configured to receive the video subscription information of the subscription device; wherein the video subscription information includes the first resolution of the subscribed video stream.
- the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physically separate. Units can be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the connection relationship between the modules indicates that they have a communication connection between them, which can be implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative work.
- FIG. 3 is a schematic diagram of a video transmission device provided by a third embodiment of the present disclosure.
- the video transmission device of this embodiment includes: at least one processor 11, such as a CPU, at least one network interface 14 or other user interface 13, a memory 15, at least one communication bus 12, and the communication bus 12 is used to implement communication between these components.
- Connect communication may include a USB interface and other standard interfaces and wired interfaces.
- the network interface 14 may include a Wi-Fi interface and other wireless interfaces.
- the memory 15 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
- the memory 15 may include at least one storage device located far away from the aforementioned processor 11.
- the memory 15 stores the following elements, executable modules or data structures, or their subsets, or their extended sets:
- the operating system 151 including various system programs, is used to implement various basic services and process hardware-based tasks;
- the processor 11 is configured to call the program 152 stored in the memory 15 to execute the video transmission method described in the foregoing embodiment, for example, step S11 shown in FIG. 1.
- the processor executes the computer program, the function of each module/unit in the above-mentioned device embodiments, such as a video subscription information receiving unit, is realized.
- the computer program may be divided into one or more modules/units, and the one or more modules/units are stored in the memory and executed by the processor to complete the present disclosure.
- the one or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the video transmission device.
- the video transmission device may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
- the video transmission device may include, but is not limited to, a processor and a memory.
- Those skilled in the art can understand that the schematic diagram is only an example of the video transmission device, and does not constitute a limitation on the video transmission device. It may include more or less components than those shown in the figure, or combine certain components. , Or different parts.
- the so-called processor 11 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
- the processor 11 is the control center of the video transmission equipment, and various interfaces and lines are used to connect each of the entire video transmission equipment. section.
- the memory 15 may be used to store the computer program and/or module, and the processor 11 executes or executes the computer program and/or module stored in the memory 15 and calls data stored in the memory to achieve Various functions of the video transmission device.
- the memory may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system, an application program required by at least one function, and the like; the data storage area may store data created according to the use of a mobile phone.
- the memory 15 may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), and a Secure Digital (SD) Card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
- a non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), and a Secure Digital (SD) Card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
- the fourth embodiment of the present disclosure provides a computer-readable storage medium. If the integrated module/unit of the video transmission device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer Read the storage medium. Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware through a computer program.
- the computer program can be stored in a computer-readable storage medium. When the program is executed by the processor, it can implement the steps of the foregoing method embodiments.
- the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
- the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunications signal, and software distribution media, etc.
- ROM Read-Only Memory
- RAM Random Access Memory
- electrical carrier signal telecommunications signal
- software distribution media etc.
- the content contained in the computer-readable medium can be appropriately increased or decreased in accordance with the requirements of the legislation and patent practice in the jurisdiction.
- the computer-readable medium Does not include electrical carrier signals and telecommunication signals.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
Claims (10)
- 一种视频传输方法,包括以下步骤:A video transmission method includes the following steps:当检测到当前上行码率更新,且上一时刻未向订阅设备发送订阅的第一分辨率的视频流时,获取所述订阅设备的视频订阅信息;其中,所述视频订阅信息包括订阅的视频流的第一分辨率;When it is detected that the current uplink bit rate is updated, and the subscribed video stream of the first resolution is not sent to the subscribing device at the last moment, the video subscription information of the subscribing device is acquired; wherein the video subscription information includes the subscribed video The first resolution of the stream;根据所述第一分辨率获取该第一分辨率对应的最低码率以及码率阈值;Acquiring, according to the first resolution, the lowest bit rate and the bit rate threshold corresponding to the first resolution;若当前上行码率大于或者等于所述第一分辨率对应的最低码率以及所述码率阈值之和,向所述订阅设备发送对应于所述第一分辨率的视频流;If the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, sending a video stream corresponding to the first resolution to the subscription device;若当前上行码率小于所述第一分辨率对应的最低码率以及所述码率阈值之和,且所述视频流包括有低于所述第一分辨率的未订阅的第二分辨率时,根据所述第二分辨率获取该第二分辨率对应的最低码率以及码率阈值;If the current uplink bit rate is less than the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, and the video stream includes an unsubscribed second resolution lower than the first resolution , Obtaining the lowest bit rate and the bit rate threshold corresponding to the second resolution according to the second resolution;若当前上行码率大于或者等于所述第二分辨率对应的最低码率以及所述码率阈值之和,向所述订阅设备发送对应于所述第二分辨率的视频流。If the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, sending the video stream corresponding to the second resolution to the subscription device.
- 根据权利要求1所述的视频传输方法,其中,所述若当前上行码率大于或者等于所述第一分辨率对应的最低码率以及所述码率阈值之和,以所述第一分辨率向所述订阅设备发送所述视频流,包括:The video transmission method according to claim 1, wherein if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, the first resolution Sending the video stream to the subscription device includes:若当前可分配码率大于或者等于所述第一分辨率对应的最低码率以及所述码率阈值之和,根据所述第一分辨率对应的最低码率确定传输码率;If the current allocable code rate is greater than or equal to the sum of the minimum code rate corresponding to the first resolution and the code rate threshold, determine the transmission code rate according to the minimum code rate corresponding to the first resolution;以所述传输码率向所述订阅设备发送对应于所述第一分辨率的视频流。Sending a video stream corresponding to the first resolution to the subscription device at the transmission bit rate.
- 根据权利要求1所述的视频传输方法,其中,所述若当前上行码率大于或者等于所述第二分辨率对应的最低码率以及所述码率阈值之和,向所述订阅设备发送对应于所述第二分辨率的视频流,包括:The video transmission method according to claim 1, wherein if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, the corresponding bit rate is sent to the subscription device The video stream at the second resolution includes:若当前可分配码率大于或者等于所述第二分辨率对应的最低码率以及所述码率阈值之和,根据所述第二分辨率对应的最低码率确定传输码率;If the current allocable code rate is greater than or equal to the sum of the minimum code rate corresponding to the second resolution and the code rate threshold, determine the transmission code rate according to the minimum code rate corresponding to the second resolution;以所述传输码率向所述订阅设备发送对应于所述第二分辨率的视频流。Sending a video stream corresponding to the second resolution to the subscription device at the transmission code rate.
- 根据权利要求2或3所述的视频传输方法,其中,所述当前可分配码率为所述上行码率与所述传输码率之差。The video transmission method according to claim 2 or 3, wherein the current allocable bit rate is the difference between the uplink bit rate and the transmission bit rate.
- 根据权利要求4所述的视频传输方法,还包括:The video transmission method according to claim 4, further comprising:当检测到当前上行码率更新,且上一时刻已向所述订阅设备发送所述第一分辨率的视频流时,获取所述订阅设备所订阅的视频流的第一分辨率对应的最低码率以及码率阈值;When it is detected that the current uplink bit rate is updated, and the video stream of the first resolution has been sent to the subscribing device at the previous moment, obtain the lowest code corresponding to the first resolution of the video stream subscribed by the subscribing device Rate and bit rate threshold;若当前可分配码率大于或者等于所述第一分辨率对应的最低码率以及所述码率阈值之差, 向所述订阅设备发送对应于所述第一分辨率的视频流。If the current allocable bit rate is greater than or equal to the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold, sending the video stream corresponding to the first resolution to the subscription device.
- 根据权利要求5所述的视频传输方法,还包括:The video transmission method according to claim 5, further comprising:若当前可分配码率小于所述第一分辨率对应的最低码率以及所述码率阈值之差,确定所述视频流是否包括有低于所述第一分辨率的未订阅的第二分辨率;If the current allocable bit rate is less than the difference between the lowest bit rate corresponding to the first resolution and the bit rate threshold, determine whether the video stream includes an unsubscribed second resolution lower than the first resolution rate;若所述视频流包括有低于所述第一分辨率的未订阅的第二分辨率,根据所述第二分辨率获取该第二分辨率的最低码率以及码率阈值;If the video stream includes an unsubscribed second resolution lower than the first resolution, obtaining the lowest bit rate and the bit rate threshold of the second resolution according to the second resolution;若当前可分配码率大于或者等于所述第二分辨率对应的最低码率以及所述码率阈值之和,向所述订阅设备发送对应于所述第二分辨率的视频流。If the current allocable bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold, sending the video stream corresponding to the second resolution to the subscription device.
- 根据权利要求1至6任意一项所述的视频传输方法,还包括:The video transmission method according to any one of claims 1 to 6, further comprising:接收所述订阅设备的视频订阅信息;其中,所述视频订阅信息包括订阅的视频流的第一分辨率。Receive video subscription information of the subscription device; wherein the video subscription information includes the first resolution of the subscribed video stream.
- 一种视频传输装置,包括:A video transmission device includes:视频订阅信息获取单元,用于当检测到当前上行码率更新,且上一时刻未向订阅设备发送订阅的第一分辨率的视频流时,获取所述订阅设备的视频订阅信息;其中,所述视频订阅信息包括订阅的视频流的第一分辨率;The video subscription information obtaining unit is configured to obtain the video subscription information of the subscribing device when it is detected that the current uplink bit rate is updated and the subscribed video stream of the first resolution is not sent to the subscribing device at the previous moment; The video subscription information includes the first resolution of the subscribed video stream;第一码率参数确定单元,用于根据所述第一分辨率获取该第一分辨率对应的最低码率以及码率阈值;The first code rate parameter determination unit is configured to obtain the minimum code rate corresponding to the first resolution and the code rate threshold according to the first resolution;第一视频流发送单元,用于若当前上行码率大于或者等于所述第一分辨率对应的最低码率以及所述码率阈值之和,向所述订阅设备发送对应于所述第一分辨率的视频流;The first video stream sending unit is configured to, if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, send to the subscribing device corresponding to the first resolution Rate of video streaming;第二码率参数确定单元,用于若当前上行码率小于所述第一分辨率对应的最低码率以及所述码率阈值之和,且所述视频流包括有低于所述第一分辨率的未订阅的第二分辨率时,根据所述第二分辨率获取该第二分辨率对应的最低码率以及码率阈值;The second bit rate parameter determination unit is configured to: if the current uplink bit rate is less than the sum of the lowest bit rate corresponding to the first resolution and the bit rate threshold, and the video stream includes a bit rate lower than the first resolution When the second resolution is not subscribed to, obtain the lowest bit rate and the bit rate threshold corresponding to the second resolution according to the second resolution;第二视频流发送单元,用于若当前上行码率大于或者等于所述第二分辨率对应的最低码率以及所述码率阈值之和,向所述订阅设备发送对应于所述第二分辨率的视频流。The second video stream sending unit is configured to send a signal corresponding to the second resolution to the subscription device if the current uplink bit rate is greater than or equal to the sum of the lowest bit rate corresponding to the second resolution and the bit rate threshold. Rate of the video stream.
- 一种视频传输装置设备,包括处理器、存储器以及存储在所述存储器中且被配置为由所述处理器执行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7中任意一项所述的视频传输方法。A video transmission device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. The processor executes the computer program as claimed in claims 1 to 7 The video transmission method described in any one of.
- 一种计算机可读存储介质,所述计算机可读存储介质包括存储的计算机程序,其中,在所述计算机程序运行时控制所述计算机可读存储介质所在设备执行如权利要求1至7中任意一项所述的视频传输方法。A computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of claims 1 to 7 The video transmission method described in item.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910106110.9A CN109660826B (en) | 2019-02-01 | 2019-02-01 | Video transmission method, device, equipment and storage medium |
CN201910106110.9 | 2019-02-01 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020155913A1 true WO2020155913A1 (en) | 2020-08-06 |
Family
ID=66122088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/126714 WO2020155913A1 (en) | 2019-02-01 | 2019-12-19 | Video transmission method, device, apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109660826B (en) |
WO (1) | WO2020155913A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109660826B (en) * | 2019-02-01 | 2020-09-29 | 广州视源电子科技股份有限公司 | Video transmission method, device, equipment and storage medium |
CN113038136B (en) * | 2019-12-25 | 2022-10-11 | 成都鼎桥通信技术有限公司 | Video self-adaptive adjustment method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102246458A (en) * | 2008-12-15 | 2011-11-16 | 微软公司 | Video conferencing subscription using multiple bit rate streams |
CN104661088A (en) * | 2013-11-22 | 2015-05-27 | 乐视网信息技术(北京)股份有限公司 | Video source switching method and device |
US20150381690A1 (en) * | 2014-06-26 | 2015-12-31 | Arris Enterprises, Inc. | Server side adaptive bit rate control for http streaming clients |
CN105376642A (en) * | 2014-08-18 | 2016-03-02 | 深圳Tcl新技术有限公司 | Video playing resolution switching method and system |
CN106028085A (en) * | 2016-06-14 | 2016-10-12 | 浙江工业大学 | DASH-based multi-client-side code rate self-adaption and oscillation compensation method |
CN106454412A (en) * | 2016-09-09 | 2017-02-22 | 腾讯科技(北京)有限公司 | Method and apparatus for adjusting code rate |
CN109660826A (en) * | 2019-02-01 | 2019-04-19 | 广州视源电子科技股份有限公司 | A kind of video transmission method, device, equipment and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103561283A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Method and device for code rate switch of smart television |
CN104702922A (en) * | 2013-12-10 | 2015-06-10 | 中国电信股份有限公司 | Method and system for transmitting video |
CN105025249B (en) * | 2014-04-22 | 2018-12-07 | 中国移动通信集团江苏有限公司 | Video monitoring data transfer control method, device and video monitoring system |
CN106658072A (en) * | 2016-12-05 | 2017-05-10 | 乐视控股(北京)有限公司 | Method and system for adjusting video encoding rates |
CN108400956A (en) * | 2017-02-07 | 2018-08-14 | 阿里巴巴集团控股有限公司 | Distribution method, the device and system of video data stream |
CN108337535B (en) * | 2018-03-21 | 2020-12-29 | 广州视源电子科技股份有限公司 | Client video forwarding method, device, equipment and storage medium |
-
2019
- 2019-02-01 CN CN201910106110.9A patent/CN109660826B/en active Active
- 2019-12-19 WO PCT/CN2019/126714 patent/WO2020155913A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102246458A (en) * | 2008-12-15 | 2011-11-16 | 微软公司 | Video conferencing subscription using multiple bit rate streams |
CN104661088A (en) * | 2013-11-22 | 2015-05-27 | 乐视网信息技术(北京)股份有限公司 | Video source switching method and device |
US20150381690A1 (en) * | 2014-06-26 | 2015-12-31 | Arris Enterprises, Inc. | Server side adaptive bit rate control for http streaming clients |
CN105376642A (en) * | 2014-08-18 | 2016-03-02 | 深圳Tcl新技术有限公司 | Video playing resolution switching method and system |
CN106028085A (en) * | 2016-06-14 | 2016-10-12 | 浙江工业大学 | DASH-based multi-client-side code rate self-adaption and oscillation compensation method |
CN106454412A (en) * | 2016-09-09 | 2017-02-22 | 腾讯科技(北京)有限公司 | Method and apparatus for adjusting code rate |
CN109660826A (en) * | 2019-02-01 | 2019-04-19 | 广州视源电子科技股份有限公司 | A kind of video transmission method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109660826A (en) | 2019-04-19 |
CN109660826B (en) | 2020-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022095795A1 (en) | Communication method and apparatus, computer readable medium, and electronic device | |
JP6442507B2 (en) | How to allocate available network bandwidth during ongoing traffic sessions performed by devices on the network, corresponding devices | |
CN108881972B (en) | Code rate allocation method, device, equipment and storage medium | |
WO2020155913A1 (en) | Video transmission method, device, apparatus, and storage medium | |
CN112422879A (en) | Method and device for dynamically adjusting media capability | |
JP2017504995A5 (en) | ||
CN109392013B (en) | Method for adjusting quality of service (QoS) and communication device | |
CN107547909B (en) | Media file online playing control method, device and system | |
CN111225209A (en) | Video data plug flow method, device, terminal and storage medium | |
CN102148747A (en) | Media stream transmission method and device | |
CN113542660A (en) | Method, system and storage medium for realizing conference multi-picture high-definition display | |
CN107147738A (en) | The method of performance optimization based on cloud desktop spice communication protocols | |
WO2020143423A1 (en) | Video stream code rate allocation method and device and computer readable storage medium | |
CN115209189B (en) | Video stream transmission method, system, server and storage medium | |
CN109309805B (en) | Multi-window display method, device, equipment and system for video conference | |
US11265356B2 (en) | Network assistance functions for virtual reality dyanmic streaming | |
JP2021527351A (en) | Network-controlled uplink media transmission for collaborative media production in scenarios with limited network capacity | |
CN109788233B (en) | Video layer updating method, device, equipment and medium | |
CN110572697A (en) | remote teaching method and device for multiple video channels and server | |
CN107135171B (en) | Multimedia stream transmission method and media stream sending equipment | |
CN112770077B (en) | Video conference I frame coding method and device | |
CN108040261B (en) | Network live broadcast management method and device and storage medium | |
CN102550104B (en) | Method and device for allocating resources in a mobile communication system | |
CN116614656A (en) | Multimedia stream pushing method, device, electronic equipment and readable medium | |
CN117082245A (en) | Video encoding method, video encoding device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19913547 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19913547 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19.11.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19913547 Country of ref document: EP Kind code of ref document: A1 |