WO2021129830A1 - 视频传输方法、装置、设备和系统 - Google Patents

视频传输方法、装置、设备和系统 Download PDF

Info

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
Application number
PCT/CN2020/139584
Other languages
English (en)
French (fr)
Inventor
樊循峰
Original Assignee
杭州海康威视数字技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视数字技术股份有限公司 filed Critical 杭州海康威视数字技术股份有限公司
Publication of WO2021129830A1 publication Critical patent/WO2021129830A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/262Content 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/26208Content 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/266Channel 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/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/437Interfacing 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

视频传输方法、装置、设备和系统
本申请要求于2019年12月25日提交中国专利局、申请号为201911357649.8、申请名称为“视频传输方法、装置、设备和系统的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频监控技术领域,尤其涉及一种视频传输方法、装置、设备和系统。
背景技术
在视频监控技术领域,通常由前端设备(视频采集设备)进行视频采集,并且,前端设备可以将其采集的监控视频实时流直接发送给客户端进行播放,或者,可以先保存采集的监控视频,在需要的时候,用户可以通过客户端请求进行视频回放。
目前WEB客户端一般支持无插件化预览,通过将码流抽帧转成图片,通过网络将图片发送给WEB客户端,WEB客户端直接对图片渲染并进行显示,但是如果网络带宽较低时,播放会出现卡顿。
发明内容
本申请提供一种视频传输方法、装置、设备和系统,以减少监控视频播放时的卡顿现象。
第一方面,本申请实施例提供一种视频传输方法,包括:
从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;
根据所述第一数据量信息降低待发送的第二图片的数据量。
第二方面,本申请实施例提供一种视频传输方法,包括:
接收发送端发送的从视频中抽帧得到的第一图片;
根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述降低数据传输量的请求用于指示所述发送端降低待发送的第二图片的数据量。
第三方面,本申请实施例提供一种视频传输装置,包括:
接收模块,用于从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;
处理模块,用于根据所述第一数据量信息降低待发送的第二图片的数据量。
第四方面,本申请实施例提供一种视频传输装置,包括:
接收模块,用于接收发送端发送的从视频中抽帧得到的第一图片;
处理模块,用于根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量 信息;所述降低数据传输量的请求用于指示所述发送端降低待发送图片的数据量;
发送模块,用于在处理模块确定向所述发送端发送降低数据传输量的请求,向所述发送端发送降低数据传输量的请求。
第五方面,本申请实施例提供一种视频传输系统,包括:
发送端设备和请求端设备;
其中,所述发送端设备,用于向请求端设备发送第一图片;从所述请求端设备接收所述降低数据传输量的请求;所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;
所述发送端设备,还用于根据所述第一数据量信息降低待发送的第二图片的数据量;
所述请求端设备,用于接收所述发送端设备发送的第一图片;根据已接收第一图片的第一数据量信息,向所述发送端设备发送所述降低数据传输量的请求。
第六方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面或第二方面中任一项所述的方法。
第七方面,本申请实施例提供一种电子设备,包括:
处理器;以及
存储器,用于存储所述处理器的可执行指令;
其中,所述处理器配置为经由执行所述可执行指令来执行第一方面中任一项所述的方法。
第八方面,本申请实施例提供一种电子设备,包括:
处理器;以及
存储器,用于存储所述处理器的可执行指令;
其中,所述处理器配置为经由执行所述可执行指令来执行第二方面中任一项所述的方法。
第九方面,本申请实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现第一方面或第二方面中任一项所述的方法。
本申请实施例提供的视频传输方法、装置、设备和系统,从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;根据所述第一数据量信息降低待发送的第二图片的数据量,上述方案中请求端在确定播放卡顿后向发送端发送降低数据传输量的请求,发送端根据请求中包括的已接收第一图片的第一数据量信息,降低待发送的第二图片的数据量,从而减少通过网络传输的数据量,减少播放卡顿现象,提高播放时的显示效果。
附图说明
图1为本申请一实施例提供的应用场景图;
图2是相关技术中视频传输原理示意图;
图3是本申请提供的视频传输方法一实施例的流程示意图;
图4是本申请提供的视频传输方法另一实施例的流程示意图;
图5是本申请提供的视频传输方法一实施例的交互示意图;
图6是本申请提供的视频传输装置一实施例的结构示意图;
图7是本申请提供的视频传输装置另一实施例的结构示意图;
图8是本申请提供的电子设备一实施例的结构示意图;
图9是本申请提供的电子设备另实施例的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
本申请的说明书和权利要求书及所述附图中的术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
在介绍本申请提供的方法之前,首先结合附图1对本申请实施例的应用场景进行介绍。图1为本申请实施例提供的应用场景架构图。可选的,如图1所示,该应用场景中包括电子设备11、采集设备12和服务器13;该电子设备11例如可以是播放设备或只用于接收处理图片的设备(通过其他播放设备播放),播放设备例如包括:计算机、平板电脑、手机等电子设备,播放设备可以通过WEB端播放监控视频,采集设备12例如可以包括监控摄像机、抓拍机等,用于采集视频数据。
其中,电子设备11、采集设备12之间,视频采集设备12和服务器13之间均可以通过网络连接。
或者,在其他场景中也可以是采集设备直接与电子设备通信,即可以将采集设备和服务器集成在一起,本申请对此并不限定。
本申请实施例提供的方法,应用于视频监控,例如在视频传输过程中为了满足低带宽的需求减少传输的数据量,从而减少低带宽时播放的卡顿现象。
服务器中可以设有流转图片服务(stream to image,简称STG),该STG是一种用于将各式码流数据转成图片的浏览器服务程序。播放设备例如可以通过WEB客户端播放视频,无需插件,可直接播放图片。
如图2所示,播放视频时,在网络中传输的数据主要是图片,如果网络带宽不够的情况下,图片传输过程的耗时会影响到播放设备端单秒接收图片的数量,若单秒接收图片的数量不够,会导致播放设备端视频播放出现卡顿跳帧现象,因此本申请实施例的方法旨在解决上述低带宽时视频播放卡顿的问题。
本申请实施例的方法,为了解决低带宽时视频播放卡顿的问题,可以在播放出现卡顿时,降低数据传输量,例如通过向发送端发送降低数据传输量的请求,使得发送端降低待发送的图片的数据量,从而减少卡顿,例如发送端通过减小发送的图片大小和/或数量来实现降低数据传输量。
本申请提供的方法可由一服务器如处理器执行相应的软件代码实现,也可由该服务器在执行相应的软件代码的同时,通过和其他设备或服务器进行数据交互来实现。
下面以具体的实施例对本申请的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
图3是本申请提供的视频传输方法一实施例的流程示意图。如图3所示,本实施例 提供的方法,包括:
步骤101、从请求端接收降低数据传输量的请求,降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息。
具体的,发送端向请求端发送从视频中得到的第一图片,请求端接收第一图片,若请求端确定播放卡顿,则向发送端发送降低数据传输量的请求,例如请求端在播放时发现相邻帧的第一图片的间隔时间较长,相邻帧的第一图片切换的速度较慢,或相邻帧图片中人物的动作不连贯等。
其中,第一数据量信息包括:预设时长内已接收第一图片的数量,和/或,第一图片的质量。第一图片的质量可以通过第一图片的某些参数来表征,例如第一图片的压缩率、第一图片的清晰度、第一图片的分辨率等等。当第一数据量信息中包括第一图片的质量时,发送端从视频中得到第一图片的方式可以为:首先从视频中抽帧得到第一图片对应的原始图片,然后根据第一图片的质量对该原始图片进行压缩处理,得到与图片质量与该质量对应的第一图片;当第一数据量信息中不包括第一图片的质量时,发送端从视频中得到第一图片的方式可以为:直接从视频中抽帧得到第一图片。
以第一图片的压缩率来表征第一图片的质量为例,其中,压缩率可以指第一图片的大小相对于第一图片对应的原始图片(从视频中抽帧得到的原始图片)的大小的比例。具体地,当第一数据量信息中包括压缩率时,发送端从视频中得到第一图片的方式为,首先从视频中抽帧得到第一图片对应的原始图片,然后根据压缩率对第一图片对应的原始图片进行压缩处理,得到第一图片。当第一数据量信息中不包括压缩率时,发送端从视频中得到第一图片的方式为,直接从视频中抽帧得到第一图片。本申请中,抽帧指的是直接从视频中抽取图片帧。
在请求端发送降低数据传输量的请求之前,发送端从视频中得到第一图片,并向请求端发送该第一图片,进一步还可以将第一图片的第二数据量信息发送给请求端,第一图片的第二数据量信息可以包括:预设时长内的第三抽帧数量,和/或,第一图片的质量(例如第一图片的压缩率),使得请求端在接收到第一图片的第二数据量信息之后,可以根据该第二数据量信息、已接收第一图片的第一数据量信息,确定是否向发送端发送降低数据传输量的请求,其中,第一数据量信息中请求端预设时长内已接收第一图片的数量,与第二数据量信息中发送端的第三抽帧数量可能不同,例如若预设时长内已接收第一图片的数量小于第三抽帧数量,则请求端向发送端发送该降低数据传输量的请求。其中,第一数据量信息中第一图片的压缩率与第二数据量信息中第一图片的压缩率相同,即第一数据量信息中第一图片的压缩率是根据第二数据量信息得到的。第三抽帧数量指的是在接收到降低数据传输量的请求之前、发送端在预设时长内的抽帧数量,根据第三抽帧数量能够得到预设时长内发送端发送的第一图片的数量。请求端在接收第一图片后,可以将预设时长内已接收的第一图片的数量与第三抽帧数量进行比较。如果预设时长内已接收第一图片的数量小于第三抽帧数量,表示发送端发送的第一图片并未被请求端完全接收到,此时需要降低数据传输量。
在一实施例中,若请求端确定预设时长内的抽帧数量大于已接收第一图片的数量,即预设时长内接收到的第一图片比发送端发送的第一图片的数量少,则说明发生卡顿,可以向发送端发送降低数据传输量的请求。
具体的,请求端接收发送端发送的第一图片,并记录预设时长内(例如一秒)接收到的第一图片的数量;请求端判断预设时长内接收到的第一图片的数量是否和发送端在预设时长内的抽帧数量一致,如果不一致,即若预设时长内的抽帧数量大于已接收第一图片的数量,则说明发生卡顿,向发送端发送降低数据传输量的请求,指示发送端降低发送的数据量,例如降低发送的图片质量和/或降低预设时长内的抽帧数量。
步骤102、根据第一数据量信息降低待发送的第二图片的数据量。
具体的,发送端在接收到请求端发送的降低数据传输量的请求后,可以根据请求端发送的已接收的第一图片的第一数据量信息,对待发送的视频数据进行处理,降低待发送图片的数据量,例如减少预设时长内从视频中抽取图片的数量,或对从视频中抽取的图片进行压缩,压缩图片的大小(例如从10MB压缩到5MB)等。
本实施例的视频传输方法,从请求端接收降低数据传输量的请求,降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;根据第一数据量信息降低待发送图片的数据量,上述方案中请求端在确定播放卡顿后向发送端发送降低数据传输量的请求,发送端根据请求中包括的已接收第一图片的第一数据量信息,降低待发送的第二图片的数据量,从而减少通过网络传输的数据量,减少播放卡顿现象,提高播放时的显示效果。
在上述实施例的基础上,进一步的,步骤102具体可以采用如下几种方式实现:
一种实现方式:
若第一数据量信息包括:请求端预设时长内已接收的第一图片的数量,则根据预设时长内的第一抽帧数量,从视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后得到的图片确定为待发送的第二图片;第一抽帧数量小于第一图片的数量或等于第一图片的数量。
具体的,发送端可以根据降低数据传输量的请求中包括的第一数据量信息,对视频进行处理,若第一数据量信息包括预设时长内已接收的第一图片的数量,则为了减小数据传输量,可以减少预设时长内的抽帧数量,即采用小于原抽帧数量的第一抽帧数量从视频中抽帧得到第二图片,该第一抽帧数量可以等于请求端预设时长内已接收的第一图片的数量,或者进一步为了使得卡顿现象出现的概率进一步减小,提高播放效果,该第一抽帧数量可以小于请求端预设时长内已接收的第一图片的数量。需要说明的是,从视频中抽帧得到的第二图片是抽帧得到的原始图片,而真正发送的图片可以是对从视频中抽帧得到原始图片直接发送的图片,或进行任意压缩比压缩后的图片(即可以通过发送对抽帧得到的第二图片压缩后的图片以实现对第二图片的发送)。
该方式中,通过减少抽帧数量,可以减少数据传输量,从而在网络状况较差时可以避免播放卡顿。
在上述方式的基础上,若第一数据量信息还包括:至少一帧第一图片的质量,且至少一帧第一图片的质量小于预设阈值或等于预设阈值,则根据预设时长内的第一抽帧数量,从视频中抽帧得到第二图片;
进一步的,抽帧得到第二图片之后,还可以根据待发送的第二图片的质量,对抽帧得到的第二图片进行压缩,得到待发送的第二图片,待发送的第二图片的质量等于至少一帧第一图片的质量。
在上述方式的基础上,若第一数据量信息还包括:至少一帧第一图片的压缩率,且至 少一帧第一图片的压缩率小于预设阈值或等于预设阈值,则根据预设时长内的第一抽帧数量,从视频中抽帧得到第二图片;
进一步的,抽帧得到第二图片之后,还可以根据待发送的第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到待发送的第二图片,待发送的第二图片的压缩率小于至少一帧第一图片的压缩率。通过在视频中抽帧得到第二图片后,对第二图片进行压缩,得到待发送的第二图片,然后发送待发送的第二图片,能够进一步减小数据传输量,从而减小卡顿情况的发生。
或者,在其他实施例中,若第一抽帧数量小于已接收第一图片的数量,则待发送的第二图片的质量还可以大于至少一帧第一图片的质量,具体地,待发送的第二图片的压缩率还可以大于至少一帧第一图片的压缩率,即在抽帧数量较小的情况下,可以增大图片大小,即提高图片质量,提高显示效果。
示例性的,若第一图片的压缩率为30%等于预设阈值,则降低预设时长内的抽帧数量,抽取第二图片,并按照第一图片的压缩率(30%)进行压缩后发送,或,增大压缩率,例如按照40%压缩第二图片后发送。
在一实施例中,请求端对接收到的第二图片的数量进行记录,若预设时长内接收到的第二图片的数量小于第一抽帧数量,则请求端可以再次发送降低数据传输量的请求,若此时请求端接收到的第二图片的质量小于预设阈值或等于预设阈值,(例如,接收到的第二图片的压缩率小于预设阈值或等于预设阈值),则发送端再次降低抽取的第二图片的数量,并抽取第二图片,将第二图片或对第二图片压缩后的图片(可以按照前一次待发送的第二图片的质量进行压缩)发送给请求端,重复执行上述步骤直至请求端记录的预设时长内接收到的图片的数量等于发送端的抽帧数量或,发送端的抽帧数量小于预设值(例如1帧/秒)为止。其中,请求端接收到的第二图片即为发送端的待发送的第二图片,发送端将待发送的第二图片发送到请求端后,请求端接收到第二图片,对接收到的第二图片的数量记录。
另一种实现方式:
若第一数据量信息包括:至少一帧第一图片的质量,则根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到待发送的第二图片,待发送的第二图片的质量小于至少一帧第一图片的质量。
第一图片的质量可以通过第一图片的某些参数来表征,例如第一图片的压缩率、第一图片的清晰度、第一图片的分辨率等等。以第一图片的质量由第一图片的压缩率表征为例,具体的,若请求端发送的第一数据量信息中包括至少一帧第一图片的压缩率,压缩率为第一图片的大小相对于第一图片对应的原始图片的大小的比例,为了减小数据传输量,发送端对抽帧得到的第二图片进行压缩,得到待发送的第二图片,从而减小待发送的第二图片的大小,即减小压缩率,根据第一图片的压缩率,确定待发送的第二图片的压缩率,并根据待发送的第二图片的压缩率对抽帧得到的第二图片进行压缩,使得待发送的第二图片的数据量减小,避免在网络状况较差时出现播放卡顿。
该方式中,通过减小图片的大小,可以减少数据传输量,从而在网络状况较差时可以避免播放卡顿。
在该方式的基础上,若第一数据量信息还包括:请求端在预设时长内已接收的第一图 片的数量,则在对抽帧得到的第二图片进行压缩之前,可以采用如下方式从视频中抽帧得到该第二图片:
根据预设时长内的第二抽帧数量,从视频中抽帧得到第二图片,第二抽帧数量小于第一图片的数量或等于第一图片的数量。
具体的,为了减小数据传输量,在对抽帧得到的第二图片压缩之前,可以先减少预设时长内的抽帧数量,即采用小于原抽帧数量的第二抽帧数量从视频中抽帧得到第二图片,该第二抽帧数量可以等于请求端预设时长内已接收的第一图片的数量,或者进一步为了使得卡顿现象出现的概率进一步减小,提高播放效果,该第二抽帧数量可以小于请求端预设时长内已接收的第一图片的数量。
该方式中,通过减少抽帧数量以及图片大小,可以减少数据传输量,从而在网络状况较差时可以避免播放卡顿。
进一步的,为了避免发送图片质量较差,即保证播放效果,则在对图片进行压缩之前,还可以进行如下操作:
确定至少一帧第一图片的质量是否大于预设阈值;
若至少一帧第一图片的质量大于预设阈值,则执行压缩操作。
具体地,可以是:
确定至少一帧第一图片的压缩率是否大于预设阈值;
若压缩率大于预设阈值,则执行压缩操作。
具体的,发送端在接收到降低数据传输量的请求后,根据该请求中携带的参数(例如包括第一图片的压缩率)进行判断,如果第一图片的压缩率大于30%时,即压缩率大于预设阈值,则说明图片质量较高,可以进一步压缩图片的大小,即减小图片的压缩率,根据减小后的压缩率对待发送图片进行压缩,并将压缩后的图片发送给请求端。
在一实施例中,请求端对接收到的第二图片的数量进行记录,若预设时长内已接收到的第二图片的数量小于发送端的抽帧数量,则播放设备再次发送降低数据传输量的请求,若发送端上一次发送的第二图片的压缩率大于预设阈值,则再次减小压缩率,例如将压缩率减小10%,根据减小后的压缩率,压缩第二图片后再将压缩后的第二图片给播放设备,重复执行上述步骤直至播放设备侧记录的预设时长内接收到的第二图片的数量等于发送端的抽帧数量或,第二图片的压缩率小于预设阈值或等于预设阈值为止。
本实施例的方法,发送端在接收到降低数据传输量的请求后,即在播放设备端出现卡顿时减小图片的压缩率和/或减小抽帧数量,减少卡顿现象,提高播放设备端显示效果。
图4是本申请提供的视频传输方法一实施例的流程示意图。如图4所示,本实施例提供的方法,包括:
步骤201、接收发送端发送的从视频中得到的第一图片;
步骤202、根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述降低数据传输量的请求用于指示所述发送端降低待发送的第二图片的数据量。
具体的,发送端向请求端发送从视频中得到的第一图片,请求端接收第一图片,若请求端确定播放卡顿,则向发送端发送降低数据传输量的请求,例如请求端在播放时发现相邻帧的第一图片的间隔时间较长,相邻帧的第一图片切换的速度较慢,或相邻帧图片中人 物的动作不连贯等。
其中,第一数据量信息包括:预设时长内已接收第一图片的数量,和/或,第一图片的质量。第一图片的质量可以通过第一图片的某些参数来表征,例如第一图片的压缩率、第一图片的清晰度、第一图片的分辨率等等。当第一数据量信息中包括第一图片的质量时,发送端从视频中得到第一图片的方式可以为:首先从视频中抽帧得到第一图片对应的原始图片,然后根据第一图片的质量对该原始图片进行压缩处理,得到与图片质量与该质量对应的第一图片;当第一数据量信息中不包括第一图片的质量时,发送端从视频中得到第一图片的方式可以为:直接从视频中抽帧得到第一图片。
以第一图片的压缩率来表征第一图片的质量为例,其中,压缩率可以指第一图片的大小相对于第一图片对应的原始图片(从视频中抽帧得到的原始图片)的大小的比例。具体地,当第一数据量信息中包括压缩率时,发送端从视频中得到第一图片的方式为,首先从视频中抽帧得到第一图片对应的原始图片,然后根据压缩率对第一图片对应的原始图片进行压缩处理,得到第一图片。当第一数据量信息中不包括压缩率时,发送端从视频中得到第一图片的方式为,直接从视频中抽帧得到第一图片。本申请中,抽帧指的是直接从视频中抽取图片帧。
发送端在接收到请求端发送的降低数据传输量的请求后,可以根据请求端发送的已接收的第一图片的第一数据量信息,对待发送的视频数据进行处理,降低待发送图片的数据量,例如减少预设时长内从视频中抽取图片的数量,或对从视频中抽取的图片进行压缩,压缩图片的大小(例如从10MB压缩到5MB)等。
在另一实施例中,该方法还包括:
接收发送端发送的从视频中得到的第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端在预设时长内抽帧的数量;
相应的,步骤202还可以通过如下方式实现:
若所述抽帧的数量大于预设时长内已接收第一图片的数量,则确定向所述发送端发送降低数据传输量的请求;所述第一数据量信息包括:预设时长内已接收第一图片的数量。
在另一实施例中,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
在另一实施例中,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例。
本实施例的方法,与图3所示实施例的方法其实现原理和技术效果类似,此处不再赘述。
在一实施例中,如图5所示,本实施例的方法具体包括:
S1、播放设备向服务器发送播放请求。
具体的,播放设备作为请求端向发送端服务器发送播放请求,其中播放请求可以携带待播放视频的标识。
S2、服务器根据待播放视频的标识,从采集设备获取待播放视频的码流。
S3、服务器接收采集设备发送的待播放视频的码流。
具体的,服务器向视频采集设备发送数据获取请求,并从视频采集设备上获取到码流数据。
S4、服务器从码流中抽取图片。
服务器在预设时长内从码流中抽取预设数量的图片,例如单秒内抽取N张图片;N为大于1的整数。
S5、服务器将抽取的初始图片数据发送给播放设备,初始图片数据可以包括:第一图片、单秒抽取的第一图片对应的原始图片的数量、第一图片的图片质量(例如第一图片的压缩率)。
S6、播放设备接收服务器发送的第一图片并播放,同时记录单秒已接收到的第一图片的数量,并比较单秒接收到的第一图片的数量以及服务器端单秒抽取的第一图片对应的原始图片的数量是否匹配。
S7、如果数量不匹配,则播放设备向服务器发送降低数据传输量的请求,指示服务器降低数据传输量。
例如一秒接收到的第一图片的数量小于服务器端单秒抽取的第一图片对应的原始图片的数量,则播放设备可以发送向服务器发送降低数据传输量的请求,服务器根据该请求降低数据传输量,例如降低图片质量和/或降低预设时长内图片的抽帧数量。降低数据传输量的请求包括:单秒已接收到的第一图片的数量,图片质量(例如第一图片的压缩率)。
服务器在接收到降低数据传输量的请求后,根据该降低数据传输量请求中携带的参数(例如第一图片的压缩率)判断图片的压缩率是否大于预设阈值(例如30%),如果第一图片的压缩率大于预设阈值时,则执行S8、服务器减小待发送给播放设备的图片的压缩率;
S9、服务器将压缩后的图片数据发送给播放设备。
其中,压缩后的图片数据包括:压缩后的第二图片、单秒抽取的第二图片的数量、第二图片的压缩率。
播放设备重复执行S6。播放设备端持续对接收到的图片的数量进行记录,若依然存在卡顿,则播放设备重复执行S7,继续发送降低数据传输量的请求。
服务器再次判断压缩率是否大于预设阈值,若是,则重复执行S8-S9,继续减小图片的压缩率,直至压缩率小于预设阈值或等于预设阈值。
S6'、播放设备接收服务器发送的第一图片并播放,同时记录单秒已接收到的第一图片的数量,并比较单秒接收到的第一图片的数量以及服务器端单秒抽取的第一图片对应的原始图片的数量是否匹配。
S7'、如果数量不匹配,则播放设备向服务器发送降低数据传输量的请求,指示服务器降低数据传输量。
例如一秒接收到的第一图片的数量小于服务器端单秒抽取的第一图片对应的原始图片的数量,则播放设备可以发送向服务器发送降低数据传输量的请求,服务器根据该请求降低数据传输量,例如降低图片质量和/或降低预设时长内图片的抽帧数量。降低数据传输量的请求包括:单秒已接收到的第一图片的数量,图片质量(例如第一图片的压缩率)。
服务器在接收到降低数据传输量的请求后,根据该降低数据传输量请求中携带的参数(例如第一图片的压缩率)判断单秒抽取的第一图片的数量是否大于预设值,其中,当第一图片的压缩率小于或等于预设阈值时,表示还存在卡顿,此时说明单秒抽取的第一图片的数量大于预设值。例如1张,若单秒抽取的第一图片的数量大于1张则执行S8'、服务器降低单秒抽帧数量来降低数据传输量;
S9'、服务器将降低抽帧数量后抽帧得到的图片发送给播放设备。
在发送抽帧得到的图片之前,还可以进行压缩,此时压缩率可以保持与S7'中降低数据传输量的请求包括的压缩率一致,或还可以减小压缩率。
播放设备重复执行S6'。
播放设备端持续对接收到的图片的数量进行记录,若依然存在卡顿,则播放设备重复执行S7',继续发送降低数据传输量的请求,服务器再次判断压缩率是否大于预设阈值,单秒抽取的第一图片对应的原始图片的数量是否大于1张,若压缩率小于预设阈值或等于预设阈值,且单秒抽取的第一图片对应的原始图片的数量大于1张,则重复执行S8'-S9',即继续降低单秒抽帧数量,直至单秒抽帧数量等于1张结束。
上述S8-S9的方案,以及S8'-S9'的方案可以结合使用,或单独使用,本申请实施例对此并不限定。
例如,在压缩率大于预设阈值时,除了执行S8-S9的方案,即减小压缩率之外,还可以在压缩之前降低单秒抽帧数量进而将抽帧得到的图片按照减小后的压缩率进行压缩,从而更进一步降低了数据传输量。
例如,在单秒抽帧数量大于预设值时,除了执行S8'-S9'的方案,即降低单秒抽帧数量之外,还可以抽帧得到图片之后进行压缩,例如可以减小压缩率或压缩率不变的情况下进行压缩。
在一实施例中,在图片的压缩率小于预设阈值(例如30%)或等于预设阈值,则也可以执行S8',而且还可以在发送之前,对抽帧得到的图片进行压缩,采用的压缩率可以保持与S7'中降低数据传输量的请求包括的压缩率一致,或还可以提高压缩率。
本实施例的方法,在网络状况较差出现卡顿时通过增大图片的压缩率,和/或,降低发送端设备在预设时长内的抽帧数量,从而减少卡顿,提高显示效果。
图6为本申请提供的视频传输装置一实施例的结构示意图,如图6所示,本实施例的视频传输装置,包括:
接收模块601,用于从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一帧图片的第一数据量信息;
处理模块602,用于根据所述第一数据量信息降低待发送的第二图片的数据量。
在一种可能的实现方式中,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,处理模块602,具体用于:
根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
该方式中,通过减小抽帧数量,即减小预设时长内发送端发送的第二图片的数量,从而减少网络中数据传输量,避免卡顿。
在一种可能的实现方式中,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述处理模块具体用于:
根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量低于至少一帧所述第一图片的质量。
在一种可能的实现方式中,所述第一图片的质量通过所述第一图片的压缩率表征,所 述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,则处理模块602,具体用于:
根据待发送的第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
该方式中,通过减小压缩率,即减小发送端发送的第二图片的大小,从而减少网络中数据传输量,避免卡顿。
在一种可能的实现方式中,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,处理模块602,还用于:
在对从视频中抽帧得到的第二图片进行压缩之前,根据预设时长内的第二抽帧数量,从视频中抽帧得到第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
在一种可能的实现方式中,还包括:
发送模块,用于在从请求端接收降低数据传输量的请求之前,将从视频中后得到的第一图片以及第一图片的第二数据量信息发送给请求端;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
在一种可能的实现方式中,处理模块602,还用于:
在对从视频中抽帧得到的第二图片进行压缩之前,确定至少一帧所述第一图片的质量大于预设阈值。
在一种可能的实现方式中,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,且至少一帧所述第一图片的质量小于所述预设阈值或等于所述预设阈值,处理模块602,具体用于:
根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
本实施例的装置,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,具体实现过程参见方法实施例,此处不再赘述。
图7为本申请提供的视频传输装置一实施例的结构示意图,如图7所示,本实施例的视频传输装置,包括:
接收模块701,用于接收发送端发送的从视频中得到的第一图片;
处理模块702,用于根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述降低数据传输量的请求用于指示所述发送端降低待发送图片的数据量;
发送模块703,用于若处理模块702确定向所述发送端发送降低数据传输量的请求,向所述发送端发送降低数据传输量的请求。
在一种可能的实现方式中,第一图片包括发送端从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,接收模块701,还用于:
接收发送端发送的从视频中得到的第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端在预设时长内抽帧的数量;
相应的,若所述抽帧的数量大于预设时长内已接收第一图片的数量,所述处理模块702,具体用于:
确定向所述发送端发送降低数据传输量的请求;所述第一数据量信息包括:预设时长内已接收第一图片的数量。
在一种可能的实现方式中,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
在一种可能的实现方式中,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例。
本实施例的装置,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
本申请一实施例中还提供一种视频传输系统,包括:
发送端设备和请求端设备;
其中,所述发送端设备,用于向请求端设备发送第一图片;从所述请求端设备接收降低数据传输量的请求;所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;
所述发送端设备,还用于根据所述第一数据量信息降低待发送的第二图片的数据量;
所述请求端设备,用于接收所述发送端设备发送的第一图片;根据已接收第一图片的第一数据量信息,向所述发送端设备发送所述降低数据传输量的请求。
在一种可能的实现方式中,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述发送端设备,具体用于:
根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
在一种可能的实现方式中,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述发送端设备具体用于:
根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量小于至少一帧所述第一图片的质量。
在一种可能的实现方式中,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,所述发送端设备,具体用于:
根据待发送的第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
在一种可能的实现方式中,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述发送端设备,还用于:
在对从视频中抽帧得到的第二图片进行压缩之前,根据预设时长内的第二抽帧数量,从视频中抽帧得到第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
在一种可能的实现方式中,所述发送端设备具体用于:
向请求端设备发送将从视频中得到的第一图片;
所述发送端设备还用于:
向请求端设备发送第一图片的第二数据量信息;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
在一种可能的实现方式中,所述请求端设备还用于:
在根据已接收第一图片的第一数据量信息,向所述发送端设备发送降低数据传输量的请求之前,接收所述发送端设备发送的所述第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端设备在预设时长内抽帧的数量;
根据已接收第一图片的第一数据量信息和所述预设时长内抽帧的数量,确定是否向所述发送端设备发送所述降低数据传输量的请求。
在一种可能的实现方式中,若所述第一数据量信息包括:预设时长内已接收第一图片的数量,所述请求端设备,具体用于:
若所述预设时长内抽帧的数量大于所述预设时长内已接收第一图片的数量,则确定向所述发送端设备发送降低数据传输量的请求。
在一种可能的实现方式中,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
在一种可能的实现方式中,所述发送端设备,还用于:
在对从视频中抽帧得到的第二图片进行压缩之前,确定至少一帧所述第一图片的压缩率大于预设阈值。
在一种可能的实现方式中,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,所述发送端设备,具体用于:
若至少一帧所述第一图片的质量小于所述预设阈值或等于所述预设阈值,则根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
本实施例的系统,可以用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。
图8为本申请提供的电子设备一实施例的结构图,如图8所示,该电子设备包括:
处理器801,以及,用于存储处理器801的可执行指令的存储器802。
可选的,还可以包括:通信接口803,用于与其他设备进行通信。
上述部件可以通过一条或多条总线进行通信。
其中,处理器801配置为经由执行所述可执行指令来执行前述发送端方法实施例中对应的方法,其具体实施过程可以参见前述方法实施例,此处不再赘述。
该电子设备例如为前述实施例的发送端设备,例如服务器。
图9为本申请提供的电子设备另一实施例的结构图,如图9所示,该播放设备包括:
处理器901,以及,用于存储处理器901的可执行指令的存储器902。
可选的,还可以包括:通信接口903用于与其他设备进行通信,或者该电子设备作为播放设备时还可以包括显示器,用于显示图片或视频数据。
上述部件可以通过一条或多条总线进行通信。
其中,处理器901配置为经由执行所述可执行指令来执行前述请求端方法实施例中对应的方法,其具体实施过程可以参见前述方法实施例,此处不再赘述。
本申请实施例中还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现前述方法实施例中对应的方法,其具体实施过程可以参见前述 方法实施例,其实现原理和技术效果类似,此处不再赘述。
本申请还提供一种计算机程序产品,该计算机程序产品包括:计算机程序,计算机程序存储在计算机可读存储介质中,电子设备的至少一个处理器可以从计算机可读存储介质中读取计算机程序,至少一个处理器执行计算机程序使得电子设备执行上述任一实施例提供的方案。
本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一实施例提供的方案。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。

Claims (38)

  1. 一种视频传输方法,其特征在于,包括:
    从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;
    根据所述第一数据量信息降低待发送的第二图片的数据量。
  2. 根据权利要求1所述的方法,其特征在于,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述根据所述第一数据量信息降低待发送的第二图片的数据量,包括:
    根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
  3. 根据权利要求1所述的方法,其特征在于,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述根据所述第一数据量信息降低待发送的第二图片的数据量,包括:
    根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量小于至少一帧所述第一图片的质量。
  4. 根据权利要求3所述的方法,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,所述根据所述数据量信息降低待发送的第二图片的数据量,包括:
    根据待发送的第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
  5. 根据权利要求3所述的方法,其特征在于,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述对从视频中抽帧得到的第二图片进行压缩之前,还包括:
    根据预设时长内的第二抽帧数量,从视频中抽帧得到第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述第一图片包括从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述从请求端接收降低数据传输量的请求之前,还包括:
    将从视频中得到的第一图片以及第一图片的第二数据量信息发送给请求端;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
  7. 根据权利要求3所述的方法,其特征在于,所述对从视频中抽帧得到的第二图片进行压缩之前,还包括:
    确定至少一帧所述第一图片的质量大于预设阈值。
  8. 根据权利要求2所述的方法,其特征在于,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,所述根据预设时长内的第一抽帧数量,从所述视频中抽帧得到 第二图片,包括:
    若至少一帧所述第一图片的质量小于预设阈值或等于所述预设阈值,则根据所述预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
  9. 一种视频传输方法,其特征在于,包括:
    接收发送端发送的从视频中得到的第一图片;
    根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述降低数据传输量的请求用于指示所述发送端降低待发送的第二图片的数据量。
  10. 根据权利要求9所述的方法,其特征在于,所述第一图片包括发送端从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述方法还包括:
    接收发送端发送的从视频中得到的第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端在预设时长内抽帧的数量;
    相应的,所述根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,包括:
    若所述抽帧的数量大于预设时长内已接收第一图片的数量,则确定向所述发送端发送降低数据传输量的请求;所述第一数据量信息包括:预设时长内已接收第一图片的数量。
  11. 根据权利要求10所述的方法,其特征在于,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
  12. 根据权利要求11所述的方法,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例。
  13. 一种视频传输装置,其特征在于,包括:
    接收模块,用于从请求端接收降低数据传输量的请求,所述降低数据传输量的请求中包含请求端已接收第一图片的第一数据量信息;
    处理模块,用于根据所述第一数据量信息降低待发送的第二图片的数据量。
  14. 根据权利要求13所述的装置,其特征在于,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述处理模块具体用于:
    根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
  15. 根据权利要求13所述的装置,其特征在于,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述处理模块具体用于:
    根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量小于至少一帧所述第一图片的质量。
  16. 根据权利要求15所述的装置,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,所述处理模块具体用于:
    根据待发送第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述 待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
  17. 根据权利要求15所述的装置,其特征在于,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述处理模块还用于:
    在对从视频中抽帧得到的第二图片进行压缩之前,根据预设时长内的第二抽帧数量,从视频中抽帧得到所述第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
  18. 根据权利要求13-17任一项所述的装置,其特征在于,所述第一图片包括从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述装置还包括:
    发送模块,用于在从请求端接收降低数据传输量的请求之前,将从视频中得到的第一图片以及第一图片的第二数据量信息发送给请求端;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
  19. 根据权利要求15所述的装置,其特征在于,所述处理模块还用于:
    在对从视频中抽帧得到的第二图片进行压缩之前,确定至少一帧所述第一图片的质量大于预设阈值。
  20. 根据权利要求14所述的装置,其特征在于,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,且至少一帧所述第一图片的质量小于预设阈值或等于所述预设阈值,所述处理模块具体用于:
    根据所述预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
  21. 一种视频传输装置,其特征在于,包括:
    接收模块,用于接收发送端发送的从视频中得到的第一图片;
    处理模块,用于根据已接收第一图片的第一数据量信息,确定是否向所述发送端发送降低数据传输量的请求,所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;所述降低数据传输量的请求用于指示所述发送端降低待发送图片的数据量;
    发送模块,用于在处理模块确定向所述发送端发送降低数据传输量的请求,向所述发送端发送降低数据传输量的请求。
  22. 根据权利要求21所述的装置,其特征在于,所述第一图片包括发送端从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述接收模块还用于:
    接收发送端发送的从视频中得到的第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端在预设时长内抽帧的数量;
    相应的,若所述抽帧的数量大于预设时长内已接收第一图片的数量,所述处理模块具体用于:
    确定向所述发送端发送降低数据传输量的请求;所述第一数据量信息包括:预设时长内已接收第一图片的数量。
  23. 根据权利要求22所述的装置,其特征在于,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
  24. 根据权利要求23所述的装置,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例。
  25. 一种视频传输系统,其特征在于,包括:
    发送端设备和请求端设备;
    其中,所述发送端设备,用于向请求端设备发送第一图片;从所述请求端设备接收降低数据传输量的请求;所述降低数据传输量的请求中包含已接收第一图片的第一数据量信息;
    所述发送端设备,还用于根据所述第一数据量信息降低待发送的第二图片的数据量;
    所述请求端设备,用于接收所述发送端设备发送的第一图片;根据已接收第一图片的第一数据量信息,向所述发送端设备发送所述降低数据传输量的请求。
  26. 根据权利要求25所述的系统,其特征在于,若所述第一数据量信息包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述发送端设备具体用于:
    根据预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片,并将抽帧得到的第二图片或对抽帧得到的第二图片压缩后的图片确定为所述待发送的第二图片;所述第一抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
  27. 根据权利要求25所述的系统,其特征在于,若所述第一数据量信息包括:至少一帧所述第一图片的质量,所述发送端设备具体用于:
    根据待发送的第二图片的质量,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的质量小于至少一帧所述第一图片的质量。
  28. 根据权利要求27所述的系统,其特征在于,所述第一图片的质量通过所述第一图片的压缩率表征,所述压缩率为所述第一图片的大小相对于所述第一图片对应的原始图片的大小的比例,所述原始图片为从所述视频中抽帧得到的原始图片,所述发送端设备具体用于:
    根据待发送的第二图片的压缩率,对从视频中抽帧得到的第二图片进行压缩,得到所述待发送的第二图片,所述待发送的第二图片的压缩率小于至少一帧所述第一图片的压缩率。
  29. 根据权利要求27所述的系统,其特征在于,若所述第一数据量信息还包括:所述请求端在预设时长内已接收的所述第一图片的数量,所述发送端设备还用于:
    在对从视频中抽帧得到的第二图片进行压缩之前,根据预设时长内的第二抽帧数量,从视频中抽帧得到第二图片,所述第二抽帧数量小于所述第一图片的数量或等于所述第一图片的数量。
  30. 根据权利要求25-29任一项所述的系统,其特征在于,所述第一图片包括从视频中抽帧得到的原始图片或对所述原始图片压缩后的图片,所述发送端设备还用于:
    向请求端设备发送第一图片的第二数据量信息;所述第二数据量信息包括:预设时长内的第三抽帧数量,和/或,所述第一图片的质量。
  31. 根据权利要求25所述的系统,其特征在于,所述请求端设备还用于:
    在根据已接收第一图片的第一数据量信息,向所述发送端设备发送降低数据传输量的请求之前,接收所述发送端设备发送的所述第一图片的第二数据量信息,所述第二数据量信息包括:所述发送端设备在预设时长内抽帧的数量;
    根据已接收第一图片的第一数据量信息和所述预设时长内抽帧的数量,确定是否向所述发送端设备发送所述降低数据传输量的请求。
  32. 根据权利要求31所述的系统,其特征在于,若所述第一数据量信息包括:预设 时长内已接收第一图片的数量,所述请求端设备,具体用于:
    若所述预设时长内抽帧的数量大于所述预设时长内已接收第一图片的数量,则确定向所述发送端设备发送降低数据传输量的请求。
  33. 根据权利要求32所述的系统,其特征在于,若所述第二数据量信息还包括:发送的所述第一图片的质量,则所述第一数据量信息还包括:已接收第一图片的质量。
  34. 根据权利要求27所述的系统,其特征在于,所述发送端设备还用于:
    在对从视频中抽帧得到的第二图片进行压缩之前,确定至少一帧所述第一图片的质量大于预设阈值。
  35. 根据权利要求26所述的系统,其特征在于,若所述第一数据量信息还包括:至少一帧所述第一图片的质量,所述发送端设备具体用于:
    若至少一帧所述第一图片的质量小于预设阈值或等于所述预设阈值,则根据所述预设时长内的第一抽帧数量,从所述视频中抽帧得到第二图片。
  36. 一种电子设备,其特征在于,包括:
    处理器;以及
    存储器,用于存储所述处理器的可执行指令;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1-8或9-12任一项所述的方法。
  37. 一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现权利要求1-8或9-12中任一项所述的方法。
  38. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-8或9-12中任一项所述的方法。
PCT/CN2020/139584 2019-12-25 2020-12-25 视频传输方法、装置、设备和系统 WO2021129830A1 (zh)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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