Video transmission method and transmission system for outdoor large screen
Through the collaborative work of the encoder and decoder, the buffer capacity is adjusted in real time and key frames are decoded first, which solves the problems of network fluctuations and equipment performance limitations in outdoor large-screen video transmission, and achieves efficient video transmission and stable display.
Patent Information
- Application Number
- CN202411020980.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Video transmission for outdoor large screens faces network bandwidth fluctuations, signal interference, and equipment performance limitations, making it difficult to ensure video quality and transmission efficiency with traditional methods.
Through the collaborative work of the encoder and decoder, the network status is obtained in real time to adjust the buffer capacity, and key frames are added during the encoding process to prioritize decoding and transmission to ensure efficient caching and decoding of the video frame sequence.
It achieves efficient video transmission for outdoor large screens, improves video quality and user experience, reduces delays and video freezes, and ensures the continuity and stability of video streams.
Smart Images

Figure CN118764673A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of video transmission, and in particular to a video transmission method and a transmission system for outdoor large screens. Background Art
[0002] In the current field of video transmission technology, video transmission for outdoor large screens faces many challenges, especially in terms of ensuring video quality, transmission efficiency, and adapting to complex network environments. As an important information release platform, the display effect of outdoor large screens directly affects the efficiency of information transmission and the audience's viewing experience. However, due to the particularity of the outdoor environment, such as network bandwidth fluctuations, signal interference, and the performance limitations of the large screen device itself, traditional video transmission methods are often difficult to meet the needs.
[0003] Therefore, it is necessary to provide a video transmission method and a transmission system for outdoor large screens to solve the above technical problems. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a video transmission method and a transmission system for outdoor large screens, which realize efficient video transmission for outdoor large screens through the coordinated work of an encoder, a decoder and a buffer.
[0005] The present invention provides a video transmission method for an outdoor large screen, comprising an encoder, a decoder, and a buffer zone arranged between the encoder and the decoder. The transmission method comprises the following steps:
[0006] S1: encoding the received original video data through the encoder, and adding key frames during the encoding process to obtain a video frame sequence containing the key frames;
[0007] S2: acquiring the network status in real time, and adjusting the capacity of the buffer in real time according to the network status;
[0008] S3: receiving a video frame sequence encoded by the encoder, and buffering the video frame sequence in the buffer with adjusted capacity;
[0009] S4: reading a video frame sequence from a buffer, and decoding the key frame first by the decoder, and then sequentially decoding the remaining frames in the video frame sequence to obtain decoded video frame data;
[0010] S5: Send the decoded video frame data to the outdoor large screen for display.
[0011] Preferably, step S1 comprises the following steps:
[0012] S101: receiving original video data, and preprocessing the received original video data, wherein the preprocessing includes denoising and color correction;
[0013] S102: performing feature recognition on the pre-processed original video data, determining the key frame position, and independently encoding the key frame;
[0014] S103: differentially encode non-key frames in the original video data, and aggregate key frames to obtain a video frame sequence including key frames.
[0015] Preferably, step S2 comprises the following steps:
[0016] S201: Detecting the network status in real time through a network monitoring tool, wherein the network status includes bandwidth, delay, and packet loss rate;
[0017] S202: Evaluate the capacity requirement of the buffer zone according to the bandwidth, delay and packet loss rate in combination with a preset evaluation rule to obtain an evaluation result;
[0018] S203: According to the evaluation result, the capacity of the buffer is adjusted using a preset adjustment strategy to adapt to the real-time network status.
[0019] Preferably, step S3 comprises the following steps:
[0020] S301: receiving an encoded video frame sequence, and sorting the video frame sequence according to timestamps of the video frame sequence;
[0021] S302: Obtain the real-time capacity of the buffer after the capacity adjustment, and read the occupied capacity in the buffer;
[0022] S303: Based on a preset buffer management strategy, the sorted video frame sequence is cached according to the real-time capacity of the buffer after capacity adjustment and the occupied capacity.
[0023] Preferably, step S4 comprises the following steps:
[0024] S401: locating a key frame, and decoding the key frame by the decoder;
[0025] S402: Read non-key frames in the video frame sequence in frame order, and decode with reference to the decoded key frames;
[0026] S403: Merge the data after key frame decoding and non-key frame decoding to obtain decoded video frame data.
[0027] Preferably, step S5 comprises the following steps:
[0028] S501: performing data format conversion on the decoded video frame data, and organizing the video frame data after data format conversion into a video stream in sequence;
[0029] S502: Send the constructed video stream to the outdoor large screen through the transmission protocol and display it.
[0030] Preferably, before step S4, the method further comprises:
[0031] Check whether the video frame sequence cached in the buffer reaches a preset decoding condition, and if so, execute step S4, wherein the decoding condition is that the buffer reaches a full load state;
[0032] If not, continue to cache the video frame sequence until the cached video frame sequence meets the preset decoding condition.
[0033] The present invention also provides a video transmission system for outdoor large screens, which is used to execute the video transmission method for outdoor large screens, including an encoder, a decoder, and a buffer zone between the encoder and the decoder. The transmission system includes:
[0034] A video encoding module, used to encode the received original video data through the encoder, and add key frames during the encoding process to obtain a video frame sequence containing the key frames;
[0035] A network status acquisition module, used to acquire the network status in real time and adjust the capacity of the buffer in real time according to the network status;
[0036] A cache module, used for receiving the video frame sequence encoded by the encoder, and caching the video frame sequence in the buffer with adjusted capacity;
[0037] A decoding module, used for reading a video frame sequence from a buffer, and preferentially decoding the key frame through the decoder, and then sequentially decoding the remaining frames in the video frame sequence to obtain decoded video frame data;
[0038] The display module is used to send the decoded video frame data to an outdoor large screen for display.
[0039] Compared with the related art, the video transmission method and transmission system for outdoor large screen provided by the present invention have the following beneficial effects:
[0040] The present invention encodes the received original video data through the encoder, and adds key frames during the encoding process to obtain a video frame sequence containing key frames; obtains the network status in real time, and adjusts the capacity of the buffer in real time according to the network status; receives the video frame sequence encoded by the encoder, and caches the video frame sequence in the buffer after the capacity is adjusted; reads the video frame sequence from the buffer, and preferentially decodes the key frames through the decoder, and then sequentially decodes the remaining frames in the video frame sequence to obtain decoded video frame data; sends the decoded video frame data to an outdoor large screen for display. The present invention realizes efficient video transmission for outdoor large screens through the coordinated work of the encoder, decoder and buffer. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flowchart of a video transmission method for an outdoor large screen provided by the present invention;
[0042] Figure 2 A module structure diagram of a video transmission system for outdoor large screens provided by the present invention. DETAILED DESCRIPTION
[0043] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings. In addition, the embodiments of the present invention and the features in the embodiments may be combined with each other without conflict.
[0044] It should also be noted that, for ease of description, only the part relevant to the present invention but not all the content is shown in the accompanying drawings. It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as the processing or method described as a flow chart. Although the flow chart describes each operation (or step) as being processed sequentially, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0045] Embodiment 1
[0046] The present invention provides a video transmission method for outdoor large screens, including an encoder, a decoder, and a buffer zone between the encoder and the decoder. Figure 1 As shown, the transmission method includes the following steps:
[0047] S1: Encode the received original video data through the encoder, and add key frames during the encoding process to obtain a video frame sequence containing the key frames.
[0048] In this embodiment, an efficient encoding format suitable for outdoor large-screen playback is selected, including but not limited to H.264 or H.265, etc. These encoding formats can reduce bandwidth requirements while ensuring image quality.
[0049] During the encoding process, key frames (I frames) are inserted at regular intervals (e.g., every few seconds). A key frame is a complete image frame that can be decoded without relying on other frames.
[0050] According to the resolution, refresh rate and other characteristics of the outdoor large screen, adjust the encoder parameters such as bit rate, resolution, frame rate, etc. to ensure a balance between video quality and transmission efficiency.
[0051] By inserting key frames, the video stream can be quickly resumed when the network is unstable. The optimization of encoding parameters can reduce the bandwidth required for transmission, reduce latency, and improve video quality.
[0052] S2: Acquire the network status in real time, and adjust the capacity of the buffer in real time according to the network status.
[0053] In this embodiment, a network monitoring tool is used to monitor the network status in real time. When the network status is good, the buffer size is reduced to reduce delay; when the network status deteriorates, the buffer size is increased to cope with possible data loss.
[0054] Dynamically adjusting the buffer can effectively reduce video freezes caused by network fluctuations, reduce latency, and improve user experience.
[0055] S3: Receive the video frame sequence encoded by the encoder, and cache the video frame sequence in the buffer with adjusted capacity.
[0056] In this embodiment, a cache management mechanism is used to ensure that video frames can be stored in order and processed in a timely manner, and received data packets are checked, such as CRC (cyclic redundancy check), to ensure data integrity and accuracy, thereby improving data reliability and integrity. Orderly cache management facilitates subsequent decoding processes.
[0057] S4: Reading a video frame sequence from a buffer, and decoding the key frame first by the decoder, and then sequentially decoding the remaining frames in the video frame sequence to obtain decoded video frame data.
[0058] In this embodiment, the decoder first decodes the key frames, because the key frames are independent image frames and do not depend on other frames. After the key frames are decoded, the decoder decodes non-key frames (P frames and B frames) in sequence. These frames depend on the information of the previous and next frames to maintain synchronization between decoding and playback and avoid problems such as screen tearing.
[0059] The key frame priority decoding strategy improves the smoothness and stability of video playback, and the synchronization control ensures the quality of video playback.
[0060] S5: Send the decoded video frame data to the outdoor large screen for display.
[0061] In this embodiment, an output interface suitable for an outdoor large screen, such as HDMI or SDI, is used to adjust parameters such as color space, brightness, and contrast of the video output to adapt to the lighting conditions of the outdoor environment.
[0062] It ensures the video playback quality and viewing experience on the outdoor large screen and adapts to the display effects under different lighting conditions.
[0063] Specifically, step S1 includes the following steps:
[0064] S101: receiving original video data, and preprocessing the received original video data, wherein the preprocessing includes denoising and color correction.
[0065] In this embodiment, an advanced filtering algorithm (such as bilateral filtering, median filtering, etc.) is used to remove noise in the original video and improve the video quality. For high-frequency noise, a Gaussian blur filter can be used for processing; and for low-frequency noise, a median filter or other nonlinear filters can be used.
[0066] Adjust the color space of the video according to the display characteristics of the outdoor large screen and the ambient lighting conditions to ensure color accuracy and saturation. You can use color correction algorithms, such as white balance adjustment and color matrix transformation, to improve the visual effect of the video.
[0067] De-noising improves the clarity and detail retention of the video, reduces the amount of data during transmission, and color correction ensures that the video display on the outdoor large screen is more realistic and natural.
[0068] S102: Perform feature recognition on the pre-processed original video data, determine the key frame position, and independently encode the key frame.
[0069] In this embodiment, significant change points in the video are identified using methods including but not limited to motion vector analysis methods and edge detection methods. These change points usually correspond to scene transitions or the occurrence of important actions.
[0070] Based on the results of feature recognition, key frames are inserted into the video stream periodically (e.g., every 5 seconds) or based on specific events (e.g., scene changes). The selection of key frames needs to take into account the relevance and importance of the content to ensure that playback can be quickly resumed after a transmission interruption.
[0071] A key frame is encoded as a complete image frame and does not rely on information from other frames. A higher bit rate can be selected to ensure high quality of key frames, providing a better visual experience during playback.
[0072] Feature recognition ensures the reasonable distribution of key frames, improves the recoverability and smoothness of the video, and the independent encoding of key frames enhances the recovery ability of the video stream when the network is unstable.
[0073] S103: differentially encode non-key frames in the original video data, and aggregate key frames to obtain a video frame sequence including key frames.
[0074] In this embodiment, non-key frames (P frames and B frames) use differential coding technology, that is, only the changed parts relative to the previous frame or the previous and next frames are encoded, which can greatly reduce the amount of transmitted data.
[0075] During the encoding process, key frames are processed separately from other non-key frames to ensure that key frames can be transmitted and decoded first. At the same time, ensure that there is enough interval between key frames so that the nearest key frame can be quickly found for playback recovery when transmission is interrupted.
[0076] All frames are aggregated into a video frame sequence in the encoding order to ensure that the positions of key frames conform to predetermined rules for subsequent transmission and decoding.
[0077] Differential coding technology reduces the amount of data transmitted and improves transmission efficiency. The aggregation and reasonable distribution of key frames ensure the continuity and smoothness of video playback.
[0078] Specifically, step S2 includes the following steps:
[0079] S201: Detecting the network status in real time through a network monitoring tool, wherein the network status includes bandwidth, delay and packet loss rate.
[0080] In this embodiment, a real-time network monitoring tool (such as network performance monitoring software or dedicated hardware equipment) is used to continuously collect network status information, including but not limited to available bandwidth, end-to-end delay, and packet loss rate. The monitoring tool should collect this data at a sufficiently high frequency (for example, every second or shorter time interval) to ensure that it can respond to changes in network status in a timely manner and record the data obtained from each monitoring for subsequent analysis and decision-making.
[0081] Real-time monitoring of network status can quickly capture changes in network conditions and provide a basis for the next buffer adjustment.
[0082] S202: Evaluate the capacity requirement of the buffer zone according to the bandwidth, delay and packet loss rate in combination with preset evaluation rules to obtain an evaluation result.
[0083] In this embodiment, an evaluation rule is set to determine the minimum and maximum capacity of the buffer according to different combinations of network states. For example, if a high packet loss rate and a long delay are detected, it is recommended to increase the buffer capacity to avoid video playback interruption.
[0084] The recommended buffer capacity is automatically calculated based on the current network status (bandwidth, latency, packet loss rate). At the same time, thresholds are set for different network conditions. For example, when the packet loss rate reaches a certain percentage, the increase in buffer capacity is triggered. Conversely, when the network condition is good, the buffer capacity can be appropriately reduced to reduce latency.
[0085] S203: According to the evaluation result, the capacity of the buffer is adjusted using a preset adjustment strategy to adapt to the real-time network status.
[0086] In this embodiment, an adjustment strategy is formulated according to the evaluation results. For example, when the evaluation results show that the buffer capacity needs to be increased, this can be achieved by increasing the size of the buffer, otherwise the size of the buffer can be reduced.
[0087] In order to avoid playback problems caused by sudden changes in the buffer capacity, the buffer size can be gradually changed in a smooth adjustment manner, for example, gradually increasing or decreasing according to a certain ratio.
[0088] Dynamically adjusting the buffer capacity can effectively reduce video freezes and improve the user viewing experience.
[0089] Specifically, step S3 includes the following steps:
[0090] S301: Receive an encoded video frame sequence, and sort the video frame sequence according to timestamps of the video frame sequence.
[0091] In this embodiment, a video frame sequence sent by an encoder is received through a network. Each video frame contains a timestamp indicating its position in the original video stream. After receiving the video frame, each video frame is inserted into an appropriate queue or array according to its timestamp, ensuring that the video frames are arranged in the time order of the original video stream.
[0092] Timestamp ordering ensures that video frames can be decoded and played in the correct order, thus avoiding confusion of video content.
[0093] S302: Acquire the real-time capacity of the buffer after capacity adjustment, and read the occupied capacity in the buffer.
[0094] In this embodiment, the current capacity of the buffer is queried periodically, which can be obtained by accessing the buffer management module or directly reading the metadata of the buffer, and counting the amount of data already in the buffer, that is, the space occupied by the cached video frames.
[0095] Real-time monitoring of the buffer capacity can help the system make timely adjustments to adapt to changes in network status.
[0096] S303: Based on a preset buffer management strategy, the sorted video frame sequence is cached according to the real-time capacity of the buffer after capacity adjustment and the occupied capacity.
[0097] In this embodiment, the buffer management strategy defines how to determine which video frames can be cached based on the current buffer capacity and occupied capacity. If the buffer has enough space, then continue to cache new video frames; if the buffer is close to full, stop caching new video frames until there is enough space. When the buffer is full, strategies such as first-in-first-out (FIFO) or least recently used (LRU) can be used to remove old video frames to make room for newly arrived video frames.
[0098] Through effective buffer management strategies, the continuity and smoothness of video playback can be ensured, while avoiding video playback interruptions caused by buffer overflow.
[0099] Specifically, step S4 includes the following steps:
[0100] S401: locate a key frame, and decode the key frame by the decoder.
[0101] In this embodiment, key frames (I frames) with special identifiers are searched in the buffer. These frames are marked during encoding to facilitate quick positioning, and the key frames are decoded using a decoder. Since the key frame is a complete image frame, it can be decoded directly without referring to information of other frames, ensuring that the key frames are always decoded before non-key frames to ensure smoothness and stability of video playback.
[0102] The key frame priority decoding strategy ensures the continuity and stability of video playback and can quickly resume playback even in poor network conditions.
[0103] S402: Read non-key frames in the video frame sequence in frame order, and decode them with reference to the decoded key frames.
[0104] In this embodiment, non-key frames (P frames and B frames) are read from the buffer in the time order of the video frame sequence. For each non-key frame, a corresponding reference frame is selected according to its encoding type (P frame or B frame). P frames usually refer to the previous key frame or the previous P frame, while B frames may refer to both the previous and next key frames. The non-key frames are decoded according to the selected reference frames using the differential coding principle. The decoder reconstructs the complete image frame based on the difference information between the non-key frame and the reference frame.
[0105] S403: Merge the data after key frame decoding and non-key frame decoding to obtain decoded video frame data.
[0106] In this embodiment, the decoded key frames and non-key frames are integrated together in chronological order to form a continuous video frame sequence, ensuring that the decoded video frames are consistent with the playback time, avoiding screen tearing or asynchrony problems, and preparing the decoded video frame data so that it can be sent to the outdoor large screen for display.
[0107] By integrating the decoded key frame and non-key frame data, the consistency and high quality of video playback can be ensured.
[0108] Specifically, step S5 includes the following steps:
[0109] S501: performing data format conversion on the decoded video frame data, and organizing the video frame data after data format conversion into a video stream in sequence.
[0110] In this embodiment, the decoded video frame data is converted from the internal format of the decoder to a format suitable for outdoor large-screen display. For example, if the decoder uses the YUV format and the outdoor large screen requires the RGB format, a color space conversion from YUV to RGB is required.
[0111] The converted video frame data is reorganized into a continuous video stream in chronological order to ensure that the playback order of the video frames is correct. In addition, some necessary metadata such as timestamp, frame rate and other information need to be added to ensure the correct playback of the video stream.
[0112] S502: Send the constructed video stream to the outdoor large screen through the transmission protocol and display it.
[0113] In this embodiment, a suitable transmission protocol, such as TCP / IP, UDP, RTSP, HLS, etc., is selected according to the technical specifications and network environment of the outdoor large screen, and the video stream is divided into data packets of appropriate size, and encapsulated according to the requirements of the selected transmission protocol. The encapsulated data packets are sent to the receiving end of the outdoor large screen through the network. After the outdoor large screen receives the video stream, it unpacks it and displays it on the screen.
[0114] Through efficient transmission protocols, it is ensured that the video stream can be delivered to the outdoor large screen in a timely and accurate manner, and display processing ensures that the video can be displayed clearly and stably on the outdoor large screen.
[0115] Specifically, before step S4, the method further includes:
[0116] Check whether the video frame sequence cached in the buffer reaches a preset decoding condition, and if so, execute step S4, wherein the decoding condition is that the buffer reaches a full load state;
[0117] If not, continue to cache the video frame sequence until the cached video frame sequence meets the preset decoding condition.
[0118] In this embodiment, the decoding start condition is set, such as the buffer reaches a certain full state (such as 80% or 90% capacity), or there are a certain number of key frames in the buffer (such as at least 2 key frames).
[0119] Periodically check the status of the buffer, including the length of the currently cached video frame sequence, the current capacity of the buffer, and whether there are enough key frames.
[0120] If the buffered video frame sequence meets a preset decoding condition (for example, the buffer reaches a preset full state), the decoding operation starts.
[0121] If the decoding condition is not currently met, the video frame sequence continues to be buffered until the decoding condition is met.
[0122] By waiting for the buffer to reach the preset decoding conditions, you can ensure that there is enough data for decoding, avoid decoding failure or video playback interruption due to insufficient data, and ensure that the decoding operation is performed when there is enough data support in the buffer, which helps to improve the smoothness and stability of video playback. By choosing the right decoding timing, you can optimize resource utilization, reduce unnecessary decoding operations, and improve the overall efficiency of the system.
[0123] The working principle of a video transmission method for outdoor large screens provided by the present invention is as follows:
[0124] First, video data needs to be encoded before transmission to reduce the amount of data and adapt to the limitations of network bandwidth. However, simple encoding often fails to fully retain the key information of the video, resulting in a decrease in video quality after decoding, affecting the viewing experience. Especially on outdoor large screens, the clarity and smoothness of the video are crucial. Therefore, adding key frames during the encoding process and ensuring that these key frames can be transmitted and decoded first have become important means to improve the quality of video transmission.
[0125] Secondly, the variability of the network environment is another major challenge facing outdoor video transmission. Due to the complexity and variability of the outdoor environment, parameters such as network bandwidth, latency, and packet loss rate are difficult to maintain stability. This requires the video transmission system to have the ability to obtain network status in real time and dynamically adjust the transmission strategy. By setting a buffer and adjusting its capacity in real time according to the network status, the impact of network fluctuations on video transmission can be alleviated to a certain extent, improving the stability and reliability of transmission.
[0126] In addition, the caching and decoding of video frame sequences are also key factors affecting the video transmission effect. After receiving the encoded video frame sequence, how to efficiently cache these frame data and give priority to key frames during decoding to ensure the coherence of video content and the rapid presentation of main information is an important problem that the video transmission system needs to solve. Traditional sequential decoding methods often cannot meet this requirement, so a more intelligent decoding strategy is needed.
[0127] Finally, the ultimate goal of the entire video transmission process is to accurately send the decoded video frame data to the outdoor large screen for display. This requires that the video transmission system must have the ability to communicate well with the large screen device and be able to perform appropriate format conversion and adaptation processing on the video data according to the performance characteristics and display requirements of the large screen device.
[0128] In summary, the present invention realizes efficient video transmission for outdoor large screens through the coordinated work of the encoder, the decoder and the buffer.
[0129] Embodiment 2
[0130] The present invention also provides a video transmission system for outdoor large screens, which is used to execute the video transmission method for outdoor large screens, including an encoder, a decoder, and a buffer zone between the encoder and the decoder. Figure 2 As shown, the transmission system includes:
[0131] The video encoding module 100 is used to encode the received original video data through the encoder, and add key frames during the encoding process to obtain a video frame sequence containing the key frames.
[0132] The network status acquisition module 200 is used to acquire the network status in real time and adjust the capacity of the buffer in real time according to the network status.
[0133] The cache module 300 is used to receive the video frame sequence encoded by the encoder and cache the video frame sequence in the buffer with adjusted capacity.
[0134] The decoding module 400 is used to read the video frame sequence from the buffer, and preferentially decode the key frame through the decoder, and then sequentially decode the remaining frames in the video frame sequence to obtain decoded video frame data.
[0135] The display module 500 is used to send the decoded video frame data to an outdoor large screen for display.
[0136] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0137] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0138] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also other elements that are not explicitly listed, or includes elements that are inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.
Claims
1. A video transmission method for outdoor large screens, characterized in that: The invention comprises an encoder, a decoder and a buffer zone between the encoder and the decoder, and the transmission method comprises the following steps: S1: encoding the received original video data through the encoder, and adding key frames during the encoding process to obtain a video frame sequence containing the key frames; S2: acquiring the network status in real time, and adjusting the capacity of the buffer in real time according to the network status; S3: receiving a video frame sequence encoded by the encoder, and buffering the video frame sequence in the buffer with adjusted capacity; S4: reading a video frame sequence from a buffer, and decoding the key frame first by the decoder, and then sequentially decoding the remaining frames in the video frame sequence to obtain decoded video frame data; S5: Send the decoded video frame data to the outdoor large screen for display.
2. A video transmission method for outdoor large screens according to claim 1, characterized in that: Step S1 includes the following steps: S101: receiving original video data, and preprocessing the received original video data, wherein the preprocessing includes denoising and color correction; S102: performing feature recognition on the pre-processed original video data, determining the key frame position, and independently encoding the key frame; S103: differentially encode non-key frames in the original video data, and aggregate key frames to obtain a video frame sequence including key frames.
3. A video transmission method for outdoor large screens according to claim 2, characterized in that: Step S2 includes the following steps: S201: Detecting the network status in real time through a network monitoring tool, wherein the network status includes bandwidth, delay, and packet loss rate; S202: Evaluate the capacity requirement of the buffer zone according to the bandwidth, delay and packet loss rate in combination with a preset evaluation rule to obtain an evaluation result; S203: According to the evaluation result, the capacity of the buffer is adjusted using a preset adjustment strategy to adapt to the real-time network status.
4. A video transmission method for outdoor large screens according to claim 3, characterized in that: Step S3 includes the following steps: S301: receiving an encoded video frame sequence, and sorting the video frame sequence according to timestamps of the video frame sequence; S302: Obtain the real-time capacity of the buffer after the capacity adjustment, and read the occupied capacity in the buffer; S303: Based on a preset buffer management strategy, the sorted video frame sequence is cached according to the real-time capacity of the buffer after capacity adjustment and the occupied capacity.
5. A video transmission method for outdoor large screens according to claim 4, characterized in that: Step S4 includes the following steps: S401: locating a key frame, and decoding the key frame by the decoder; S402: Read non-key frames in the video frame sequence in frame order, and decode them with reference to the decoded key frames; S403: Merge the data after key frame decoding and non-key frame decoding to obtain decoded video frame data.
6. A video transmission method for outdoor large screens according to claim 5, characterized in that: Step S5 includes the following steps: S501: performing data format conversion on the decoded video frame data, and organizing the video frame data after data format conversion into a video stream in sequence; S502: Send the constructed video stream to the outdoor large screen through the transmission protocol and display it.
7. A video transmission method for outdoor large screens according to claim 6, characterized in that: Before step S4, the method further includes: Check whether the video frame sequence cached in the buffer reaches a preset decoding condition, and if so, execute step S4, wherein the decoding condition is that the buffer reaches a full load state; If not, continue to cache the video frame sequence until the cached video frame sequence meets the preset decoding condition.
8. A video transmission system for outdoor large screens, used to execute a video transmission method for outdoor large screens as claimed in any one of claims 1 to 7, characterized in that: The transmission system includes an encoder, a decoder, and a buffer zone between the encoder and the decoder. The transmission system includes: A video encoding module, used to encode the received original video data through the encoder, and add key frames during the encoding process to obtain a video frame sequence containing the key frames; A network status acquisition module, used to acquire the network status in real time and adjust the capacity of the buffer in real time according to the network status; A cache module, used for receiving the video frame sequence encoded by the encoder, and caching the video frame sequence in the buffer with adjusted capacity; A decoding module, used for reading a video frame sequence from a buffer, and preferentially decoding the key frame through the decoder, and then sequentially decoding the remaining frames in the video frame sequence to obtain decoded video frame data; The display module is used to send the decoded video frame data to an outdoor large screen for display.
Citation Information
Patent Citations
Video caching method and device and readable storage medium
CN110312156A
Real-time communication transmission method and device and real-time communication processing method and device
CN112040232A
Video mirror image coding system for large screen mirror image transmission
CN204316654U
Inferred key frames for fast initiation of video coding sessions
US20130329798A1
Cited By
Remote real-time monitoring control system and method based on video monitoring camera
CN119893044A
Data sending method and device in weak network scene
CN119893155A
