WO2021129830A1 - 视频传输方法、装置、设备和系统 - Google Patents
视频传输方法、装置、设备和系统 Download PDFInfo
- Publication number
- WO2021129830A1 WO2021129830A1 PCT/CN2020/139584 CN2020139584W WO2021129830A1 WO 2021129830 A1 WO2021129830 A1 WO 2021129830A1 CN 2020139584 W CN2020139584 W CN 2020139584W WO 2021129830 A1 WO2021129830 A1 WO 2021129830A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- video
- frames
- sent
- data
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 147
- 238000000034 method Methods 0.000 title claims abstract description 83
- 230000006835 compression Effects 0.000 claims description 116
- 238000007906 compression Methods 0.000 claims description 116
- 238000012545 processing Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 18
- 239000000284 extract Substances 0.000 claims description 17
- 238000000605 extraction Methods 0.000 claims description 12
- 230000000694 effects Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 208000003028 Stuttering Diseases 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- 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
-
- 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/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/437—Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
Definitions
- This application relates to the field of video surveillance technology, and in particular to a video transmission method, device, equipment, and system.
- the front-end device (video capture device) usually performs video capture, and the front-end device can directly send the real-time stream of the surveillance video it collects to the client for playback, or it can save the collected surveillance video first. When needed, users can request video playback through the client.
- the WEB client generally supports plug-in-free preview. By extracting frames from the code stream into a picture, the picture is sent to the WEB client through the network, and the WEB client directly renders and displays the picture, but if the network bandwidth is low, The playback will freeze.
- the present application provides a video transmission method, device, equipment, and system to reduce the jam phenomenon during monitoring video playback.
- an embodiment of the present application provides a video transmission method, including:
- an embodiment of the present application provides a video transmission method, including:
- the request for reducing the amount of data transmission is used to instruct the sending end to reduce the amount of data of the second picture to be sent.
- an embodiment of the present application provides a video transmission device, including:
- a receiving module configured to receive a request for reducing the amount of data transmission from the requesting end, where the request for reducing the amount of data transmission includes the first data amount information of the first picture that the requesting end has received;
- the processing module is configured to reduce the data amount of the second picture to be sent according to the first data amount information.
- an embodiment of the present application provides a video transmission device, including:
- the receiving module is used to receive the first picture obtained by extracting frames from the video sent by the sending end;
- the processing module is configured to determine whether to send a request for reducing the amount of data transmission to the sender according to the first data amount information of the received first picture, and the request for reducing the amount of data transmission includes the first picture of the received first picture.
- a data volume information; the request to reduce the data transmission volume is used to instruct the sending end to reduce the data volume of the picture to be sent;
- the sending module is configured to send a request for reducing the data transmission volume to the sending end after the processing module determines to send a request for reducing the data transmission volume to the sending end.
- an embodiment of the present application provides a video transmission system, including:
- the sender device and the requester device are The sender device and the requester device;
- the sending end device is configured to send the first picture to the requesting end device; receiving the request to reduce the amount of data transmission from the requesting end device; the request to reduce the amount of data transmission includes the received first picture The first amount of data information;
- the sending end device is further configured to reduce the data amount of the second picture to be sent according to the first data amount information
- the requesting end device is configured to receive the first picture sent by the sending end device; according to the first data volume information of the received first picture, send the request for reducing the data transmission volume to the sending end device.
- an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method according to any one of the first aspect or the second aspect is implemented.
- an electronic device including:
- a memory for storing executable instructions of the processor
- the processor is configured to execute the method according to any one of the first aspects by executing the executable instruction.
- an electronic device including:
- a memory for storing executable instructions of the processor
- the processor is configured to execute the method according to any one of the second aspects by executing the executable instruction.
- an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method of any one of the first aspect or the second aspect.
- the video transmission method, device, device, and system provided in the embodiments of the present application receive a request to reduce the amount of data transmission from a requesting end, and the request for reducing the amount of data transmission includes the first data amount information of the first picture that the requesting end has received Reduce the data amount of the second picture to be sent according to the first data amount information.
- the requesting end sends a request to reduce the amount of data transmission to the sending end after determining the playback freeze, and the sending end according to the request has been included
- the first data volume information of the first picture is received, and the data volume of the second picture to be sent is reduced, thereby reducing the data volume transmitted through the network, reducing the playback jam phenomenon, and improving the display effect during playback.
- Figure 1 is an application scenario diagram provided by an embodiment of the application
- FIG. 2 is a schematic diagram of video transmission principles in related technologies
- FIG. 3 is a schematic flowchart of an embodiment of a video transmission method provided by the present application.
- FIG. 4 is a schematic flowchart of another embodiment of the video transmission method provided by the present application.
- FIG. 5 is a schematic diagram of interaction of an embodiment of a video transmission method provided by the present application.
- FIG. 6 is a schematic structural diagram of an embodiment of a video transmission device provided by the present application.
- FIG. 7 is a schematic structural diagram of another embodiment of a video transmission device provided by the present application.
- FIG. 8 is a schematic structural diagram of an embodiment of an electronic device provided by the present application.
- Fig. 9 is a schematic structural diagram of another embodiment of an electronic device provided by the present application.
- FIG. 1 is an application scenario architecture diagram provided by an embodiment of the application.
- the application scenario includes an electronic device 11, a collection device 12, and a server 13.
- the electronic device 11 may be, for example, a playback device or a device that is only used to receive and process pictures (played by other playback devices).
- the playback device includes, for example, electronic devices such as computers, tablet computers, and mobile phones.
- the playback device can play surveillance video through the WEB terminal.
- the collection device 12 can include, for example, a surveillance camera, a capture machine, etc., for collecting video data.
- the electronic device 11, the collection device 12, and the video collection device 12 and the server 13 can all be connected through a network.
- the collection device may directly communicate with the electronic device, that is, the collection device and the server may be integrated, which is not limited in this application.
- the method provided in the embodiment of the present application is applied to video surveillance, for example, in order to meet the requirement of low bandwidth during video transmission, the amount of transmitted data is reduced, so as to reduce the stuttering phenomenon of playback at low bandwidth.
- the server may be provided with a streaming image service (stream to image, STG for short), which is a browser service program used to convert various stream data into images.
- the playback device for example, can play videos through the WEB client, without plug-ins, and can directly play pictures.
- the data transmitted on the network is mainly pictures. If the network bandwidth is not enough, the time consumption of the picture transmission process will affect the number of pictures received by the playback device in a single second. If the number of received pictures is not enough, it will cause the video playback of the playback device to experience a phenomenon of frame skipping. Therefore, the method of the embodiment of the present application aims to solve the above-mentioned problem of video playback freezing under low bandwidth.
- the data transmission volume can be reduced when the playback freezes, for example, by sending a request to reduce the data transmission volume to the sending end, the sending end can reduce the amount of data to be sent.
- the data volume of the picture is reduced, for example, the sending end reduces the data transmission volume by reducing the size and/or number of pictures sent.
- the method provided in the present application can be implemented by a server such as a processor executing corresponding software code, or the server can implement data interaction with other devices or servers while executing the corresponding software code.
- FIG. 3 is a schematic flowchart of an embodiment of a video transmission method provided by the present application. As shown in Figure 3, the method provided in this embodiment includes:
- Step 101 A request to reduce the amount of data transmission is received from a requesting end, and the request for reducing the amount of data transmission includes the first data amount information of the first picture that the requesting end has received.
- the sending end sends the first picture obtained from the video to the requesting end, and the requesting end receives the first picture. If the requesting end determines that the playback is stuck, it sends a request to reduce the amount of data transmission to the sending end, for example, the requesting end is playing When it is found that the interval between the first pictures of adjacent frames is relatively long, the switching speed of the first pictures of adjacent frames is slow, or the actions of the characters in the adjacent frames are not consistent, etc.
- the first data amount information includes: the number of first pictures that have been received within a preset period of time, and/or the quality of the first pictures.
- the quality of the first picture may be characterized by some parameters of the first picture, such as the compression rate of the first picture, the definition of the first picture, the resolution of the first picture, and so on.
- the sending end may obtain the first picture from the video by: first extracting frames from the video to obtain the original picture corresponding to the first picture, and then according to the first picture’s quality
- the quality compresses the original picture to obtain the first picture corresponding to the quality of the picture; when the quality of the first picture is not included in the first data amount information, the sending end can obtain the first picture from the video. Is: directly extract a frame from the video to get the first picture.
- the compression rate of the first picture may refer to the size of the first picture relative to the size of the original picture corresponding to the first picture (original picture obtained by extracting frames from the video).
- the sending end obtains the first picture from the video by first extracting frames from the video to obtain the original picture corresponding to the first picture, and then comparing the first picture according to the compression rate.
- the original picture corresponding to the picture is compressed to obtain the first picture.
- the sending end obtains the first picture from the video by directly extracting frames from the video to obtain the first picture.
- frame extraction refers to directly extracting picture frames from the video.
- the sending end Before the requesting end sends a request to reduce the amount of data transmission, the sending end obtains the first picture from the video, and sends the first picture to the requesting end, and can further send the second data amount information of the first picture to the requesting end,
- the second data amount information of the first picture may include: the third number of frames drawn within the preset duration, and/or the quality of the first picture (for example, the compression rate of the first picture), so that the requesting end receives the first picture
- it can be determined whether to send a request to reduce the data transmission amount to the sender according to the second data amount information and the first data amount information of the received first picture, where the first data amount information
- the number of first pictures received by the requesting end in the preset time period may be different from the third frame drawing number of the sending end in the second data amount information.
- the requesting end sends the request to reduce the amount of data transmission to the sending end.
- the compression rate of the first picture in the first data amount information is the same as the compression rate of the first picture in the second data amount information, that is, the compression rate of the first picture in the first data amount information is obtained according to the second data amount information of.
- the third number of frames drawn refers to the number of frames drawn by the sender within a preset time period before the request to reduce the amount of data transmission is received. According to the third number of frames drawn, the first picture sent by the sender within the preset time period can be obtained. quantity.
- the requester may compare the number of first pictures received within the preset time period with the third number of frames drawn. If the number of received first pictures within the preset time period is less than the third number of frames drawn, it means that the first picture sent by the sending end has not been completely received by the requesting end, and the amount of data transmission needs to be reduced at this time.
- the requesting end determines that the number of frame draws within the preset duration is greater than the number of received first pictures, that is, the number of first pictures received within the preset duration is less than the number of first pictures sent by the sending end, It means that a stall occurs, and a request to reduce the amount of data transmission can be sent to the sender.
- the requesting end receives the first picture sent by the sending end, and records the number of first pictures received within a preset period of time (for example, one second); the requesting end determines whether the number of first images received within the preset period of time is It is the same as the number of frames drawn by the sender within the preset time period. If they are inconsistent, that is, if the number of frames drawn during the preset time period is greater than the number of the first picture received, it means that a stutter has occurred, and the sending end will reduce the amount of data transmission.
- the request instructs the sender to reduce the amount of data sent, such as reducing the quality of the sent picture and/or reducing the number of frames drawn within a preset time period.
- Step 102 Reduce the data amount of the second picture to be sent according to the first data amount information.
- the sending end may process the video data to be sent according to the first data volume information of the received first picture sent by the requesting end to reduce the amount of data to be sent.
- the amount of image data such as reducing the number of images extracted from the video within a preset time period, or compressing the images extracted from the video, compressing the size of the image (for example, compressed from 10MB to 5MB), etc.
- a request to reduce the amount of data transmission is received from the requesting end, and the request for reducing the amount of data transmission includes the first data amount information of the first picture that the requesting end has received; and reducing the amount of data to be sent according to the first data amount information
- the data volume of the picture the requesting end sends a request to reduce the amount of data transmission to the sending end after determining the playback freeze.
- the sending end reduces the amount of data to be sent according to the first data volume information of the received first picture included in the request.
- the data volume of the second picture thereby reducing the data volume transmitted through the network, reducing the playback jam phenomenon, and improving the display effect during playback.
- step 102 can be specifically implemented in the following ways:
- the first data volume information includes: the number of first pictures received within the preset time period of the requesting end, the second picture is obtained by extracting frames from the video according to the number of first drawn frames within the preset time period, and then extracting frames
- the second picture obtained or the picture obtained by compressing the second picture obtained by extracting frames is determined to be the second picture to be sent; the number of the first extracting frames is less than the number of the first pictures or equal to the number of the first pictures.
- the sending end may process the video according to the first data volume information included in the request to reduce the data transmission volume. If the first data volume information includes the number of first pictures that have been received within a preset time period, it is necessary to reduce The small amount of data transmission can reduce the number of frames drawn within the preset duration, that is, the second picture is obtained from the video by using the first frame number smaller than the original frame number.
- the first frame number can be equal to the request end Set the number of first pictures received within the time period, or to further reduce the probability of the stutter phenomenon and improve the playback effect, the number of first frames drawn may be less than the first picture received within the preset time period of the requesting end quantity.
- the second picture obtained by extracting a frame from the video is the original picture obtained by extracting the frame
- the picture that is actually sent can be a picture sent directly from the original picture obtained by extracting the frame from the video, or compressed with any compression ratio. After the picture (that is, the second picture can be sent by sending the compressed picture of the second picture obtained by the frame extraction).
- the first data amount information further includes: the quality of at least one frame of the first picture, and the quality of at least one frame of the first picture is less than or equal to the preset threshold, then according to the preset duration The number of the first frame drawn from the video, and the second picture is obtained by extracting frames from the video;
- the second picture obtained by extracting the frame may be compressed according to the quality of the second picture to be sent to obtain the second picture to be sent, and the quality of the second picture to be sent Equal to the quality of at least one frame of the first picture.
- the first data amount information further includes: the compression rate of at least one frame of the first picture, and the compression rate of at least one frame of the first picture is less than or equal to the preset threshold, then according to the preset The number of the first frame drawn within the duration, and the second picture is obtained by extracting frames from the video;
- the second picture obtained by extracting the frame from the video may be compressed according to the compression rate of the second picture to be sent, to obtain the second picture to be sent, and the second picture to be sent.
- the compression rate of the second picture is less than the compression rate of at least one frame of the first picture.
- the quality of the second picture to be sent may also be greater than the quality of at least one frame of the first picture, specifically, the quality of the first picture to be sent.
- the compression rate of the second picture may also be greater than the compression rate of at least one frame of the first picture, that is, when the number of frames is small, the picture size may be increased, that is, the picture quality may be improved, and the display effect may be improved.
- the compression rate of 30% of the first picture is equal to the preset threshold, the number of frames drawn within the preset duration is reduced, the second picture is extracted, and the compression is performed according to the compression rate (30%) of the first picture.
- the requester records the number of second pictures received. If the number of second pictures received within the preset time period is less than the number of first frame draws, the requester can send again to reduce the amount of data transmission If the quality of the second picture received by the requesting end is less than the preset threshold or equal to the preset threshold at this time, (for example, the compression rate of the received second picture is less than the preset threshold or equal to the preset threshold), then The sending end reduces the number of extracted second pictures again, extracts the second pictures, and sends the second picture or the compressed picture of the second picture (which can be compressed according to the quality of the second picture to be sent last time) to the request At the end, repeat the above steps until the number of pictures received within the preset time period recorded by the requesting end is equal to the number of frames at the sending end or the number of frames at the sending end is less than a preset value (for example, 1 frame/sec).
- a preset value for example, 1 frame/sec
- the second picture received by the requesting end is the second picture to be sent by the sending end.
- the sending end sends the second picture to be sent to the requesting end
- the requesting end receives the second picture and responds to the received second picture. Record the number of pictures.
- the first data amount information includes: the quality of at least one frame of the first picture, then according to the quality of the second picture to be sent, the second picture obtained by extracting frames from the video is compressed to obtain the second picture to be sent, The quality of the second picture to be sent is less than the quality of at least one frame of the first picture.
- the quality of the first picture may be characterized by some parameters of the first picture, such as the compression rate of the first picture, the definition of the first picture, the resolution of the first picture, and so on.
- the compression rate is the size of the first picture Relative to the ratio of the size of the original picture corresponding to the first picture, in order to reduce the amount of data transmission, the sending end compresses the second picture obtained by extracting frames to obtain the second picture to be sent, thereby reducing the second picture to be sent.
- the size of the picture that is, reduce the compression rate, determine the compression rate of the second picture to be sent according to the compression rate of the first picture, and compress the second picture obtained from the frame extraction according to the compression rate of the second picture to be sent , So that the amount of data of the second picture to be sent is reduced, so as to avoid playing jams when the network
- the first data volume information further includes: the number of first pictures that the requesting end has received within the preset time period
- the following methods can be used before compressing the second picture obtained by frame extraction Extract frames from the video to get the second picture:
- the second picture is obtained by extracting frames from the video according to the second number of drawn frames within the preset duration, and the second number of drawn frames is less than the number of the first pictures or equal to the number of the first pictures.
- the number of frame extractions within a preset time period can be reduced, that is, the number of second frame extractions less than the original number of frames can be selected from the video.
- the second picture is obtained by drawing frames.
- the number of the second drawing frames may be equal to the number of the first pictures received within the preset time period of the requesting end, or in order to further reduce the probability of the occurrence of the stuck phenomenon and improve the playback effect, the second picture may be The number of second frame draws may be less than the number of first pictures received within the preset time period of the requesting end.
- the amount of data transmission can be reduced by reducing the number of frame draws and the size of the picture, so that playback jams can be avoided when the network condition is poor.
- the compression operation is performed.
- the compression operation is performed.
- the sending end after receiving a request to reduce the amount of data transmission, the sending end makes a judgment based on the parameters carried in the request (for example, including the compression rate of the first picture). If the compression rate of the first picture is greater than 30%, it is compressed. If the rate is greater than the preset threshold, the picture quality is high, and the size of the picture can be further compressed, that is, the compression rate of the picture is reduced, the picture to be sent is compressed according to the reduced compression rate, and the compressed picture is sent to the request end.
- the parameters carried in the request for example, including the compression rate of the first picture. If the compression rate of the first picture is greater than 30%, it is compressed. If the rate is greater than the preset threshold, the picture quality is high, and the size of the picture can be further compressed, that is, the compression rate of the picture is reduced, the picture to be sent is compressed according to the reduced compression rate, and the compressed picture is sent to the request end.
- the requesting end records the number of second pictures received, and if the number of second pictures received within the preset time period is less than the number of frame draws at the sending end, the playback device sends again to reduce the amount of data transmission If the compression rate of the second picture sent by the sender last time is greater than the preset threshold, the compression rate is reduced again, for example, the compression rate is reduced by 10%. According to the reduced compression rate, after the second picture is compressed Then give the compressed second picture to the playback device, and repeat the above steps until the number of second pictures received within the preset time period recorded by the playback device is equal to the number of frames drawn at the sender or, and the compression rate of the second picture is less than the preset time. Set the threshold or equal to the preset threshold.
- the sending end after receiving a request to reduce the amount of data transmission, the sending end reduces the compression rate of the picture and/or reduces the number of frames when a jam occurs at the playback device side, reduces the jam phenomenon, and improves the playback device. End display effect.
- FIG. 4 is a schematic flowchart of an embodiment of a video transmission method provided by the present application. As shown in Figure 4, the method provided in this embodiment includes:
- Step 201 Receive the first picture obtained from the video sent by the sending end
- Step 202 Determine whether to send a request to reduce the amount of data transmission to the sender according to the first data amount information of the received first picture, where the request to reduce the amount of data transmission includes the first data of the received first picture Volume information; the request to reduce the data transmission volume is used to instruct the sending end to reduce the data volume of the second picture to be sent.
- the sending end sends the first picture obtained from the video to the requesting end, and the requesting end receives the first picture. If the requesting end determines that the playback is stuck, it sends a request to reduce the amount of data transmission to the sending end, for example, the requesting end is playing When it is found that the interval between the first pictures of adjacent frames is relatively long, the switching speed of the first pictures of adjacent frames is slow, or the actions of the characters in the adjacent frames are not consistent, etc.
- the first data amount information includes: the number of first pictures that have been received within a preset period of time, and/or the quality of the first pictures.
- the quality of the first picture may be characterized by some parameters of the first picture, such as the compression rate of the first picture, the definition of the first picture, the resolution of the first picture, and so on.
- the sending end may obtain the first picture from the video by: first extracting frames from the video to obtain the original picture corresponding to the first picture, and then according to the first picture’s quality
- the quality compresses the original picture to obtain the first picture corresponding to the quality of the picture; when the quality of the first picture is not included in the first data amount information, the sending end can obtain the first picture from the video. Is: directly extract a frame from the video to get the first picture.
- the compression rate of the first picture may refer to the size of the first picture relative to the size of the original picture corresponding to the first picture (original picture obtained by extracting frames from the video).
- the sending end obtains the first picture from the video by first extracting frames from the video to obtain the original picture corresponding to the first picture, and then comparing the first picture according to the compression rate.
- the original picture corresponding to the picture is compressed to obtain the first picture.
- the sending end obtains the first picture from the video by directly extracting frames from the video to obtain the first picture.
- frame extraction refers to directly extracting picture frames from the video.
- the sending end can process the video data to be sent according to the first data volume information of the received first picture sent by the requesting end to reduce the data of the picture to be sent For example, reducing the number of pictures extracted from the video within a preset time period, or compressing the pictures extracted from the video, compressing the size of the picture (for example, compressed from 10MB to 5MB), etc.
- the method further includes:
- Second data volume information of the first picture obtained from the video sent by the sending end includes: the number of frames drawn by the sending end within a preset period of time;
- step 202 can also be implemented in the following manner:
- the first data amount information includes: the number of received first pictures within the preset time period The number of first pictures.
- the second data amount information further includes: the quality of the first picture sent
- the first data amount information further includes: the quality of the received first picture.
- the quality of the first picture is characterized by a compression ratio of the first picture, the compression ratio being the size of the first picture relative to the size of the original picture corresponding to the first picture proportion.
- the method in this embodiment is similar to the method in the embodiment shown in FIG. 3, and its implementation principles and technical effects are similar, and will not be repeated here.
- the method of this embodiment specifically includes:
- the playback device sends a playback request to the server.
- the playback device serves as the requesting terminal to send a playback request to the sending terminal server, where the playback request may carry the identifier of the video to be played.
- the server obtains the code stream of the video to be played from the collection device according to the identifier of the video to be played.
- the server receives the code stream of the to-be-played video sent by the collecting device.
- the server sends a data acquisition request to the video acquisition device, and acquires code stream data from the video acquisition device.
- the server extracts pictures from the code stream.
- the server extracts a preset number of pictures from the code stream within a preset time period, for example, extracts N pictures in a single second; N is an integer greater than 1.
- the server sends the extracted initial picture data to the playback device.
- the initial picture data may include: the first picture, the number of original pictures corresponding to the first picture extracted in a single second, and the picture quality of the first picture (for example, the first picture Compression ratio).
- the playback device receives the first picture sent by the server and plays it, while recording the number of first pictures received in a single second, and compares the number of first pictures received in a single second with the first picture extracted by the server in a single second Whether the number of corresponding original pictures matches.
- the playback device sends a request to reduce the data transmission volume to the server, instructing the server to reduce the data transmission volume.
- the playback device can send a request to the server to reduce the amount of data transmission, and the server reduces the data transmission according to the request. For example, reduce the quality of the picture and/or reduce the number of frames drawn in the picture within a preset time period.
- the request to reduce the amount of data transmission includes: the number of first pictures that have been received in a single second, and the picture quality (for example, the compression rate of the first picture).
- the server After the server receives the request to reduce the amount of data transmission, it judges whether the compression rate of the picture is greater than the preset threshold (for example, 30%) according to the parameter (for example, the compression rate of the first picture) carried in the request for reducing the amount of data transmission.
- the preset threshold for example, 30%
- the parameter for example, the compression rate of the first picture
- the server sends the compressed picture data to the playback device.
- the compressed picture data includes: compressed second pictures, the number of second pictures extracted in a single second, and the compression rate of the second pictures.
- the playback device repeatedly executes S6.
- the playback device continues to record the number of received pictures. If there is still a freeze, the playback device repeats S7 and continues to send requests to reduce the amount of data transmission.
- the server again determines whether the compression ratio is greater than the preset threshold, and if so, repeats S8-S9, and continues to reduce the compression ratio of the picture until the compression ratio is less than the preset threshold or equal to the preset threshold.
- the playback device receives the first picture sent by the server and plays it, and at the same time records the number of first pictures received in a single second, and compares the number of first pictures received in a single second with the first picture extracted by the server in a single second Whether the number of original pictures corresponding to the picture matches.
- the playback device sends a request to reduce the data transmission volume to the server, instructing the server to reduce the data transmission volume.
- the playback device can send a request to the server to reduce the amount of data transmission, and the server reduces the data transmission according to the request. For example, reduce the quality of the picture and/or reduce the number of frames drawn in the picture within a preset time period.
- the request to reduce the amount of data transmission includes: the number of first pictures that have been received in a single second, and the picture quality (for example, the compression rate of the first picture).
- the server judges whether the number of first pictures extracted in a single second is greater than the preset value according to the parameters (such as the compression rate of the first picture) carried in the request to reduce the data transmission amount.
- the compression rate of the first picture is less than or equal to the preset threshold, it indicates that there is still a stutter, which means that the number of first pictures extracted per second is greater than the preset value. For example, if the number of the first picture extracted in a single second is greater than one, execute S8' and the server reduces the number of frames drawn in a single second to reduce the amount of data transmission;
- the server sends the picture obtained by reducing the number of frames to the playback device.
- compression Before sending the picture obtained by frame extraction, compression can also be performed. At this time, the compression ratio can be kept consistent with the compression ratio included in the request to reduce the amount of data transmission in S7', or the compression ratio can also be reduced.
- the playback device repeatedly executes S6'.
- the playback device continues to record the number of received pictures. If there is still a freeze, the playback device repeats S7' and continues to send requests to reduce the amount of data transmission.
- the server again determines whether the compression rate is greater than the preset threshold, one second Whether the number of original pictures corresponding to the extracted first picture is greater than one, if the compression rate is less than or equal to the preset threshold, and the number of original pictures corresponding to the first picture extracted in a single second is greater than one, repeat the execution S8'-S9', that is, continue to reduce the number of frames per second until the number of frames per second is equal to 1 frame.
- the compression rate is greater than a preset threshold
- the compression rate is compressed, which further reduces the amount of data transmission.
- the compression rate of the picture when the compression rate of the picture is less than a preset threshold (for example, 30%) or equal to the preset threshold, S8' can also be performed, and the picture obtained by frame extraction can also be compressed before sending.
- the compression rate can be kept consistent with the compression rate included in the request to reduce the amount of data transmission in S7', or the compression rate can also be increased.
- the method of this embodiment increases the compression rate of the picture and/or reduces the number of frames drawn by the sending end device within a preset period of time when the network condition is poor and the jam occurs, so as to reduce the jam and improve the display effect.
- FIG. 6 is a schematic structural diagram of an embodiment of a video transmission device provided by this application. As shown in FIG. 6, the video transmission device of this embodiment includes:
- the receiving module 601 is configured to receive a request for reducing the amount of data transmission from the requesting end, where the request for reducing the amount of data transmission includes the first data amount information of the first frame of picture that the requesting end has received;
- the processing module 602 is configured to reduce the data amount of the second picture to be sent according to the first data amount information.
- the processing module 602 is specifically configured to:
- the number of first drawn frames within a preset time length extract a frame from the video to obtain a second picture, and determine the second picture obtained by extracting the frame or the compressed picture of the second picture obtained by extracting the frame as the The second picture to be sent; the number of first drawn frames is less than the number of the first pictures or equal to the number of the first pictures.
- the processing module is specifically configured to:
- the second picture obtained by extracting frames from the video is compressed to obtain the second picture to be sent.
- the quality of the second picture to be sent is lower than that of at least one frame. State the quality of the first picture.
- the quality of the first picture is characterized by a compression rate of the first picture, where the compression rate is relative to the size of the first picture relative to the original picture corresponding to the first picture
- the processing module 602 is specifically configured to:
- the second picture obtained by extracting frames from the video is compressed to obtain the second picture to be sent, and the compression rate of the second picture to be sent is less than at least one frame The compression rate of the first picture.
- the compression rate is reduced, that is, the size of the second picture sent by the sender is reduced, thereby reducing the amount of data transmission in the network and avoiding jams.
- the processing module 602 is further configured to:
- the second number of extracted frames is less than the first number of extracted frames.
- the number of pictures may be equal to the number of the first pictures.
- it also includes:
- the sending module is used to send the first picture obtained from the video and the second data volume information of the first picture to the requesting end before receiving a request to reduce the data transmission volume from the requesting end; the second data volume information Including: the third number of frames drawn within the preset duration, and/or the quality of the first picture.
- processing module 602 is also used for:
- the processing module 602 is specifically configured to:
- a second picture is obtained by extracting frames from the video.
- the device in this embodiment can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar.
- FIG. 7 is a schematic structural diagram of an embodiment of a video transmission device provided by this application. As shown in FIG. 7, the video transmission device of this embodiment includes:
- the receiving module 701 is configured to receive the first picture obtained from the video sent by the sending end;
- the processing module 702 is configured to determine whether to send a request for reducing the amount of data transmission to the sender according to the first data amount information of the received first picture, and the request for reducing the amount of data transmission includes the information about the first picture that has been received. First data volume information; the request to reduce the data transmission volume is used to instruct the sending end to reduce the data volume of the picture to be sent;
- the sending module 703 is configured to send a request for reducing the data transmission volume to the sending end if the processing module 702 determines to send a request for reducing the data transmission volume to the sending end.
- the first picture includes the original picture obtained by extracting frames from the video by the sender or a picture obtained by compressing the original picture
- the receiving module 701 is further configured to:
- Second data volume information of the first picture obtained from the video sent by the sending end includes: the number of frames drawn by the sending end within a preset period of time;
- the processing module 702 is specifically configured to:
- the first data amount information includes: the number of first pictures that have been received within a preset time period.
- the second data amount information further includes: the quality of the first picture sent
- the first data amount information further includes: the quality of the received first picture.
- the quality of the first picture is characterized by a compression rate of the first picture, where the compression rate is relative to the size of the first picture relative to the original picture corresponding to the first picture The ratio of the size.
- the device in this embodiment can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
- An embodiment of the present application also provides a video transmission system, including:
- the sender device and the requester device are The sender device and the requester device;
- the sending end device is configured to send the first picture to the requesting end device; receiving a request to reduce the amount of data transmission from the requesting end device; the request to reduce the amount of data transmission includes the first picture that has been received 1.
- Data volume information ;
- the sending end device is further configured to reduce the data amount of the second picture to be sent according to the first data amount information
- the requesting end device is configured to receive the first picture sent by the sending end device; according to the first data volume information of the received first picture, send the request for reducing the data transmission volume to the sending end device.
- the sending end device is specifically configured to:
- the number of first drawn frames within a preset time length extract a frame from the video to obtain a second picture, and determine the second picture obtained by extracting the frame or the compressed picture of the second picture obtained by extracting the frame as the The second picture to be sent; the number of first drawn frames is less than the number of the first pictures or equal to the number of the first pictures.
- the sending end device is specifically configured to:
- the second picture obtained by extracting frames from the video is compressed to obtain the second picture to be sent, and the quality of the second picture to be sent is less than that of at least one frame.
- the quality of the first picture is less than that of at least one frame.
- the quality of the first picture is characterized by a compression rate of the first picture, where the compression rate is relative to the size of the first picture relative to the original picture corresponding to the first picture
- the original picture is an original picture obtained by extracting frames from the video, and the sending end device is specifically used for:
- the second picture obtained by extracting frames from the video is compressed to obtain the second picture to be sent, and the compression rate of the second picture to be sent is less than at least one frame The compression rate of the first picture.
- the sending end device is further configured to:
- the second number of extracted frames is less than the first number of extracted frames.
- the number of pictures may be equal to the number of the first pictures.
- the sending end device is specifically configured to:
- the sending end device is also used to:
- the second data amount information includes: the third number of frames drawn within a preset period of time, and/or the quality of the first picture.
- the request-end device is further configured to:
- the second data amount information includes: the number of frames drawn by the sending end device within a preset time period;
- the sending end device According to the first data volume information of the received first picture and the number of frames drawn within the preset time length, it is determined whether to send the request to reduce the data transmission volume to the sending end device.
- the requesting end device is specifically configured to:
- the number of frames drawn within the preset duration is greater than the number of first pictures received within the preset duration, it is determined to send a request to reduce the amount of data transmission to the sending end device.
- the second data amount information further includes: the quality of the first picture sent
- the first data amount information further includes: the quality of the received first picture.
- the sending end device is also used to:
- the compression rate of at least one frame of the first picture is greater than a preset threshold.
- the sending end device is specifically configured to:
- a second picture is obtained by extracting frames from the video according to the number of first drawn frames within the preset duration.
- FIG. 8 is a structural diagram of an embodiment of an electronic device provided by this application. As shown in FIG. 8, the electronic device includes:
- a communication interface 803 which is used to communicate with other devices.
- the above components can communicate via one or more buses.
- the processor 801 is configured to execute the corresponding method in the foregoing method embodiment of the sending end by executing the executable instruction.
- the processor 801 is configured to execute the corresponding method in the foregoing method embodiment of the sending end by executing the executable instruction.
- the executable instruction For the specific implementation process, please refer to the foregoing method embodiment, which will not be repeated here.
- the electronic device is, for example, the sender device of the foregoing embodiment, such as a server.
- FIG. 9 is a structural diagram of another embodiment of an electronic device provided by this application. As shown in FIG. 9, the playback device includes:
- it may further include: a communication interface 903 for communicating with other devices, or when the electronic device is used as a playback device, it may also include a display for displaying pictures or video data.
- a communication interface 903 for communicating with other devices, or when the electronic device is used as a playback device, it may also include a display for displaying pictures or video data.
- the above components can communicate via one or more buses.
- the processor 901 is configured to execute the corresponding method in the foregoing request-side method embodiment by executing the executable instruction.
- the processor 901 is configured to execute the corresponding method in the foregoing request-side method embodiment by executing the executable instruction.
- the executable instruction For the specific implementation process, please refer to the foregoing method embodiment, which will not be repeated here.
- the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the corresponding method in the foregoing method embodiment is implemented.
- the specific implementation process please refer to the foregoing method implementation.
- the implementation principles and technical effects are similar, so I won’t repeat them here.
- the computer program product includes: a computer program, the computer program is stored in a computer-readable storage medium, and at least one processor of an electronic device can read the computer program from the computer-readable storage medium, At least one processor executes the computer program to make the electronic device execute the solution provided in any of the foregoing embodiments.
- the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the solution provided by any of the foregoing embodiments is implemented.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (38)
- 一种视频传输方法,其特征在于,包括:从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;根据所述第一数据量信息降低待发送的第二图片的数据量。
- 根据权利要求1所述的方法,其特征在于,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述根据所述第一数据量信息降低待发送的第二图片的数据量,包括:根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
- 根据权利要求1所述的方法,其特征在于,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述根据所述第一数据量信息降低待发送的第二图片的数据量,包括:根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量小于至少一帧所述第一图片的质量。
- 根据权利要求3所述的方法,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,所述根据所述数据量信息降低待发送的第二图片的数据量,包括:根据待发送的第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
- 根据权利要求3所述的方法,其特征在于,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述对从视频中抽帧得到的第二图片进行压缩之前,还包括:根据预设时长内的第二抽帧数量,从视频中抽帧得到第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
- 根据权利要求1-5任一项所述的方法,其特征在于,所述第一图片包括从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述从请求端接收降低数据传输量的请求之前,还包括:将从视频中得到的第一图片以及第一图片的第二数据量信息发送给请求端;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
- 根据权利要求3所述的方法,其特征在于,所述对从视频中抽帧得到的第二图片进行压缩之前,还包括:确定至少一帧所述第一图片的质量大于预设阈值。
- 根据权利要求2所述的方法,其特征在于,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,所述根据预设时长内的第一抽帧数量,从所述视频中抽帧得到 第二图片,包括:若至少一帧所述第一图片的质量小于预设阈值或等于所述预设阈值,则根据所述预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
- 一种视频传输方法,其特征在于,包括:接收发送端发送的从视频中得到的第一图片;根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述降低数据传输量的请求用于指示所述发送端降低待发送的第二图片的数据量。
- 根据权利要求9所述的方法,其特征在于,所述第一图片包括发送端从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述方法还包括:接收发送端发送的从视频中得到的第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端在预设时长内抽帧的数量;相应的,所述根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,包括:若所述抽帧的数量大于预设时长内已接收第一图片的数量,则确定向所述发送端发送降低数据传输量的请求;所述第一数据量信息包括:预设时长内已接收第一图片的数量。
- 根据权利要求10所述的方法,其特征在于,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
- 根据权利要求11所述的方法,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例。
- 一种视频传输装置,其特征在于,包括:接收模块,用于从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;处理模块,用于根据所述第一数据量信息降低待发送的第二图片的数据量。
- 根据权利要求13所述的装置,其特征在于,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述处理模块具体用于:根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
- 根据权利要求13所述的装置,其特征在于,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述处理模块具体用于:根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量小于至少一帧所述第一图片的质量。
- 根据权利要求15所述的装置,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,所述处理模块具体用于:根据待发送第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述 待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
- 根据权利要求15所述的装置,其特征在于,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述处理模块还用于:在对从视频中抽帧得到的第二图片进行压缩之前,根据预设时长内的第二抽帧数量,从视频中抽帧得到所述第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
- 根据权利要求13-17任一项所述的装置,其特征在于,所述第一图片包括从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述装置还包括:发送模块,用于在从请求端接收降低数据传输量的请求之前,将从视频中得到的第一图片以及第一图片的第二数据量信息发送给请求端;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
- 根据权利要求15所述的装置,其特征在于,所述处理模块还用于:在对从视频中抽帧得到的第二图片进行压缩之前,确定至少一帧所述第一图片的质量大于预设阈值。
- 根据权利要求14所述的装置,其特征在于,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,且至少一帧所述第一图片的质量小于预设阈值或等于所述预设阈值,所述处理模块具体用于:根据所述预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
- 一种视频传输装置,其特征在于,包括:接收模块,用于接收发送端发送的从视频中得到的第一图片;处理模块,用于根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述降低数据传输量的请求用于指示所述发送端降低待发送图片的数据量;发送模块,用于在处理模块确定向所述发送端发送降低数据传输量的请求,向所述发送端发送降低数据传输量的请求。
- 根据权利要求21所述的装置,其特征在于,所述第一图片包括发送端从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述接收模块还用于:接收发送端发送的从视频中得到的第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端在预设时长内抽帧的数量;相应的,若所述抽帧的数量大于预设时长内已接收第一图片的数量,所述处理模块具体用于:确定向所述发送端发送降低数据传输量的请求;所述第一数据量信息包括:预设时长内已接收第一图片的数量。
- 根据权利要求22所述的装置,其特征在于,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
- 根据权利要求23所述的装置,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例。
- 一种视频传输系统,其特征在于,包括:发送端设备和请求端设备;其中,所述发送端设备,用于向请求端设备发送第一图片;从所述请求端设备接收降低数据传输量的请求;所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述发送端设备,还用于根据所述第一数据量信息降低待发送的第二图片的数据量;所述请求端设备,用于接收所述发送端设备发送的第一图片;根据已接收第一图片的第一数据量信息,向所述发送端设备发送所述降低数据传输量的请求。
- 根据权利要求25所述的系统,其特征在于,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述发送端设备具体用于:根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
- 根据权利要求25所述的系统,其特征在于,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述发送端设备具体用于:根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量小于至少一帧所述第一图片的质量。
- 根据权利要求27所述的系统,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,所述发送端设备具体用于:根据待发送的第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
- 根据权利要求27所述的系统,其特征在于,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述发送端设备还用于:在对从视频中抽帧得到的第二图片进行压缩之前,根据预设时长内的第二抽帧数量,从视频中抽帧得到第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
- 根据权利要求25-29任一项所述的系统,其特征在于,所述第一图片包括从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述发送端设备还用于:向请求端设备发送第一图片的第二数据量信息;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
- 根据权利要求25所述的系统,其特征在于,所述请求端设备还用于:在根据已接收第一图片的第一数据量信息,向所述发送端设备发送降低数据传输量的请求之前,接收所述发送端设备发送的所述第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端设备在预设时长内抽帧的数量;根据已接收第一图片的第一数据量信息和所述预设时长内抽帧的数量,确定是否向所述发送端设备发送所述降低数据传输量的请求。
- 根据权利要求31所述的系统,其特征在于,若所述第一数据量信息包括:预设 时长内已接收第一图片的数量,所述请求端设备,具体用于:若所述预设时长内抽帧的数量大于所述预设时长内已接收第一图片的数量,则确定向所述发送端设备发送降低数据传输量的请求。
- 根据权利要求32所述的系统,其特征在于,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
- 根据权利要求27所述的系统,其特征在于,所述发送端设备还用于:在对从视频中抽帧得到的第二图片进行压缩之前,确定至少一帧所述第一图片的质量大于预设阈值。
- 根据权利要求26所述的系统,其特征在于,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,所述发送端设备具体用于:若至少一帧所述第一图片的质量小于预设阈值或等于所述预设阈值,则根据所述预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
- 一种电子设备,其特征在于,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1-8或9-12任一项所述的方法。
- 一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现权利要求1-8或9-12中任一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-8或9-12中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911357649.8 | 2019-12-25 | ||
CN201911357649.8A CN111432169B (zh) | 2019-12-25 | 2019-12-25 | 视频传输方法、装置、设备和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021129830A1 true WO2021129830A1 (zh) | 2021-07-01 |
Family
ID=71546908
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/139584 WO2021129830A1 (zh) | 2019-12-25 | 2020-12-25 | 视频传输方法、装置、设备和系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111432169B (zh) |
WO (1) | WO2021129830A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113835950A (zh) * | 2021-08-20 | 2021-12-24 | 杭州逗酷软件科技有限公司 | 界面显示卡顿的识别方法、装置、存储介质及电子设备 |
CN115457036A (zh) * | 2022-11-10 | 2022-12-09 | 中国平安财产保险股份有限公司 | 检测模型训练方法、智能点数方法和相关设备 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111432169B (zh) * | 2019-12-25 | 2021-11-30 | 杭州海康威视数字技术股份有限公司 | 视频传输方法、装置、设备和系统 |
CN116033235B (zh) * | 2022-12-13 | 2024-03-19 | 北京百度网讯科技有限公司 | 数据传输方法、数字人生产设备以及数字人显示设备 |
CN116233372B (zh) * | 2023-05-10 | 2023-07-14 | 北京城建智控科技股份有限公司 | 一种移动方舱内部的安全监控方法及系统 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394486A (zh) * | 2014-11-26 | 2015-03-04 | 中标软件有限公司 | 一种基于云桌面的视频流处理方法及装置 |
US20160173805A1 (en) * | 2013-07-30 | 2016-06-16 | Chistopher CLAUS | Adaptive Methods For Wireless Camera Communication |
CN106534055A (zh) * | 2015-09-15 | 2017-03-22 | 广州世荣电子有限公司 | 一种视频传输方法及系统 |
CN108206960A (zh) * | 2016-12-20 | 2018-06-26 | 乐视汽车(北京)有限公司 | 图像传输过程中图像压缩率调整方法及移动终端 |
CN110519633A (zh) * | 2019-08-02 | 2019-11-29 | 广州视源电子科技股份有限公司 | 无线传屏方法、装置、系统和智能交互平板 |
CN111432169A (zh) * | 2019-12-25 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | 视频传输方法、装置、设备和系统 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102685475B (zh) * | 2011-03-11 | 2015-04-29 | 杭州海康威视数字技术股份有限公司 | 视频减帧率的隔行压缩显示方法及其系统 |
CN102869046A (zh) * | 2011-07-08 | 2013-01-09 | 杭州海康威视数字技术股份有限公司 | 无线网络中视频传输方法及其装置 |
CN103475902B (zh) * | 2013-09-06 | 2017-04-19 | 同观科技(深圳)有限公司 | 一种视频编码及网络传输方法和一种视频转发服务器 |
CN107734300A (zh) * | 2017-10-19 | 2018-02-23 | 歌尔科技有限公司 | 图像传输方法及设备 |
WO2019237659A1 (en) * | 2018-06-11 | 2019-12-19 | Suzhou Aqueti Technology Co., Ltd. | Blind compressive sampling method, apparatus and imaging system |
-
2019
- 2019-12-25 CN CN201911357649.8A patent/CN111432169B/zh active Active
-
2020
- 2020-12-25 WO PCT/CN2020/139584 patent/WO2021129830A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160173805A1 (en) * | 2013-07-30 | 2016-06-16 | Chistopher CLAUS | Adaptive Methods For Wireless Camera Communication |
CN104394486A (zh) * | 2014-11-26 | 2015-03-04 | 中标软件有限公司 | 一种基于云桌面的视频流处理方法及装置 |
CN106534055A (zh) * | 2015-09-15 | 2017-03-22 | 广州世荣电子有限公司 | 一种视频传输方法及系统 |
CN108206960A (zh) * | 2016-12-20 | 2018-06-26 | 乐视汽车(北京)有限公司 | 图像传输过程中图像压缩率调整方法及移动终端 |
CN110519633A (zh) * | 2019-08-02 | 2019-11-29 | 广州视源电子科技股份有限公司 | 无线传屏方法、装置、系统和智能交互平板 |
CN111432169A (zh) * | 2019-12-25 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | 视频传输方法、装置、设备和系统 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113835950A (zh) * | 2021-08-20 | 2021-12-24 | 杭州逗酷软件科技有限公司 | 界面显示卡顿的识别方法、装置、存储介质及电子设备 |
CN115457036A (zh) * | 2022-11-10 | 2022-12-09 | 中国平安财产保险股份有限公司 | 检测模型训练方法、智能点数方法和相关设备 |
Also Published As
Publication number | Publication date |
---|---|
CN111432169A (zh) | 2020-07-17 |
CN111432169B (zh) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021129830A1 (zh) | 视频传输方法、装置、设备和系统 | |
US20230256345A1 (en) | Game data processing method and apparatus, and storage medium | |
CN111135569B (zh) | 云游戏处理方法、装置、存储介质与电子设备 | |
CN104918137B (zh) | 一种拼接屏系统播放视频的方法 | |
CN108540819B (zh) | 直播数据处理方法、装置、计算机设备和存储介质 | |
CN106998485B (zh) | 视频直播方法及装置 | |
CN109089131B (zh) | 一种基于ios系统的录屏直播方法、装置、设备及存储介质 | |
WO2021179557A1 (zh) | 视频流播放方法、系统、终端及存储介质 | |
US10645391B2 (en) | Graphical instruction data processing method and apparatus, and system | |
US20200314509A1 (en) | Video Processing Method, Terminal and Server | |
CN109348279A (zh) | 一种推流方法、装置、设备及存储介质 | |
CN111447455A (zh) | 直播视频流回放处理方法、装置及计算设备 | |
CN111726657A (zh) | 直播视频的播放处理方法、装置及服务器 | |
CN111866457B (zh) | 监控图像处理方法、电子设备、存储介质及系统 | |
CN104053015A (zh) | 一种传输媒体数据的方法及虚拟桌面服务器 | |
CN111726641A (zh) | 直播视频的播放处理方法、装置及服务器 | |
CN103686077A (zh) | 应用于3g无线网络实时音视频数据传输的双缓冲方法 | |
CN115883962A (zh) | 摄像头控制方法、系统、电子设备和存储介质 | |
CN113596112A (zh) | 一种面向视频监控的传输方法 | |
CN113207016A (zh) | 一种虚拟机图像帧率控制方法及网络设备、存储介质 | |
WO2018003685A1 (ja) | 画像圧縮方法、画像復元方法、画像圧縮装置、画像復元装置、画像圧縮プログラムプロダクト及び画像復元プログラムプロダクト | |
CN113271496B (zh) | 一种网络直播中视频平滑播放方法、系统和可读存储介质 | |
CN111107296B (zh) | 音频数据采集方法、装置、电子设备及可读存储介质 | |
CN110798700B (zh) | 视频处理方法、视频处理装置、存储介质与电子设备 | |
CN111405325B (zh) | 一种视频内容分发方法和装置及电子设备 |
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: 20905684 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: 20905684 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 24.05.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20905684 Country of ref document: EP Kind code of ref document: A1 |