Video transmission method, video reception method and related devices

By splitting the video signal into multiple color images and encoding and transmitting them separately, the problem of color component loss caused by YUV420 conversion in existing technologies is solved, achieving visually lossless video encoding effects.

CN116233452BActive Publication Date: 2026-02-24BANGYAN TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310102671.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-02
Publication Date
2026-02-24
Estimated Expiration
2043-02-02

AI Technical Summary

Technical Problem

Existing video signal encoding methods lose color components after converting images to YUV420, resulting in encoded images that cannot meet the requirements for visually lossless image quality.

Method used

The original transmitted video is split into multiple color images, including a first color image, a second color image, and a third color image, and each image is encoded separately. The images are then transmitted using a preset encoding method. The receiving end decodes and synthesizes the original transmitted image to achieve a visually lossless effect.

Benefits of technology

It achieves no loss of color information during the encoding process, reduces encoder overhead, improves compression ratio and compression efficiency during encoding, and ensures that the video decoded at the receiving end achieves visually lossless image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116233452B_ABST
    Figure CN116233452B_ABST
Patent Text Reader

Abstract

The application provides a video sending method, a video receiving method and related devices, and relates to the field of digital video signal coding. The method comprises the following steps: obtaining an original transmission video, and obtaining an original transmission image according to the original transmission video; converting the original transmission image into a preset image format to obtain a converted transmission image; splitting the converted transmission image according to color information to obtain a plurality of color images, wherein the color images comprise a first color image, a second color image and a third color image; respectively encoding the plurality of color images to obtain a first encoded image of the first color image, a second encoded image of the second color image and a third encoded image of the third color image; converting the encoded images into transmission information; and sending the transmission information to a receiving end, so that the receiving end can obtain the original transmission video according to the transmission information. The method can reduce network pressure during transmission and make the received file meet the requirement of visual lossless quality after being decoded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital video signal encoding, and in particular to a video transmission method, a video reception method, and related apparatus. Background Technology

[0002] Lossless video signal transmission refers to the transmission of video signals without any loss of the original data, thus ensuring video quality. Lossless video signal transmission can guarantee video clarity, color accuracy, and smoothness, thereby improving the viewing experience.

[0003] Most lossless video signal transmission technologies work by losslessly compressing the original image signal, transmitting it over a network to the receiving end, and then decoding and restoring it for output. Related technologies include deep compression schemes such as H.264 and H.265. However, current codec chips convert the image to YUV420 before encoding, which results in the loss of many color components, making the encoded image unable to meet the requirements of visually lossless quality. Summary of the Invention

[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.

[0005] To address the above issues, this application provides a video sending method, a video receiving method, and related apparatus. These methods reduce network pressure during transmission and ensure that the received files, after decoding, achieve visually lossless image quality.

[0006] According to a first aspect of this application, a video transmission method is proposed, applied at a transmitting end. The method includes: obtaining an original transmitted video and obtaining an original transmitted image based on the original transmitted video; converting the original transmitted image into a preset image format to obtain a converted transmitted image; splitting the converted transmitted image according to color information to obtain multiple color images, the color images including a first color image, a second color image, and a third color image; encoding the multiple color images according to a preset encoding method to obtain a first encoded image of the first color image, a second encoded image of the second color image, and a third encoded image of the third color image; converting the first encoded image, the second encoded image, and the third encoded image into transmission information; and sending the transmission information to a receiving end, so that the receiving end can obtain the original transmitted image based on the transmission information and obtain the original transmitted video based on the original transmitted image.

[0007] According to the video transmission method of the first aspect of this application, each original transmitted image in the original transmitted video is split into different first color images, second color images, and third color images at the transmitting end, and encoded and compressed for transmission using a preset encoding method. By dividing it into three different color images, the compression rate and efficiency during encoding are improved, the encoder overhead is reduced, and no color information is lost during the encoding process, so that the receiving end can decode the received transmission information to obtain the original transmitted video that meets the visual lossless image quality requirements.

[0008] In some embodiments, the color information includes luminance information, chroma information, and saturation information. The process of splitting the converted and transmitted image according to the color information to obtain multiple color images, each color image including a first color image, a second color image, and a third color image, includes: extracting a first color component of the converted and transmitted image based on the luminance information and converting the first color component into a first color image; extracting a second color component of the converted and transmitted image based on the chroma information and converting the second color component into a second color image; and extracting a third color component of the converted and transmitted image based on the saturation information and converting the third color component into a third color image.

[0009] In some embodiments, obtaining the original transmitted video and obtaining the original transmitted image based on the original transmitted video includes: acquiring each frame of the original transmitted image in the original transmitted video and the location information of the original transmitted image; generating a time frame based on the location information, wherein the time frame is used to characterize the correspondence between the location information and the original transmitted image.

[0010] In some embodiments, converting the first coded image, the second coded image, and the third coded image into transmission information includes: obtaining the time frame corresponding to the original transmission image; and adding the time frame to the first coded image, the second coded image, and the third coded image respectively to obtain the transmission information.

[0011] According to a second aspect of this application, a video receiving method is proposed, applied at a receiving end. The method includes: receiving transmission information and extracting multiple coded images from the transmission information, the coded images including a first coded image, a second coded image, and a third coded image; decoding each coded image according to a preset decoding method to obtain a color image, the color image including a first color image of the first coded image, a second color image of the second coded image, and a third color image of the third coded image; storing the multiple color images in a buffer and aligning the color images in the buffer to obtain at least one image sequence; performing image synthesis based on the image sequence to obtain an original transmission image, the image sequence including a first color image, a second color image, and a third color image belonging to the same original transmission image; and receiving the multiple original transmission images to generate an original transmission video.

[0012] In some embodiments, the buffer includes a first buffer and a second buffer. Before storing the plurality of color images into the buffer and aligning the color images in the buffer to obtain at least one image sequence, the method includes: decoding a time frame from the encoded image, the time frame representing the position information of the original transmitted image corresponding to the color image in the original transmitted video; adding a time frame flag bit to the first color image, the second color image, and the third color image according to the time frame; and before storing the plurality of color images into the buffer and aligning the color images in the buffer to obtain at least one image sequence, the method includes: interleaving the color images into the first buffer and the second buffer; and selecting color images with the same time frame flag bit from the first buffer and the second buffer to form an image sequence.

[0013] In some embodiments, a byte in the time frame corresponds to a flag bit in the time frame flag bit, the flag bit including a first flag and a second flag, and adding the time frame flag bit to the first color image, the second color image and the third color image according to the time frame includes: adding the time frame flag bit to the first color image, the second color image and the third color image; when the Mth byte of the time frame is greater than or equal to a first threshold, setting the Mth bit of the time frame flag bit to the first flag; when the Mth byte of the time frame is less than the first threshold, setting the Mth bit of the time frame flag bit to the second flag.

[0014] In some embodiments, the step of synthesizing the original transmitted image based on the image sequence includes: removing the time frame flag from the first color image, the second color image, and the third color image; converting the first color image into a first color component, wherein the first color component represents the luminance information of the original transmitted image; converting the second color image into a second color component, wherein the second color component represents the chromaticity information of the original transmitted image; converting the third color image into a third color component, wherein the third color component represents the density information of the original transmitted image; and synthesizing the original transmitted image based on the first color component, the second color component, and the third color component.

[0015] According to a third aspect of this application, a video transmission system is proposed, including a transmitting end and a receiving end, wherein the transmitting end includes: a first logic chip, a first digital signal processor and a first main processor, and the receiving end includes: a second digital processor, a second main processor and a second logic chip;

[0016] The first main processor is connected to the first logic chip and the first digital signal processor respectively, and the second main processor is connected to the second logic chip and the second digital signal processor respectively. The first main processor and the second main processor are in a communication connection.

[0017] The first logic chip is configured to obtain an original transmitted image based on the original transmitted video, and convert the original transmitted image into a preset image format to obtain a converted transmitted image; the first logic chip is further configured to split the converted transmitted image according to color information to obtain multiple color images, the color images including: a first color image, a second color image, and a third color image; the first digital signal processor is configured to encode the multiple color images according to a preset encoding method to obtain a first encoded image of the first color image, a second encoded image of the second color image, and a third encoded image of the third color image; the first main processor is configured to convert the first encoded image, the second encoded image, and the third encoded image into a transmitted signal. The first main processor is further configured to send the transmission information to the second main processor of the receiving end; the second main processor is configured to receive the transmission information and extract a plurality of the encoded images from the transmission information; the second digital signal processor is configured to decode each of the encoded images according to a preset decoding method to obtain the color image; the second digital signal processor is further configured to store the plurality of the color images into a buffer and perform image alignment on the color images in the buffer to obtain at least one image sequence; the second logic chip is configured to perform image synthesis according to the image sequence to obtain the original transmission image; the second logic chip is further configured to receive a plurality of the original transmission images and generate the original transmission video.

[0018] According to a fourth aspect of this application, a storage medium is provided, the storage medium being a readable storage medium storing a computer program for causing a computer to perform: a video transmission method as described in any of the preceding claims, or a video reception method as described in any of the preceding claims.

[0019] According to a fifth aspect of this application, an electronic device is proposed, comprising a memory, a processor, a communication bus, a communication interface, and a computer program stored in the memory and executable on the processor, wherein the communication bus is used to enable communication between the processor and the memory; and the processor, when executing the computer program, implements a video transmission method or a video reception method as described in any of the preceding claims.

[0020] According to a sixth aspect of this application, a video transmission apparatus is proposed, comprising: an original transmission image acquisition module for acquiring an original transmission video and acquiring an original transmission image based on the original transmission video; a converted transmission image acquisition module for converting the original transmission image into a preset image format to obtain a converted transmission image; a color image acquisition module for splitting the converted transmission image according to color information to obtain multiple color images, the color images including: a first color image, a second color image, and a third color image; an encoded image acquisition module for encoding the multiple color images according to a preset encoding method to obtain a first encoded image of the first color image, a second encoded image of the second color image, and a third encoded image of the third color image; a transmission information conversion module for converting the first encoded image, the second encoded image, and the third encoded image into transmission information; and a transmission information transmission module for sending the transmission information to a receiving end, so that the receiving end can obtain the original transmission image based on the transmission information and obtain the original transmission video based on the original transmission image.

[0021] According to a seventh aspect of this application, a video receiving apparatus is provided, comprising: a transmission information receiving module for receiving transmission information and extracting multiple coded images from the transmission information, the coded images including: a first coded image, a second coded image, and a third coded image; a decoding module for decoding each of the coded images according to a preset decoding method to obtain a color image, the color image including: a first color image of the first coded image, a second color image of the second coded image, and a third color image of the third coded image; a color image alignment module for storing the multiple color images in a buffer and aligning the color images in the buffer to obtain at least one image sequence; an original transmission image synthesis module for synthesizing images according to the image sequence to obtain an original transmission image, the image sequence including: a first color image, a second color image, and a third color image belonging to the same original transmission image; and an original transmission video generation module for receiving the multiple original transmission images to generate an original transmission video.

[0022] It is understood that the beneficial effects of the second to seventh aspects compared with the related technologies are the same as the beneficial effects of the first aspect compared with the related technologies. Please refer to the relevant description in the first aspect above, which will not be repeated here.

[0023] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the description, claims and drawings. Attached Figure Description

[0024] Figure 1 This is a schematic diagram of a video transmission system according to an embodiment of this application.

[0025] Figure 2 This is a schematic diagram of an electronic device according to an embodiment of this application.

[0026] Figure 3 This is a flowchart of a video sending method according to an embodiment of this application.

[0027] Figure 4 This is a schematic diagram of the encoding of an embodiment of this application.

[0028] Figure 5 This is a flowchart of a video receiving method according to an embodiment of this application.

[0029] Figure 6 This is a schematic diagram of the buffering mechanism in an embodiment of this application.

[0030] Figure 7 This is a schematic diagram illustrating the setting of the time frame flag bit in an embodiment of this application.

[0031] Figure 8 This is a schematic diagram of a video transmission device according to an embodiment of this application.

[0032] Figure 9 This is a schematic diagram of a video receiving device according to an embodiment of this application. Detailed Implementation

[0033] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that the embodiments of this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, electronic devices, and methods are omitted so as not to obscure the description of the embodiments of this application with unnecessary detail.

[0034] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0035] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0036] YUV format: YUV is a color encoding method that uses luminance (Y) and chrominance (U, V) to specify pixel color. In this encoding method, each pixel contains Y, U, and V components, but the Y and UV components can be discrete. A complete image can be displayed even without U and V components, although it will be black and white. Furthermore, there are various types of YUV formats. For example, each Y component may have its own corresponding U and V components, such as the YUV444 format; or several Y components may share U and V components, such as the YUV422 format.

[0037] Video encoding is a file compression technique that reduces the size of video and image files through compression. Original image and video files often contain redundant information, such as the correlation between adjacent pixels in an image and the correlation between adjacent frames in a video. Human vision is not sensitive to some of this redundant information. The process of compressing this redundant information is video encoding.

[0038] Deep compression is a video coding technique where the encoder searches for similar regions in consecutive images, identifying similar areas and their positional offsets. It then encodes the differences between these similar regions and their motion vectors. Differences between different similar regions are shared or quantized stepwise according to a bitrate control strategy. Based on search algorithms and coding strategies, deep compression includes H.264, H.265, JPEG, and AVS, among others.

[0039] A macroblock is a segmented unit in video coding that employs different compression strategies. Each frame of a video is divided into multiple macroblocks.

[0040] H.264 encoding is a coding standard known for its high compression, high quality, and support for streaming media transmission across various networks. It is a lossy encoding method. H.264 defines three types of frames: I-frames, P-frames, and B-frames. A fully encoded frame is called an I-frame. A P-frame is a frame that references a previous I-frame and only includes the differences in its encoded portion. A B-frame is a frame that references both preceding and following frames. The core algorithms of H.264 are intra-frame compression and inter-frame compression. The core of the H.264 algorithm is comparing the differences between I-frames, P-frames, and B-frames. When the differences are small, H.264 can provide a better compression ratio and faster encoding speed.

[0041] Figure 1 This is a schematic diagram of a video transmission system according to an embodiment of this application. (Reference) Figure 1The video transmission system 10 of this application includes a transmitter 11 and a receiver 12, which are connected via a network. The transmitter 11 includes a first logic chip, a first digital signal processor, and a first main processor. Figure 1 (Not shown in the image), the receiver 12 includes a second digital processor, a second main processor, and a second logic chip. Figure 1 (Not shown in the image); The first main processor is connected to the first logic chip and the first digital signal processor, respectively. The second main processor is connected to the second logic chip and the second digital signal processor, respectively. The first and second main processors are communicatively connected to achieve the communication connection between the transmitter 11 and the receiver 12. The first and second logic chips can be, for example, image signal processors (ISPs) with image conversion functions, field-programmable gate arrays (FPGAs), general-purpose central processing units (CPUs), or other programmable computing devices. The first and second digital signal processors are digital signal processors (DSPs). Similarly, a custom FPGA can also be used to implement the functions of a digital signal processor, but considering I / O bandwidth and cost, a digital signal processor is a more preferred embodiment. The first and second main processors are not limited; any non-dedicated computing device with good computing power can be used, such as a general-purpose central processing unit (CPU). The communication connection between the first main processor and the second main processor can be implemented through the built-in devices of the transmitting end 11 and the receiving end 12, such as network cards, or through other peripheral devices, such as mobile networks, or through direct network connection. The connection method is not limited here. The first logic chip, first digital signal processor, first main processor, second digital processor, second main processor, and second logic chip in the above video transmission system can all be implemented using existing devices. This eliminates the need to design separate digital signal processors and logic chips to implement the video transmission and video reception methods of the embodiments of this application, thereby reducing design costs.

[0042] Figure 2 This is a schematic diagram of an electronic device according to an embodiment of this application. It is readily understood that the various methods mentioned in this application can also be performed as follows: Figure 2 On the electronic device shown. Reference Figure 2This application also proposes an electronic device 20, including a memory 21, a processor 22, a communication bus 23, a communication interface 24, and a computer program stored in the memory 21 and executable on the processor 22. The communication bus 23 is used to establish communication between the processor 22 and the memory 21. When the processor 22 executes the computer program, it implements either the video transmission method or the video reception method described in any one of the claims of this application. The electronic device 20 can also act as either the transmitter 11 or the receiver 12 of this application, depending on the method it executes. When multiple electronic devices 20 are present, different electronic devices 20 can each act as either the transmitter 11 or the receiver 12. This electronic device can be a terminal device, a server, a distributed container, an industrial computer, a personal computer, a portable computing device, etc.

[0043] The video sending method according to the embodiments of this application will be described in detail below.

[0044] Figure 3 This is a flowchart of a video transmission method according to an embodiment of this application, see reference. Figure 3 This method is applied to, for example Figure 1 The transmitter 11 in the middle includes:

[0045] S110: Obtain the original transmitted video and obtain the original transmitted image based on the original transmitted video;

[0046] S120: Convert the original transmitted image into a preset image format to obtain the converted transmitted image;

[0047] S130: The converted and transmitted image is split according to color information to obtain multiple color images, including: a first color image, a second color image and a third color image;

[0048] S140: Encode multiple color images according to a preset encoding method to obtain a first encoded image of the first color image, a second encoded image of the second color image, and a third encoded image of the third color image;

[0049] S150: Convert the first coded image, the second coded image, and the third coded image into transmission information;

[0050] S160: Send the transmission information to the receiving end so that the receiving end can obtain the original transmitted image based on the transmission information and obtain the original transmitted video based on the original transmitted image.

[0051] According to this video transmission method, by splitting each original transmitted image in the original transmitted video into different first color images, second color images, and third color images at the sending end, and encoding and compressing them through a preset encoding method, the network pressure is reduced, and the receiving end can decode the received transmission information to obtain the original transmitted video that meets the requirements of visual lossless image quality.

[0052] Specifically, in S110, the original transmitted video is split. Since the original transmitted video is composed of multiple frames of images ordered chronologically, it can be easily split into multiple original transmitted images. In some embodiments, S110 is performed on a dedicated first logic chip, which is less expensive than general-purpose computing chips and, due to its specialization, allows for faster splitting.

[0053] In some embodiments, when splitting the original transmitted video into multiple original transmitted images, the position information of each original transmitted image within the original transmitted video is recorded. This position information is then converted into time frames for use in subsequent steps. However, in other embodiments, due to a better decoding and sorting method, time frames may not be obtained.

[0054] In S120, which converts the original transmitted image into a preset image format to obtain a converted transmitted image, specifically, the original transmitted image is converted into YUV444 format. YUV444 format is a type of YUV format where one pixel includes three components: Y, U, and V, and each pixel occupies 3 bytes. Similarly, S120 can be performed on a dedicated first logic chip, but another logic chip can also be used to handle the format conversion, thereby improving conversion efficiency. In some embodiments, the converted transmitted image can also be an image in the RGB color model (hereinafter referred to as RGB image).

[0055] In S130: The converted and transmitted image is split according to color information to obtain multiple color images, including a first color image, a second color image, and a third color image. Specifically, the first color image, the second color image, and the third color image are obtained from the YUV444 image split in S120, or the converted and transmitted image is an RGB image, obtained by splitting the RGB image into its three components. In embodiments where the converted output image is in YUV444 format, the color information refers to the information corresponding to the three components of YUV, such as luminance information, chrominance information, and saturation information. Therefore, S130 includes:

[0056] S131: Extract the first color component of the transmitted image based on the brightness information, and convert the first color component into a first color image;

[0057] S132: Extract the second color component of the transmitted image based on the chromaticity information, and convert the second color component into a second color image;

[0058] S133: Extract the third color component of the transmitted image based on the concentration information, and convert the third color component into a third color image.

[0059] In this design, the first color component can refer to luminance information (Y), the second color component can refer to chromaticity information (U), and the third color component can refer to density information (V). The first color image is a YUV400 format image containing all information of the first color component, the second color image is a YUV400 format image containing all information of the second color component, and the third color image is a YUV400 format image containing all information of the third color component. That is, the original YUV444 format converted output image is split into three YUV400 grayscale images. It is important to note that in this embodiment, the second and third color images differ from typical YUV400 images. For example, the first color image is actually a grayscale image of the original converted output image, while the second and third color images, although grayscale in form, are actually information carriers of the U and V components of the YUV444 image. During this process, no information in the converted output image is lost.

[0060] In addition, in some other embodiments, the first color image, the second color image, and the third color image may also be the yellow, green, and blue components in an RGB image, which are converted from an RGB image to YUV444 and then split into a first color image, a second color image, and a third color image of YUV400 through format change.

[0061] The above step S130 can be completed by the first logic chip, but another logic chip can also be used to handle the format conversion. The first logic chip includes multiple decoders, so the above YUV444 splitting can be performed synchronously or in parallel.

[0062] In S140: Multiple color images are encoded according to preset encoding methods to obtain a first encoded image of the first color image, a second encoded image of the second color image, and a third encoded image of the third color image. The first color image is encoded, for example using existing encoding formats such as H.264, H.265, JPEG, or AVS; no specific limitation is made here. However, it is important to note that when encoding, a standard must be selected that ensures the resulting image and video after subsequent decoding and splicing still conform to a lossless standard visible to the naked eye.

[0063] The above encoding can be performed in a first digital signal processor (DSP), which may include multiple encoders, thereby simultaneously encoding the first color image into a first coded image, the second color image into a second coded image, and the third color image into a third coded image. This achieves high encoding efficiency.

[0064] In some embodiments, since a time frame is obtained in S110, and considering subsequent sorting, the corresponding time frame can be added to the first coded image, the second coded image, and the third coded image during encoding. The time frame represents the position of the original transmitted image corresponding to the first coded image, the second coded image, and the third coded image within the original transmitted video. The encoding method for adding the time frame can be by adding a storage bit to each of the first coded image, the second coded image, and the third coded image during encoding to represent the time frame information.

[0065] In other embodiments, during S150: converting the first coded image, the second coded image, and the third coded image into transmission information, the time frame of the original transmission image corresponding to the first coded image, the second coded image, and the third coded image is obtained. When converting the first coded image, the second coded image, and the third coded image into transmission information, the time frame information is encoded into the transmission information and transmitted as part of the transmission information. The method of converting the transmission information is not limited, as long as existing packetization methods and transmission protocols do not lose the information contained in the first coded image, the second coded image, and the third coded image, are acceptable. Alternatively, partial information loss may be allowed, but the total loss should ensure that the original transmission video obtained by the receiving end after receiving and decoding the transmission information still meets the standard of visual losslessness.

[0066] Finally, the transmission information obtained in S150 is sent to the receiving end in S160, so that the receiving end can obtain the original transmitted image based on the transmission information and obtain the original transmitted video based on the original transmitted image, and send it to the receiving end.

[0067] Through the above embodiments, after converting the original transmitted video into a YUV444 format image, three color components in the YUV444 are extracted to obtain three YUV400 format images, and the YUV400 format images are encoded and transmitted respectively. No loss or information loss occurs during the assembly and transmission process.

[0068] In related technologies, there is a technique that splits a YUV444 image into two YUV420 images. In this technique, the UV components of the two YUV420 images only represent half of the V component of the original image. This results in the loss of spatial reference feature correlation between the Y, U, and V components. Therefore, during encoding, the search algorithm cannot calculate reasonable macroblock motion data, and the algorithm struggles to obtain similarity points between I-frames, P-frames, and B-frames, increasing the bandwidth required for encoding. For example, in the technique of splitting a YUV444 image into two YUV420 images, a complete U component is split and encoded independently by two encoders. This prevents the encoder from referencing the U component information in the other encoder. Assuming the two encoders are encoder A and encoder B, a portion of the U component information in the Nth frame (defined as an I-frame by the encoder) belonging to encoder A may be in the U component information of encoder B in the N+1th frame (defined as a P-frame by the encoder). In this case, the search algorithm cannot obtain the correlation between the U component information of the Nth and N+1th frames, resulting in the use of a lower compression ratio encoding strategy and increasing the overhead of the first digital signal processor. Furthermore, because some feature information is lost during the splitting process, the image will also lose some sharpness. In other words, splitting it into two YUV420 images cannot achieve a lossless effect to the naked eye.

[0069] Figure 4 This is a schematic diagram illustrating the encoding of an embodiment of this application. For example... Figure 4 As shown, the first digital signal processor includes a first encoder, a second encoder, and a third encoder. The first digital signal processor can simultaneously encode the first color image, the second color image, and the third color image of the Nth time frame to obtain the corresponding first encoded image, second encoded image, and third encoded image. During the encoding process, the first color image of the N+1th time frame is processed using the same first encoder as the first color image of the Nth time frame. This means the first encoder can obtain all the information of the color components contained in the first color image. Therefore, when a macroblock in the first color image of the N+1th time frame moves compared to the first color image of the Nth time frame, the encoder can better calculate the motion vector through the search algorithm and perform effective compression, resulting in less information loss during color image encoding. Similarly, a similar effect occurs for the second and third color images.

[0070] Therefore, the embodiments of this application can reduce encoder overhead and achieve better compression results.

[0071] The following describes the video receiving method corresponding to the video sending method described above.

[0072] refer to Figure 5 , Figure 5This is a video transmission method for receiving and processing transmission information sent by the video transmission method of this application, comprising:

[0073] S210: Receive transmission information and extract multiple encoded images from the transmission information. The encoded images include: a first encoded image, a second encoded image, and a third encoded image.

[0074] S220: Decode each encoded image according to a preset decoding method to obtain a color image, which includes: the first color image of the first encoded image, the second color image of the second encoded image, and the third color image of the third encoded image;

[0075] S230: Store multiple color images into a buffer, and perform image alignment on the color images in the buffer to obtain at least one image sequence;

[0076] S240: The original transmitted image is obtained by synthesizing the image sequence. The image sequence includes: the first color image, the second color image, and the third color image of the original transmitted image.

[0077] S250: Receives multiple raw transmitted images to generate raw transmitted video.

[0078] Specifically, in S210: receiving transmission information and extracting multiple coded images from the transmission information, the coded images include a first coded image, a second coded image, and a third coded image, with the decoding method corresponding to the encoding method and protocol used by the sending end when generating the transmission information. Thus, the first coded image, the second coded image, and the third coded image are obtained.

[0079] In some embodiments, the time frame of the original transmitted image corresponding to the first coded image, the second coded image and the third coded image in the original transmitted video can also be obtained through transmission information. The time frame represents the position information of the original transmitted image corresponding to the color image obtained after the coded image is decoded according to a preset decoding method in the original transmitted video.

[0080] In S220: Each encoded image is decoded according to a preset decoding method to obtain a color image. The color image includes: the first color image of the first encoded image, the second color image of the second encoded image, and the third color image of the third encoded image. The preset decoding method corresponds to the preset encoding method used in the video transmission method described above to encode the first color image, the second color image, and the third color image to obtain the first encoded image, the second encoded image, and the third encoded image. For example, it can be an existing compression method such as H.264, H.265, or JPEG. Preferably, H.264 or H.265 format is used for encoding.

[0081] In some embodiments, the decoded first color image, second color image, and third color image are the same as in the video transmission method described above, representing the Y, U, and V components of a YUV444 image, respectively. The first color image, second color image, and third color image are all YUV400 format images. Similar to the transmission method, the first color image, second color image, and third color image can also be images representing the RGB color components.

[0082] In S230, where multiple color images are stored in a buffer and aligned within the buffer to obtain at least one image sequence, S220 and S230 can be executed by a second digital signal processor. The second digital signal processor includes three channels: the first color image is processed by the first channel, the second color image by the second channel, and the third color image by the third channel. In some embodiments, no time frame is obtained in S210, therefore the color images need to be sorted to control the speed at which each color image enters and exits the second digital signal processor. This ensures that all color images belonging to the same original transmitted image are input to the second digital signal processor and aligned to obtain an image sequence before a color image belonging to another original transmitted image is input to the second digital signal processor. This is because the time it takes to obtain the first, second, and third color images from the first, second, and third coded images is uncertain; there may be a situation where a color image belonging to the previous frame has not yet been output when a color image belonging to the next frame has already been output. If the input is not controlled, the image sequence will become disordered, and the image sequence may contain color images belonging to different original transmitted images.

[0083] The image sequence in this application refers to an image group consisting of a first color image, a second color image, and a third color image belonging to the same original transmitted image. In S230, the three color images need to be integrated into an image sequence and then output together from the second digital signal processor. This is because when the second digital signal processor generates color images, factors such as internal scheduling and buffering may cause the output signals to REPEAT (repeat the previous frame) or LOST (discard a frame), or the start times of the output signals may differ, resulting in significant deviations in the start times of the three channels of the second digital signal processor. Due to the continuous nature of video signal decoding, when the above problems occur, the images from the three channels of the second digital signal processor will not be output synchronously for a considerable period of time. Therefore, a buffer needs to be designed to ensure that the three color images belonging to the same original transmitted image can be output only after alignment to obtain an image sequence.

[0084] In other embodiments, a time frame is obtained in step S210 to resolve the potential chaos in the image sequence described above. The second digital signal processor used to execute S230 sets up a first buffer and a second buffer, aligning the color images by alternately writing them to different buffers based on time frames. Therefore, in some embodiments, before executing S230, the following needs to be performed:

[0085] S231: Decode a time frame from the encoded image. The time frame represents the position information of the original transmitted image corresponding to the color image obtained after the encoded image is decoded according to the preset decoding method in the original transmitted video.

[0086] S232: Add a time frame flag bit to the first color image, the second color image and the third color image according to the time frame;

[0087] The time frame flag can be a line of data added to the color image, and the information carried by the time frame flag is consistent with the time frame obtained from the decoded transmission information. The setting of the time frame flag also includes the following in S230:

[0088] S233: The color images are stored alternately in the first buffer and the second buffer;

[0089] S234: Select color images with the same time frame flag bit from the first buffer and the second buffer to form an image sequence. Figure 6 This is a schematic diagram of the buffering mechanism according to an embodiment of this application. (Reference) Figure 6 The received color image is buffered in a first buffer and a second buffer by a second digital signal processor. The second digital signal processor alternately places the received color image into the first buffer and the second buffer. For example, in... Figure 6 In this embodiment, the first channel first receives the first color image at the Nth time frame flag and places it into the second buffer. Then, it receives the first color image at the (N+1)th time frame flag and places it into the first buffer. Further, it receives the first color image at the (N+2)th time frame flag and places it into the second color image according to an alternating placement principle. The first, second, and third color images with the same time frame in the first and second buffers of the three channels are selected to align and output an image sequence.

[0090] It should be noted that, Figure 6 The second color image of the N-1th time frame flag bit in the second buffer has actually been output, but it is shown schematically for the purpose of better illustrating the method of the embodiments of this application.

[0091] In some embodiments, to better align the image sequence, the output interface of the second digital signal processor can be called at a preset period to output the first color image, the second color image, and the third color image of the time frame flag, thereby obtaining the image sequence. The preset period can be set according to the frame rate of the original transmitted video. For example, for an original transmitted image with a frame rate of 60fps, the interface can be called once every 16.7ms to output the color image, ensuring stable output from the output port of the second digital signal processor.

[0092] In other embodiments, due to internal logic of the second digital signal processor, the data in the time frame flag may be offset. For example, the time frame flag includes multiple bytes for storing data, one of which stores the data 210. Due to the influence of the second digital signal processor, when converting the encoded image into a color image, the data in this byte may shift slightly, for example, from 210 to 216. In this case, since the time frame flags attached to other color images have not changed or have changed inconsistently, the second digital signal processor cannot find a color image with the same time frame flag.

[0093] To address the aforementioned offset issue, step S232 of this application, which involves adding a time frame flag bit to the first color image, the second color image, and the third color image based on the time frame, may include: setting the Mth bit of the time frame flag bit to the first flag when the Mth byte of the time frame is greater than or equal to a first threshold; and setting the Mth bit of the time frame flag bit to the second flag when the Mth byte of the time frame is less than the first threshold.

[0094] Figure 7 This is a schematic diagram illustrating the setting of the time frame flag bit in an embodiment of this application. (Reference) Figure 7 ,exist Figure 7 The first threshold is 0, the first flag is 1, and the second flag is 0. Therefore, when the number represented by the Mth byte is greater than or equal to 0, the time frame flag is set to 1; similarly, when the number represented by the Mth byte is less than 0, the time frame flag is set to 0. For example, in... Figure 7 In the time frame, the first byte stores the data 137, which is greater than 0. Therefore, the corresponding flag in the time frame flag is set to 1. The third byte stores the data -210, which is less than 0. Therefore, the corresponding flag in the time frame flag is set to 0. By using this method, since the offset range of the time frame is small, representing one byte of the time frame with one bit can eliminate the impact of data offset during decoding on color image alignment, reducing the probability of assembly errors and preventing errors. The second digital signal processor can determine whether different color images belong to the same original transmitted image based on the time frame flag.

[0095] It is important to note that the setting of the first threshold is related to the second digital signal processor itself and the encoding method. Therefore, different first thresholds should be selected for different second digital signal processors and encoding methods to ensure that data offsets in the time frame do not exceed the first threshold. In some embodiments, since the above method is executed by a general-purpose processor, no data offset occurs, so the time frame can be directly used as the time frame flag. The first and second flags can also be freely set according to different computer systems; for example, the first flag can be 0 and the second flag can be 1.

[0096] Further, S240: Image synthesis is performed based on the image sequence to obtain the original transmitted image. The image sequence includes: the first color image, the second color image, and the third color image of the original transmitted image, including:

[0097] The first color image is converted into a first color component, and the first color component represents the brightness information of the original transmitted image;

[0098] The second color image is converted into a second color component, which represents the chromaticity information of the original transmitted image;

[0099] The third color image is converted into a third color component, which represents the density information of the original transmitted image;

[0100] The original transmitted image is obtained by synthesizing the first color component, the second color component, and the third color component.

[0101] S240 can be executed by a second logic chip, which may include three decoders. These three decoders simultaneously convert the first color image into its first color component, the second color image into its second color component, and the third color image into its third color component, thus completing the synthesis of the original transmitted image. Specifically, it can stitch together three YUV400 grayscale images to obtain a YUV444 image.

[0102] In an embodiment where a time frame flag has been added to the first color image, the second color image, and the third color image, step S240 also requires removing the time frame flag from the first color image, the second color image, and the third color image.

[0103] In S250: receiving multiple original transmitted images to generate the original transmitted video, different generation methods can be adopted according to different embodiments. In embodiments where time frames are received, the original transmitted images can be stitched together in the order of the time frames to generate the original transmitted video. In embodiments where time frames are not obtained, the original transmitted images can be sequentially generated into the original transmitted video according to the output order of S240.

[0104] Based on the aforementioned video transmission and reception methods, this application proposes a video transmission system, including a transmitter and a receiver. The transmitter includes a first logic chip, a first digital signal processor, and a first main processor. The receiver includes a second digital processor, a second main processor, and a second logic chip. The first main processor is connected to the first logic chip and the first digital signal processor, respectively. The second main processor is connected to the second logic chip and the second digital signal processor, respectively. The first main processor and the second main processor are communicatively connected. The first logic chip is used to obtain an original transmitted image based on the original transmitted video and convert the original transmitted image into a preset image format to obtain a converted transmitted image. The first logic chip is also used to split the converted transmitted image according to color information to obtain multiple color images, including a first color image, a second color image, and a third color image. The first digital signal processor is used to encode the multiple color images according to a preset encoding method to obtain a first encoded image of the first color image, a second encoded image of the second color image, and a third encoded image of the third color image. The first main processor is used to... The system converts a first coded image, a second coded image, and a third coded image into transmission information. The first main processor is further configured to send the transmission information to the receiving end, enabling the receiving end to obtain the original transmission image and the original transmission video based on the transmission information. The second main processor is configured to receive the transmission information and extract multiple coded images from it, including the first coded image, the second coded image, and the third coded image. The second digital signal processor is configured to decode each coded image according to a preset decoding method to obtain a color image, including the first color image of the first coded image, the second color image of the second coded image, and the third color image of the third coded image. The second digital signal processor is further configured to store the multiple color images in a buffer and perform image alignment on the color images in the buffer to obtain at least one image sequence. The second logic chip is configured to synthesize the images based on the image sequence to obtain the original transmission image, including the first color image, the second color image, and the third color image of the original transmission image. The second logic chip is further configured to receive multiple original transmission images to generate the original transmission video. This video transmission system can be integrated with... Figure 1 This corresponds to the video transmission system.

[0105] In one embodiment of the above implementation, the original transmitted video is converted into a YUV444 image, and then split into three color components (Y, U, V) to form three corresponding YUV400 images. These images are then encoded in grayscale and transmitted. At the receiving end, the images are decoded and reassembled to generate a new YUV444 image. This reduces the bitrate and ensures that the original transmitted video output at the receiving end is visually lossless. Furthermore, the above implementation can be achieved using existing digital signal processors and logic chips, eliminating the need for additional decoding chips and reducing costs. Further, by setting a time frame flag, the logic problem at the receiving end when stitching YUV400 images is solved, increasing stitching speed and reducing the probability of stitching errors. Additionally, by using one bit of the time frame flag to represent one byte of the time frame, the data offset problem caused by decoding in the logic chip is eliminated.

[0106] In addition, such as Figure 8 As shown in the figure, this application embodiment also proposes a video transmission device 100, including: an original transmission image acquisition module 101, used to acquire the original transmission video and acquire the original transmission image based on the original transmission video; a converted transmission image acquisition module 102, used to convert the original transmission image into a preset image format to acquire a converted transmission image; a color image acquisition module 103, used to split the converted transmission image according to color information to obtain multiple color images, the color images including: a first color image, a second color image and a third color image; an encoded image acquisition module 104, used to encode the multiple color images according to a preset encoding method to obtain a first encoded image of the first color image, a second encoded image of the second color image and a third encoded image of the third color image; a transmission information conversion module 105, used to convert the first encoded image, the second encoded image and the third encoded image into transmission information; and a transmission information transmission module 106, used to send the transmission information to a receiving end so that the receiving end can obtain the original transmission image based on the transmission information and obtain the original transmission video based on the original transmission image.

[0107] In addition, such as Figure 9 As shown in the figure, this application also proposes a video receiving device 200, including:

[0108] The transmission information receiving module 201 is used to receive transmission information and extract multiple encoded images from the transmission information. The encoded images include a first encoded image, a second encoded image, and a third encoded image. The decoding module 202 is used to decode each encoded image according to a preset decoding method to obtain a color image. The color image includes a first color image of the first encoded image, a second color image of the second encoded image, and a third color image of the third encoded image. The color image alignment module 203 is used to store the multiple color images in a buffer and perform image alignment on the color images in the buffer to obtain at least one image sequence. The original transmission image synthesis module 204 is used to synthesize images according to the image sequence to obtain an original transmission image. The image sequence includes a first color image, a second color image, and a third color image belonging to the same original transmission image. The original transmission video generation module 205 is used to receive multiple original transmission images to generate an original transmission video.

[0109] This application also provides a computer-readable storage medium, which includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other memory technologies, CD-ROM (Compact Disc Read-Only Memory), DVD or other optical disc storage, magnetic cartridges, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible by a computer.

[0110] Those skilled in the art should understand that all or some of the steps, systems, and devices disclosed above, as well as the functional modules / units, can be implemented as software (using computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. It should be understood that references such as "one embodiment" or "some embodiments" in the specification of embodiments of this application mean that one or more embodiments of the embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms “comprising,” “including,” “having,” and variations thereof all mean “including but not limited to,” unless otherwise specifically emphasized in the description of the embodiments of this application. Unless otherwise expressly limited, terms such as “setting,” “installing,” and “connecting” should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in the embodiments of this application in conjunction with the specific content of the technical solution.

[0111] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention.

Claims

1. A video sending method applied to a sending end, characterized in that, The method comprises: obtaining an original transmission video and an original transmission image according to the original transmission video; wherein the obtaining an original transmission video and an original transmission image according to the original transmission video comprises: acquiring each frame of the original transmission image in the original transmission video and position information of the original transmission image; generating a time frame according to the position information, the time frame being used to represent the corresponding relationship between the position information and the original transmission image; converting the original transmission image into a preset image format to obtain a converted transmission image, the preset image format being YUV444 format; splitting the converted transmission image according to color information to obtain a plurality of color images, the color images comprising: a first color image, a second color image and a third color image; encoding the plurality of color images according to a preset encoding mode to obtain a first encoded image of the first color image, a second encoded image of the second color image and a third encoded image of the third color image; converting the first encoded image, the second encoded image and the third encoded image into transmission information; wherein the converting the first encoded image, the second encoded image and the third encoded image into transmission information comprises: acquiring the time frame corresponding to the original transmission image; adding the time frame into the first encoded image, the second encoded image and the third encoded image respectively, thereby obtaining transmission information; sending the transmission information to a receiving end, so that the receiving end can obtain the original transmission image according to the transmission information, and obtain the original transmission video according to the original transmission image.

2. The video transmission method of claim 1, wherein, The color information comprises brightness information, chroma information and concentration information, the splitting the converted transmission image according to color information to obtain a plurality of color images, the color images comprising: a first color image, a second color image and a third color image, comprising: extracting a first color component of the converted transmission image according to the brightness information, and converting the first color component into a first color image; extracting a second color component of the converted transmission image according to the chroma information, and converting the second color component into a second color image; extracting a third color component of the converted transmission image according to the concentration information, and converting the third color component into a third color image.

3. A video receiving method applied to a receiving end, comprising: The method comprises: receiving transmission information and extracting a plurality of encoded images from the transmission information, the encoded images comprising: a first encoded image, a second encoded image and a third encoded image; decoding each of the encoded images according to a preset decoding mode to obtain color images, the color images comprising: a first color image of the first encoded image, a second color image of the second encoded image and a third color image of the third encoded image; The multiple color images are stored in a buffer, a time frame is obtained by decoding from the encoded image, the time frame represents position information of the original transmission image corresponding to the color image in the original transmission video; a time frame flag bit is added in the first color image, the second color image and the third color image according to the time frame; wherein one byte in the time frame corresponds to one flag bit of the time frame flag bit, and the flag bit includes a first flag and a second flag; The adding of the time frame flag bit in the first color image, the second color image and the third color image according to the time frame includes: adding the time frame flag bit in the first color image, the second color image and the third color image; when the Mth byte of the time frame is greater than or equal to a first threshold, the Mth bit of the time frame flag bit is set as the first flag; when the Mth byte of the time frame is less than the first threshold, the Mth bit of the time frame flag bit is set as the second flag; And image alignment is performed on the color images in the buffer to obtain at least one image sequence, wherein the buffer includes a first buffer and a second buffer, and the storing of the multiple color images in the buffer and the image alignment of the color images in the buffer to obtain at least one image sequence includes: alternately storing the color images in the first buffer and the second buffer; selecting the color images with the same time frame flag bit from the first buffer and the second buffer to form an image sequence; Original transmission images are obtained by image synthesis according to the image sequence, and the image sequence includes the first color image, the second color image and the third color image belonging to the same original transmission image; Original transmission videos are generated by receiving multiple original transmission images.

4. The video receiving method of claim 3, wherein, The image synthesis of the original transmission images according to the image sequence includes: The time frame flag bits in the first color image, the second color image and the third color image are removed; The first color image is converted into a first color component, and the first color component represents brightness information of the original transmission image; The second color image is converted into a second color component, and the second color component represents chroma information of the original transmission image; The third color image is converted into a third color component, and the third color component represents concentration information of the original transmission image; The original transmission images are obtained by synthesis according to the first color component, the second color component and the third color component.

5. A video transmission system comprising a transmitting end and a receiving end, characterized in that The sending end includes a first logic chip, a first digital signal processor and a first main processor, and the receiving end includes a second digital signal processor, a second main processor and a second logic chip; The first main processor is connected with the first logic chip and the first digital signal processor respectively, the second main processor is connected with the second logic chip and the second digital signal processor respectively, and the first main processor and the second main processor are in communication connection; The first logic chip is configured to obtain original transmission images from original transmission video, and convert the original transmission images into preset image formats to obtain converted transmission images; wherein, the original transmission video is obtained, and the original transmission images are obtained from the original transmission video, including: acquiring each original transmission image in the original transmission video and position information of the original transmission images; generating a time frame according to the position information, the time frame being used to represent the corresponding relationship between the position information and the original transmission images; and the preset image format being YUV444 format; The first logic chip is further configured to split the converted transmission images according to color information to obtain a plurality of color images, including: a first color image, a second color image and a third color image; The first digital signal processor is configured to encode the plurality of color images according to preset encoding modes to obtain a first encoded image of the first color image, a second encoded image of the second color image and a third encoded image of the third color image; The first main processor is configured to convert the first encoded image, the second encoded image and the third encoded image into transmission information; wherein, the conversion of the first encoded image, the second encoded image and the third encoded image into transmission information includes: acquiring the time frame corresponding to the original transmission images; and adding the time frame into the first encoded image, the second encoded image and the third encoded image respectively to obtain transmission information; The first main processor is further configured to send the transmission information to the second main processor of the receiving end; The second main processor is configured to receive the transmission information, and extract a plurality of encoded images from the transmission information; The second digital signal processor is configured to decode each encoded image according to a preset decoding mode to obtain the color images; The second digital signal processor is further configured to store the plurality of color images in a buffer, decode the encoded images to obtain a time frame, the time frame representing the position information of the original transmission images corresponding to the color images in the original transmission video; and add a time frame flag bit into the first color image, the second color image and the third color image according to the time frame; wherein, one byte in the time frame corresponds to one flag bit in the time frame flag bit, and the flag bit includes a first flag and a second flag; The adding of the time frame flag bit into the first color image, the second color image and the third color image according to the time frame includes: adding the time frame flag bit into the first color image, the second color image and the third color image; when the Mth byte of the time frame is greater than or equal to a first threshold value, setting the Mth bit of the time frame flag bit as the first flag; and when the Mth byte of the time frame is less than the first threshold value, setting the Mth bit of the time frame flag bit as the second flag. The second digital signal processor is further configured to perform image alignment on the color images in the buffer to obtain at least one image sequence; wherein the buffer comprises a first buffer and a second buffer, and the storing of the color images in the buffer and the performing of image alignment on the color images in the buffer to obtain at least one image sequence comprises: storing the color images in the first buffer and the second buffer alternately; and selecting the color images with the same time frame flag from the first buffer and the second buffer to form an image sequence; The second logic chip is configured to perform image synthesis on the image sequence to obtain the original transmission image; The second logic chip is further configured to receive a plurality of original transmission images to generate the original transmission video.

6. A video transmission apparatus characterized by comprising: Comprise: An original transmission image acquisition module is configured to obtain an original transmission video, and obtain an original transmission image according to the original transmission video; wherein the obtaining of the original transmission video and the original transmission image according to the original transmission video comprises: acquiring each frame of original transmission image in the original transmission video and position information of the original transmission image; and generating a time frame according to the position information, wherein the time frame is used to represent the corresponding relationship between the position information and the original transmission image; An original transmission image acquisition module is configured to obtain an original transmission video, and obtain an original transmission image according to the original transmission video; wherein the obtaining of the original transmission video and the original transmission image according to the original transmission video comprises: acquiring each frame of original transmission image in the original transmission video and position information of the original transmission image; and generating a time frame according to the position information, wherein the time frame is used to represent the corresponding relationship between the position information and the original transmission image; A color image acquisition module is configured to split the converted transmission image according to color information to obtain a plurality of color images, wherein the color images comprise a first color image, a second color image and a third color image; An encoding image acquisition module is configured to encode the plurality of color images according to a preset encoding mode to obtain a first encoding image of the first color image, a second encoding image of the second color image and a third encoding image of the third color image; A transmission information conversion module is configured to convert the first encoding image, the second encoding image and the third encoding image into transmission information; wherein the conversion of the first encoding image, the second encoding image and the third encoding image into transmission information comprises: acquiring the time frame corresponding to the original transmission image; and adding the time frame into the first encoding image, the second encoding image and the third encoding image respectively, so as to obtain transmission information; A transmission information sending module is configured to send the transmission information to a receiving end, so that the receiving end can obtain the original transmission image according to the transmission information, and obtain the original transmission video according to the original transmission image.

7. A video receiving apparatus characterized by comprising: Comprise: A transmission information receiving module is configured to receive transmission information, and extract a plurality of encoding images from the transmission information, wherein the encoding images comprise a first encoding image, a second encoding image and a third encoding image; a decoding module, configured to decode each of the encoded images according to a preset decoding mode to obtain color images, the color images including a first color image of the first encoded image, a second color image of the second encoded image, and a third color image of the third encoded image; a color image alignment module, configured to store the color images in a buffer, to obtain a time frame from the encoded images, the time frame representing position information of an original transmission image corresponding to the color images in an original transmission video, and to add a time frame flag bit in the first color image, the second color image, and the third color image according to the time frame; wherein one byte in the time frame corresponds to one flag bit of the time frame flag bit, the flag bit includes a first flag and a second flag, and the adding of the time frame flag bit in the first color image, the second color image, and the third color image according to the time frame includes adding the time frame flag bit in the first color image, the second color image, and the third color image, setting an Mth bit of the time frame flag bit as the first flag when an Mth byte of the time frame is greater than or equal to a first threshold, and setting the Mth bit of the time frame flag bit as the second flag when the Mth byte of the time frame is less than the first threshold; the color image alignment module is further configured to perform image alignment on the color images in the buffer to obtain at least one image sequence, wherein the buffer includes a first buffer and a second buffer, and the storing of the color images in the buffer and the performing of the image alignment on the color images in the buffer to obtain the at least one image sequence include: interleavingly storing the color images in the first buffer and the second buffer, and selecting the color images having the same time frame flag bit from the first buffer and the second buffer to form an image sequence; an original transmission image synthesis module, configured to perform image synthesis according to the image sequence to obtain an original transmission image, the image sequence including the first color image, the second color image, and the third color image belonging to the same original transmission image; an original transmission video generation module, configured to receive a plurality of the original transmission images to generate an original transmission video.

8. A storage medium, characterized by The storage medium is a readable storage medium, and the readable storage medium stores a computer program, the computer program being used to enable a computer to execute the video sending method in any one of claims 1 to 2 or the video receiving method in any one of claims 3 to 4. 9.An electronic device, comprising a memory, a processor, a communication bus, a communication interface, and a computer program stored in the memory and executable on the processor, wherein the communication bus is configured to realize connection communication between the processor and the memory; the processor realizes the video sending method in any one of claims 1 to 2 or the video receiving method in any one of claims 3 to 4 when executing the computer program.

Citation Information

Patent Citations

  • Multi-channel decomposition and transmitting image technology

    CN104427340A

  • Image compression method

    JP2000224425A