CN110798705A - Video image transmission method, device and equipment - Google Patents

Video image transmission method, device and equipment Download PDF

Info

Publication number
CN110798705A
CN110798705A CN201810864614.2A CN201810864614A CN110798705A CN 110798705 A CN110798705 A CN 110798705A CN 201810864614 A CN201810864614 A CN 201810864614A CN 110798705 A CN110798705 A CN 110798705A
Authority
CN
China
Prior art keywords
color data
data
video image
recombined
video
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201810864614.2A
Other languages
Chinese (zh)
Inventor
黄忠强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies Co Ltd
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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN201810864614.2A priority Critical patent/CN110798705A/en
Publication of CN110798705A publication Critical patent/CN110798705A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals

Abstract

The application discloses a video image transmission method, which comprises the following steps: acquiring original color data of a video image of a remote desktop/virtual desktop; recombining the original color data into a preset number of recombined color data according to a preset recombination mode; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data; inputting each recombined color data as YUV420 format data into each video hardware encoder for encoding to obtain encoded code stream; and sending the color data to video image receiving equipment so that the video image receiving equipment respectively inputs each code stream into each video hardware decoder for decoding to obtain recombined color data, and restoring each recombined color data into original color data according to a preset recombination mode. The method and the device improve the processing efficiency and ensure the picture quality. The application also discloses a video image transmission device, equipment and a computer readable storage medium, which also have the beneficial effects.

Description

Video image transmission method, device and equipment
Technical Field
The present application relates to the field of video network transmission technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for transmitting video images.
Background
A Virtual Desktop Infrastructure (VDI) is a remote dynamic access technology that hosts and manages all Desktop Virtual machines in a data center in a unified manner, thereby supporting an enterprise level to implement a Desktop system, and enabling a user to access data resources on a network at any place and at any time through any device.
In order to enable a user to obtain a full PC usage experience, as in the remote desktop connection technology, in the virtual desktop technology, a data center server needs to send desktop Content (Screen Content), i.e., digital video images in units of pixels, to a client for the user to log in. At present, in the video network transmission process, a hard coding method is commonly used to encode video image data into a code stream and then transmit the code stream, and the video image is restored and displayed at a receiving end through hard decoding and rendering. The hard coding method is a method for coding images by adopting a video hardware coder, so that CPU hardware resources are not occupied, and the speed is greatly improved.
However, a general video hardware encoder supports only image data in YUV420 format. YUV is a color coding method that occupies less bandwidth, where Y is a luminance, i.e., grayscale signal; u and V are chrominance signals, which are used to describe the color and saturation of the image. In the YUV420 format, one U data and one V data are shared every 4 pixels, and one Y data is provided for each pixel. Compared to YUV444 format (each pixel has one Y data, one U data, and one V data) or RGB format (each pixel has one R data, one G data, and one B data), the image data in YUV420 format loses 3/4 chrominance information, thereby causing severe color deviation and picture blurring in the picture of the remote/virtual desktop.
Therefore, what kind of video image transmission technology is adopted to fully utilize the advantages of hard-coding and hard-decoding speed and ensure the picture quality of the video images in the remote/virtual desktop is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a video image transmission method, a video image transmission device, video image transmission equipment and a computer readable storage medium, so that the picture quality of a video image in a remote/virtual desktop is effectively guaranteed while the advantages of hard-coding and hard-decoding speed are fully utilized.
In order to solve the above technical problem, the present application provides a video image transmission method, applied to a video image sending device, including:
acquiring original color data of a video image of a remote desktop/virtual desktop;
recombining the original color data into a preset number of recombined color data according to a preset recombination mode; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
inputting each recombined color data serving as YUV420 format data into each video hardware encoder for encoding to obtain encoded code streams;
respectively sending the code streams to video image receiving equipment; and the video image receiving equipment respectively inputs each code stream into each video hardware decoder for decoding so as to obtain each recombined color data, and restores each recombined color data into the original color data according to the preset recombination mode.
Optionally, the raw color data is YUV444 format data or RGB format data.
Optionally, the preset number is 2.
Optionally, the recombining the original color data into a predetermined number of recombined color data according to a predetermined recombination manner includes:
and sequentially extracting the original color data according to a storage sequence to form the preset number of recombined color data.
Optionally, the video hardware encoder and the video hardware decoder both support the h.264 digital video coding standard.
The application also provides another video image transmission method, which is applied to video image receiving equipment and comprises the following steps:
receiving each code stream sent by video image sending equipment; each code stream is generated by the video image sending equipment after recombining original color data of a video image of a remote desktop/virtual desktop into a preset number of recombined color data according to a preset recombination mode and inputting each recombined color data into each video hardware encoder for encoding as YUV420 format data; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
inputting each code stream into each video hardware decoder respectively for decoding to obtain each recombined color data;
and restoring each recombined color data into the original color data according to the preset recombination mode.
The present application further provides a video image transmission apparatus applied to a video image sending device, including:
an acquisition module: the method comprises the steps of acquiring original color data of a video image of a remote desktop/virtual desktop;
a recombination module: the original color data are recombined into a preset number of recombined color data according to a preset recombination mode; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
the coding module: the system is used for inputting each recombined color data as YUV420 format data into each video hardware encoder for encoding so as to obtain encoded code streams;
a sending module: the video image receiving device is used for respectively sending the code streams to the video image receiving device; and the video image receiving equipment respectively inputs each code stream into each video hardware decoder for decoding so as to obtain each recombined color data, and restores each recombined color data into the original color data according to the preset recombination mode.
The present application also provides another video image transmission apparatus applied to a video image receiving device, including:
a receiving module: the video image transmitting equipment is used for receiving each code stream transmitted by the video image transmitting equipment; each code stream is generated by the video image sending equipment after recombining original color data of a video image of a remote desktop/virtual desktop into a preset number of recombined color data according to a preset recombination mode and inputting each recombined color data into each video hardware encoder for encoding as YUV420 format data; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
a decoding module: the decoder is used for respectively inputting each code stream into each video hardware decoder for decoding so as to obtain each recombined color data;
a reduction module: and the color data processing unit is used for reducing each recombined color data into the original color data according to the preset recombination mode.
The present application also provides a video image transmission apparatus, including:
a memory: for storing a computer program;
a processor: for executing the computer program to implement the steps of any of the video image transmission methods as described above.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any of the video image transmission methods as described above.
The video image transmission method provided by the application comprises the following steps: acquiring original color data of a video image of a remote desktop/virtual desktop; recombining the original color data into a preset number of recombined color data according to a preset recombination mode; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data; inputting each recombined color data serving as YUV420 format data into each video hardware encoder for encoding to obtain encoded code streams; respectively sending the code streams to video image receiving equipment; and the video image receiving equipment respectively inputs each code stream into each video hardware decoder for decoding so as to obtain each recombined color data, and restores each recombined color data into the original color data according to the preset recombination mode.
It can be seen that, compared with the prior art, in the video image transmission method provided in the embodiment of the present application, by recombining the original color data in the high picture quality format according to the preset recombination manner, the representation meaning of each recombined color data input to the video hardware encoder for encoding can be clearly grasped, so that after the video image is received and decoded, decoding can be performed according to the preset recombination manner to obtain the original image data. The method and the device can utilize the video hardware encoder to finish the transmission of the color data with high picture quality format, thereby improving the processing efficiency and ensuring the picture quality. The video image transmission device, the video image transmission equipment and the computer readable storage medium provided by the application can realize the video image transmission method and also have the beneficial effects.
Drawings
In order to more clearly illustrate the technical solutions in the prior art and the embodiments of the present application, the drawings that are needed to be used in the description of the prior art and the embodiments of the present application will be briefly described below. Of course, the following description of the drawings related to the embodiments of the present application is only a part of the embodiments of the present application, and it will be obvious to those skilled in the art that other drawings can be obtained from the provided drawings without any creative effort, and the obtained other drawings also belong to the protection scope of the present application.
Fig. 1 is a flowchart of a video image transmission method provided in the present application;
FIG. 2 is a flow chart of another video image transmission method provided in the present application;
fig. 3 is a block diagram of a video image transmission apparatus provided in the present application;
fig. 4 is a block diagram of another video image transmission apparatus provided in the present application.
Detailed Description
The core of the application is to provide a video image transmission method, a video image transmission device, video image transmission equipment and a computer readable storage medium, so that the picture quality of video images in a remote/virtual desktop is effectively guaranteed while the advantages of hard-coding and hard-decoding speed are fully utilized.
In order to more clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a video image transmission method applied to a video image sending device, and mainly includes the following steps:
step 11: raw color data of a video image of a remote desktop/virtual desktop is obtained.
Specifically, in order to effectively guarantee the image quality and simultaneously use a video hardware encoder only supporting YUV 420-format data, in the video image transmission method provided by the present application, image color data in other high-image-quality formats are used as YUV 420-format data to be hard-coded for transmission, and then the data receiving end restores the image color data in the original format according to the sequence (i.e. the recombination mode) when the image color data in the original format is input into the video hardware encoder, and the image color data in the original format is obtained again, so as to achieve the purpose of image transmission.
The image color data in the format with high picture quality is original color data, and as a preferred embodiment, the image color data may be YUV444 format data or RGB format data.
As mentioned above, YUV444 format and YUV420 format are also one of YUV formats, and their data includes Y, U and V channel data. In contrast, in YUV444 format data, each pixel corresponds to one Y data, one U data, and one V data; in YUV420 format data, each pixel corresponds to one Y data, but each 4 pixels corresponds to one U data and one V data. Therefore, the YUV444 format data in units of 4 pixels includes 12 data in total, and the YUV420 format data includes 6 data in total. That is, the data amount of YUV444 format data is 2 times as large as that of YUV420 format data for an image of the same pixel size.
In fact, it will be understood by those skilled in the art that, whatever the format of the data, there is no difference in the way it is stored (YUV format data typically stores Y, U and V data in columns, respectively), and the difference between the so-called "formats" is actually the difference in the amount of data and the meaning of the data representation (i.e. the data representing which channel of which pixel point it represents). For example, for an image with a pixel size of 10 × 10, the total amount of data of the color data in YUV444 format is 300, and 100 pieces of Y data, 100 pieces of U data, and 100 pieces of V data are respectively; and the total amount of data of the color data in YUV420 format is 150, wherein there are 100Y data, 25U data, and 25V data.
Therefore, even the color data in YUV444 format can be encoded by a video hardware encoder supporting YUV420 format data, but the video hardware encoder will automatically regard the input data as YUV420 format data, namely, consider that Y, U and V data are still in a ratio of 4:1: 1. Therefore, as long as the user can clearly understand the meaning of each data representation input into the video hardware encoder, the original format image color data can be restored after decoding.
As for the RGB format data, it is similar to YUV444 format data, one R data, one G data, and one B data per pixel, and can be converted with YUV444 format data according to a correlation calculation formula. The related content can refer to YUV444 format data, and is not described here.
Step 12: recombining the original color data into a preset number of recombined color data according to a preset recombination mode; the data volume of each recombined color data conforms to the data volume characteristic of YUV420 format data.
According to the foregoing, in order to clearly grasp the representation meaning of each data when the original color data is input to the video hardware encoder for encoding, in the video image transmission method provided by the application, after the original image data is obtained, the original image data is recombined according to a preset recombination mode, so that recombined color data is obtained. The preset reorganization mode is intended to grasp the representation meaning of each data in the reorganized color data, that is, the data represents which type of channel data of which pixel point. Since the data can be restored no matter how the data is encoded as long as the representation meaning of each data can be grasped, the preset reorganization mode can be any mode preset by a user. Of course, how many recombined color data are specifically recombined may also be set by the user in advance.
For example, still taking an image with a pixel size of 10 × 10 as an example, 300 pieces of YUV444 format data may be reassembled into 1 piece of YUV420 format data: wherein, by controlling the order of data input to the video hardware encoder, 100Y data and 100U data in the original image data can be regarded as 200Y data of the recombined color data, the first 50V data in the original image data can be regarded as 50U data of the recombined color data, and the last 50V data in the original image data can be regarded as 50V data of the recombined color data; alternatively, it is also possible to use both 100U data and 100V data in the original image data as 200Y data of the recombined color data, the first 50Y data in the original image data as 50U data of the recombined color data, and the last 50Y data in the original image data as 50V data of the recombined color data.
Of course, the 300 YUV444 format data may also be recombined into 2 pieces of YUV420 format data, for example, 100Y data in the original image data may be regarded as 100Y data of the first piece of recombined color data, 25U data in the original image data may be regarded as 25U data of the first piece of recombined color data, and the other 25U data in the original image data may be regarded as 25V data of the first piece of recombined color data; the 100V data in the original image data are regarded as the 100Y data of the second recombined color data, the other 25U data in the original image data are regarded as the 25U data of the second recombined color data, and the last 25U data in the original image data are regarded as the 25V data of the second recombined color data.
Of course, there may be many other combinations similar to the above examples, and those skilled in the art can select and set the combinations according to the practical application, and the present application is not limited thereto. It should be noted that, since the YUV444 format data is in a minimum unit of 4 pixels, the data amount of each piece of YUV444 format data should be a multiple of 6. Therefore, when data reorganization is performed, the data volume of each reorganized color data obtained through reorganization is ensured to be in accordance with the data volume characteristics of the YUV420 format data.
It should be noted that the reassembly referred to herein is only to change the data structure of the reassembled color data, and thus to adjust the order of the data input to the video hardware encoder, and does not change any data size. Of course, those skilled in the art may also store the recombined color data obtained by recombination for inputting to a video hardware encoder.
Step 13: and inputting each recombined color data as YUV420 format data into each video hardware encoder for encoding so as to obtain encoded code streams.
As described above, the number of copies of the recombined color data can be set at the will of the user. Each recombined color data can correspond to a video hardware encoder so as to encode the recombined color data to obtain a code stream. It is easy to understand that the simultaneous encoding by using multiple video hardware encoders can further increase the data processing speed and efficiency. The encoded code stream may specifically adopt a standard RTMP or other transmission protocol for transmission, so that the video image receiving device receives and displays the code stream.
Step 14: respectively sending each code stream to video image receiving equipment; and the video image receiving equipment respectively inputs the code streams into the video hardware decoders for decoding so as to obtain the recombined color data, and restores the recombined color data into original color data according to a preset recombination mode.
Specifically, after the video image receiving device receives each code stream, the video image receiving device may decode each code stream by using a video hardware decoder to obtain recombined color data, and further may restore the recombined original color data according to the preset recombination mode to obtain original color data, so as to render a video image of the remote desktop/virtual desktop corresponding to the transmitted original color data to be displayed on a screen.
Therefore, in the video image transmission method provided by the embodiment of the present application, by recombining the original color data in the high picture quality format according to the preset recombination manner, the representation meaning of each recombined color data input to the video hardware encoder for encoding can be clearly grasped, and after the video image is received and decoded, decoding can be performed according to the preset recombination manner to obtain the original image data. The method and the device can utilize the video hardware encoder to finish the transmission of the color data with high picture quality format, thereby improving the processing efficiency and ensuring the picture quality.
The video image transmission method provided by the application is based on the embodiment as follows:
as a preferred embodiment, the predetermined number is 2.
Specifically, as described above, the data amount of YUV444 format data or RGB format data is 2 times that of YUV420 format data for the same pixel size image. Therefore, in order to facilitate data reorganization, the preset number may be specifically set to 2, that is, the original color data is reorganized into 2 reorganized color data.
As a preferred embodiment, the recombining the original color data into a predetermined number of recombined color data according to a predetermined recombining manner includes:
and sequentially extracting the original color data according to the storage sequence to form a preset number of recombined color data.
Specifically, in order to simplify the data reassembly operation and avoid unnecessary data addressing, the data structure of the original color data may be retained as much as possible, that is, the entire data is selected and the original data sequence is retained to form the reassembled color data. Therefore, it is preferable to sequentially extract the original color data in the order of storage of the data itself to constitute the reformed color data.
As a preferred embodiment, both the video hardware encoder and the video hardware decoder support the h.264 digital video coding standard.
In particular, h.264 is a new generation digital video compression format following MPEG4, commonly proposed by the international organization for standardization (ISO) and the International Telecommunications Union (ITU). The H264 standard has higher coding efficiency compared with other standards such as H.263 and the like, uses a mixed coding structure of differential coding by adopting DCT (discrete cosine transform) transform coding and DPCM (differential code), and also adds new coding modes such as multi-mode motion estimation, intra-frame prediction, multi-frame prediction, variable length coding based on contents, 4 x 4 two-dimensional integer transform and the like, thereby improving the coding efficiency and saving more than 50 percent of code rate on average; also, h.264 can provide high quality image transmission over a lower bandwidth; in addition, the h.264 standard has high network adaptability, and can operate in a low-latency mode for real-time communication applications, and can also operate in a video storage or video streaming server without latency.
Referring to fig. 2, fig. 2 is a schematic diagram of another video image transmission method applied to a video image receiving device, which mainly includes the following steps:
step 21: receiving each code stream sent by video image sending equipment; each code stream is generated by the video image sending equipment after recombining the original color data of the video image of the remote desktop/virtual desktop into a preset number of recombined color data according to a preset recombination mode and respectively inputting each recombined color data as YUV420 format data into each video hardware encoder for encoding; the data volume of each recombined color data conforms to the data volume characteristic of YUV420 format data.
Step 22: and respectively inputting the code streams into the video hardware decoders for decoding to obtain the recombined color data.
Step 23: and restoring each recombined color data into original color data according to a preset recombination mode.
The following describes a video image transmission apparatus provided in an embodiment of the present application.
Referring to fig. 3, fig. 3 is a block diagram of a video image transmission apparatus applied to a video image sending device, and the video image transmission apparatus includes an obtaining module 31, a restructuring module 32, a coding module 33, and a sending module 34;
the obtaining module 31 is configured to obtain original color data of a video image of the remote desktop/virtual desktop;
the recombination module 32 is configured to recombine the original color data into a preset number of recombined color data according to a preset recombination manner; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
the encoding module 33 is configured to input each recombined color data as YUV 420-format data to each video hardware encoder for encoding, so as to obtain an encoded code stream;
the sending module 34 is configured to send each code stream to the video image receiving device; and the video image receiving equipment respectively inputs the code streams into the video hardware decoders for decoding so as to obtain the recombined color data, and restores the recombined color data into original color data according to a preset recombination mode.
Referring to fig. 4, fig. 4 is a block diagram of another video image transmission apparatus applied to a video image receiving device, which includes a receiving module 41, a decoding module 42, and a restoring module 43;
the receiving module 41 is configured to receive each code stream sent by the video image sending device; each code stream is generated by the video image sending equipment after recombining the original color data of the video image of the remote desktop/virtual desktop into a preset number of recombined color data according to a preset recombination mode and respectively inputting each recombined color data as YUV420 format data into each video hardware encoder for encoding; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
the decoding module 42 is configured to input each code stream into each video hardware decoder respectively for decoding, so as to obtain each recombined color data;
the restoring module 43 is configured to restore each of the recombined color data to the original color data according to a preset recombination manner.
Therefore, the video image transmission device provided by the application can clearly master the representation meaning of each recombined color data input to the video hardware encoder for encoding by recombining the original color data in the high picture quality format according to the preset recombination mode, so that after the video image is received and decoded, the decoding can be performed according to the preset recombination mode to obtain the original image data. The method and the device can utilize the video hardware encoder to finish the transmission of the color data with high picture quality format, thereby improving the processing efficiency and ensuring the picture quality.
The present application also provides a video image transmission apparatus, including:
a memory: for storing a computer program;
a processor: for executing a computer program for carrying out the steps of any of the video image transmission methods as described above.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of any of the video image transmission methods as presented above.
The specific embodiments of the video image transmission apparatus, the device and the computer-readable storage medium provided in the present application and the video image transmission method described above may be referred to correspondingly, and are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, throughout this document, relational terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The technical solutions provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A video image transmission method applied to a video image sending device is characterized by comprising the following steps:
acquiring original color data of a video image of a remote desktop/virtual desktop;
recombining the original color data into a preset number of recombined color data according to a preset recombination mode; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
inputting each recombined color data serving as YUV420 format data into each video hardware encoder for encoding to obtain encoded code streams;
respectively sending the code streams to video image receiving equipment; and the video image receiving equipment respectively inputs each code stream into each video hardware decoder for decoding so as to obtain each recombined color data, and restores each recombined color data into the original color data according to the preset recombination mode.
2. The video image transmission method according to claim 1, wherein the raw color data is YUV444 format data or RGB format data.
3. The video image transmission method according to claim 2, wherein the preset number is 2.
4. The method for transmitting video images according to any of claims 1 to 3, wherein said recombining the original color data into a predetermined number of recombined color data according to a predetermined recombination method comprises:
and sequentially extracting the original color data according to a storage sequence to form the preset number of recombined color data.
5. The method of claim 4, wherein the video hardware encoder and the video hardware decoder both support the H.264 digital video coding standard.
6. A video image transmission method is applied to a video image receiving device, and is characterized by comprising the following steps:
receiving each code stream sent by video image sending equipment; each code stream is generated by the video image sending equipment after recombining original color data of a video image of a remote desktop/virtual desktop into a preset number of recombined color data according to a preset recombination mode and inputting each recombined color data into each video hardware encoder for encoding as YUV420 format data; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
inputting each code stream into each video hardware decoder respectively for decoding to obtain each recombined color data;
and restoring each recombined color data into the original color data according to the preset recombination mode.
7. A video image transmission apparatus applied to a video image transmission device, comprising:
an acquisition module: the method comprises the steps of acquiring original color data of a video image of a remote desktop/virtual desktop;
a recombination module: the original color data are recombined into a preset number of recombined color data according to a preset recombination mode; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
the coding module: the system is used for inputting each recombined color data as YUV420 format data into each video hardware encoder for encoding so as to obtain encoded code streams;
a sending module: the video image receiving device is used for respectively sending the code streams to the video image receiving device; and the video image receiving equipment respectively inputs each code stream into each video hardware decoder for decoding so as to obtain each recombined color data, and restores each recombined color data into the original color data according to the preset recombination mode.
8. A video image transmission apparatus applied to a video image receiving device, comprising:
a receiving module: the video image transmitting equipment is used for receiving each code stream transmitted by the video image transmitting equipment; each code stream is generated by the video image sending equipment after recombining original color data of a video image of a remote desktop/virtual desktop into a preset number of recombined color data according to a preset recombination mode and inputting each recombined color data into each video hardware encoder for encoding as YUV420 format data; the data volume of each recombined color data accords with the data volume characteristic of YUV420 format data;
a decoding module: the decoder is used for respectively inputting each code stream into each video hardware decoder for decoding so as to obtain each recombined color data;
a reduction module: and the color data processing unit is used for reducing each recombined color data into the original color data according to the preset recombination mode.
9. A video image transmission apparatus, characterized by comprising:
a memory: for storing a computer program;
a processor: steps for executing the computer program to implement the video image transmission method according to any one of claims 1 to 6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the video image transmission method according to any one of claims 1 to 6.
CN201810864614.2A 2018-08-01 2018-08-01 Video image transmission method, device and equipment Pending CN110798705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810864614.2A CN110798705A (en) 2018-08-01 2018-08-01 Video image transmission method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810864614.2A CN110798705A (en) 2018-08-01 2018-08-01 Video image transmission method, device and equipment

Publications (1)

Publication Number Publication Date
CN110798705A true CN110798705A (en) 2020-02-14

Family

ID=69425037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810864614.2A Pending CN110798705A (en) 2018-08-01 2018-08-01 Video image transmission method, device and equipment

Country Status (1)

Country Link
CN (1) CN110798705A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533025A (en) * 2019-09-19 2021-03-19 恒为科技(上海)股份有限公司 Image chromaticity restoration method, device and system
CN113784141A (en) * 2021-07-15 2021-12-10 无锡思朗电子科技有限公司 Method for transmitting YUV444 images based on H.264 or H.265

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222571A (en) * 2007-01-11 2008-07-16 凌阳科技股份有限公司 Method for accessing image data and method for accessing YUV420 image data
CN102801988A (en) * 2012-07-20 2012-11-28 浙江工业大学 Video format conversion method of converting YUV444 to YUV420 based on chrominance component amplitude
CN102801987A (en) * 2012-07-20 2012-11-28 浙江工业大学 Format conversion method for computer desktop video from YUV444 to YUV420 based on chrominance information classification
CN104919804A (en) * 2012-10-01 2015-09-16 微软技术许可有限责任公司 Frame packing and unpacking higher-resolution chroma sampling formats
US20160037044A1 (en) * 2014-08-04 2016-02-04 Nvidia Corporation Deinterleaving interleaved high dynamic range image by using yuv interpolation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222571A (en) * 2007-01-11 2008-07-16 凌阳科技股份有限公司 Method for accessing image data and method for accessing YUV420 image data
CN102801988A (en) * 2012-07-20 2012-11-28 浙江工业大学 Video format conversion method of converting YUV444 to YUV420 based on chrominance component amplitude
CN102801987A (en) * 2012-07-20 2012-11-28 浙江工业大学 Format conversion method for computer desktop video from YUV444 to YUV420 based on chrominance information classification
CN104919804A (en) * 2012-10-01 2015-09-16 微软技术许可有限责任公司 Frame packing and unpacking higher-resolution chroma sampling formats
US20160037044A1 (en) * 2014-08-04 2016-02-04 Nvidia Corporation Deinterleaving interleaved high dynamic range image by using yuv interpolation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533025A (en) * 2019-09-19 2021-03-19 恒为科技(上海)股份有限公司 Image chromaticity restoration method, device and system
CN113784141A (en) * 2021-07-15 2021-12-10 无锡思朗电子科技有限公司 Method for transmitting YUV444 images based on H.264 or H.265

Similar Documents

Publication Publication Date Title
TWI569626B (en) Methods for decoding and encoding video data, video decoding and encoding devices and computer-storage media thereof
KR102120571B1 (en) Entropy coding techniques for display stream compression (DSC) of non-4:4:4 chroma sub-sampling
RU2559691C2 (en) Decoding method, decoder, software product, software application for mobile wireless communication device, and electronic consumer product
EP2060104A1 (en) Techniques for managing visual compositions for a multimedia conference call
US20160316215A1 (en) Scalable video coding system with parameter signaling
CN103813174A (en) Mixture resolution encoding and decoding method and device
WO2014162736A1 (en) Video compression with color bit depth scaling
CN101094406B (en) Method and device for transferring video data stream
CN111741302B (en) Data processing method and device, computer readable medium and electronic equipment
CN108174214A (en) A kind of remote table sharing method based on screen content Video coding
JP2022548354A (en) Video decoding method, video encoding method, apparatus, equipment and storage medium
WO2021057697A1 (en) Video encoding and decoding methods and apparatuses, storage medium, and electronic device
CN112235606A (en) Multi-layer video processing method, system and readable storage medium
CN110798705A (en) Video image transmission method, device and equipment
CN114125448B (en) Video coding method, decoding method and related devices
US8798140B2 (en) Encoding video frames in a video encoder
CN115866297A (en) Video processing method, device, equipment and storage medium
CN101188765A (en) Method and apparatus for encoding and decoding RGB image
CN111182310A (en) Video processing method and device, computer readable medium and electronic equipment
CN110572677A (en) video encoding and decoding method and device, storage medium and electronic device
KR102312668B1 (en) Video transcoding system
CN114827669A (en) Video data transmission method, device, medium and equipment
WO2024078066A1 (en) Video decoding method and apparatus, video encoding method and apparatus, storage medium, and device
CN111416975A (en) Prediction mode determination method and device
CN114640849B (en) Live video encoding method, device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214

RJ01 Rejection of invention patent application after publication