A method and system for continuous storage of multi-channel UHD video frame accuracy
By receiving and processing multi-channel UHD SDI signals, automatically adjusting frame rate and resolution, embedding time code, and performing synchronous buffering and encoding, it solves the technical challenges of multi-channel UHD video storage and processing and achieves efficient and reliable video frame accuracy. Continuous storage.
Patent Information
- Application Number
- CN202411027787.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The storage and processing of multi-channel UHD video faces technical challenges such as large data volume, high real-time performance, difficulty in synchronization, storage reliability, and complexity of encoding and packaging. Existing technologies have shortcomings in real-time performance and synchronization accuracy or reliability.
By receiving multi-channel UHD SDI signals, separating audio and video signals, automatically adjusting frame rate and resolution, embedding LTC time code, synchronous buffering and encoding, real-time monitoring of video frame sequence integrity, encapsulation and storage, and file transmission Add a header and checksum to ensure data continuity and reliability.
It achieves frame-accurate continuous storage of multi-channel UHD videos, improves real-time processing capabilities and storage reliability, ensures data integrity and consistency, and reduces storage and transmission costs.
Smart Images

Figure CN118555419B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a method and system for continuous storage of multi-channel UHD video frame precision. Background Art
[0002] With the rapid development of ultra-high-definition (UHD) video technology, its application in broadcasting, film and television production, video conferencing and other fields is becoming more and more extensive. However, the storage and processing of multi-channel UHD videos face many technical challenges, mainly including the following aspects:
[0003] Large amount of data: Due to its high resolution and high frame rate, UHD video has significantly increased the amount of data. In multi-channel application scenarios, the amount of data has increased exponentially, placing extremely high demands on the capacity and processing power of the storage system.
[0004] High real-time requirements: In real-time transmission and playback scenarios, such as live broadcasts and video conferencing, video signal delays and frame losses will seriously affect user experience. Therefore, multi-channel UHD video processing systems must have efficient real-time processing capabilities.
[0005] Difficulty in synchronization: Multi-channel video signals may be out of sync due to differences in transmission paths, device performance and other factors. This asynchrony not only affects the visual effect, but may also cause a series of technical problems. Therefore, achieving accurate synchronization of multi-channel video signals is one of the key technical challenges.
[0006] Storage reliability: Due to the importance of UHD video data, the reliability of its storage is crucial. Any data loss or damage may lead to irreparable losses. Therefore, it is necessary to design an efficient and reliable storage solution to ensure data security.
[0007] Encoding and packaging complexity: In order to reduce storage and transmission costs, video signals usually need to be encoded and packaged. However, the encoding and packaging process of multi-channel UHD video is more complicated, and it is necessary to deal with issues such as synchronization of multiple channels, time code embedding, and packaging format selection.
[0008] There are many solutions to the above technical challenges in the existing technology, but they often have certain limitations. For example, although some solutions can realize the synchronous processing of multi-channel videos, they are not good in terms of real-time performance and storage efficiency; while other solutions have high real-time performance, they are insufficient in terms of synchronization accuracy and reliability. Summary of the invention
[0009] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method for continuous storage of multi-channel UHD video frame accuracy, comprising the following steps:
[0010] Step 1: Receive a multi-channel UHD SDI signal and separate the audio signal and the video signal; for the video signal, proceed to step 2; for the audio signal, proceed to step 3;
[0011] Step 2: According to the preset automatic adjustment parameters, the frame rate and resolution of the video signal of each channel are automatically adjusted to a unified format, and synchronous caching is performed, and the LTC time code is embedded in the video frame of the video signal of each channel, and then step 4 is entered;
[0012] Step 3: Perform audio REF synchronization on the extracted audio signal, embed LTC time code into the audio signal, and encode it in a preset format to obtain an encoded audio signal, and then proceed to step 5;
[0013] Step 4: monitor the integrity and consistency of the video frame sequence in real time. If the integrity and consistency detection of the video frame sequence passes, the video frame sequence is encoded in a preset format to obtain an encoded video signal, and then proceed to step 5. Otherwise, the video frame sequence with frame loss or abnormal frame rate is automatically detected and corrected. After the automatic detection and correction are completed, the video frame sequence is encoded in a preset format to obtain an encoded video signal, and then proceed to step 5.
[0014] Step 5: Encapsulate the encoded video signal and audio signal respectively to obtain video file stream encapsulation and audio file stream encapsulation respectively; encapsulate the obtained video file stream encapsulation and audio file stream encapsulation, and then encapsulate them as a whole into an audio and video file to obtain an encapsulated audio and video file, and continuously store the encapsulated audio and video file in a high-performance storage system;
[0015] Step 6: Before the file is transmitted, add the header information of the unique ID to the encapsulated audio and video file and add the checksum to the end of the packet to complete the packaging of the file data and send it.
[0016] Furthermore, the automatic adjustment of the frame rate and resolution of the video signal of each channel to a unified format and synchronous caching of the video signal include:
[0017] When the video signal of each channel enters the buffer area, the parameters are adjusted according to the preset frame rate and resolution to adjust the video signals of each channel to a uniform frame rate and resolution;
[0018] The transmission delay of each channel is obtained respectively, and the channel with the smallest transmission delay is taken as the reference channel. The transmission delay differences of the remaining channels relative to the reference channel are obtained respectively. According to the video signal cache time and the transmission delay difference of the reference channel, the synchronization cache time of the remaining channels is obtained respectively; the video signal cache under the video signal cache time of the reference channel and the video signal cache under the synchronization cache time of the remaining channels constitute a video signal synchronization cache.
[0019] Furthermore, the automatic detection and correction of the video frame sequence with frame loss or abnormal frame rate includes:
[0020] The signal frames of the synchronously cached video signals are compared and tested for signal consistency frame by frame. If frame loss occurs or the frame rate of a channel is less than the set frame rate, the frames are automatically supplemented.
[0021] Furthermore, the frame-by-frame signal consistency comparison detection of the signal frames of the synchronously cached video signal includes:
[0022] According to the LTC time code embedded in the video frame, if the LTC time codes of each channel are consistent, the consistency comparison test passes; otherwise, frames are supplemented based on the missing LTC time code.
[0023] A system for continuous storage of multi-channel UHD video frame precision, applying the method for continuous storage of multi-channel UHD video frame precision, comprising an SDI signal interface, an image processing module, a data processing module, an audio processing module, a communication module, a packaging module and a secure transmission module;
[0024] The image processing module and the audio processing module are respectively connected to the SDI signal interface; the image processing module and the audio processing module are also respectively connected to the encapsulation module; the encapsulation module, the communication module and the secure transmission module are respectively connected to the data processing module.
[0025] Preferably, the encapsulation module includes a video encapsulation module and an audio encapsulation module; the video encapsulation module is used to encapsulate the encoded video signal; and the audio encapsulation module is used to encapsulate the encoded video signal.
[0026] The beneficial effects of the present invention are: by receiving multi-channel UHD SDI signals and performing a series of steps such as separation, automatic adjustment of frame rate and resolution, synchronous caching, time code embedding, encoding, packaging and storage, frame-precision continuous storage of multi-channel UHD video is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flowchart of a method for continuous storage of multi-channel UHD video frame accuracy is shown;
[0028] Figure 2 Schematic diagram of the principle of a system for continuous storage of multi-channel UHD video frame accuracy. DETAILED DESCRIPTION
[0029] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.
[0030] The features and performance of the present invention are further described in detail below in conjunction with the embodiments.
[0031] like Figure 1 As shown, a method for continuous storage of multi-channel UHD video frame accuracy includes the following steps:
[0032] Step 1: Receive a multi-channel UHD SDI signal and separate the audio signal and the video signal; for the video signal, proceed to step 2; for the audio signal, proceed to step 3;
[0033] Step 2: According to the preset automatic adjustment parameters, the frame rate and resolution of the video signal of each channel are automatically adjusted to a unified format, and synchronous caching is performed, and the LTC time code is embedded in the video frame of the video signal of each channel, and then step 4 is entered;
[0034] Step 3: Perform audio REF synchronization on the extracted audio signal, embed LTC time code into the audio signal, and encode it in a preset format to obtain an encoded audio signal, and then proceed to step 5;
[0035] Step 4: monitor the integrity and consistency of the video frame sequence in real time. If the integrity and consistency detection of the video frame sequence passes, the video frame sequence is encoded in a preset format to obtain an encoded video signal, and then proceed to step 5. Otherwise, the video frame sequence with frame loss or abnormal frame rate is automatically detected and corrected. After the automatic detection and correction are completed, the video frame sequence is encoded in a preset format to obtain an encoded video signal, and then proceed to step 5.
[0036] Step 5: Encapsulate the encoded video signal and audio signal respectively to obtain video file stream encapsulation and audio file stream encapsulation respectively; encapsulate the obtained video file stream encapsulation and audio file stream encapsulation, and then encapsulate them as a whole into an audio and video file to obtain an encapsulated audio and video file, and continuously store the encapsulated audio and video file in a high-performance storage system;
[0037] Step 6: Before the file is transmitted, add the header information of the unique ID to the encapsulated audio and video file and add the checksum to the end of the packet to complete the packaging of the file data and send it.
[0038] The automatic adjustment of the frame rate and resolution of the video signal of each channel to a unified format and synchronous caching of the video signal include:
[0039] When the video signal of each channel enters the buffer area, the video signals of each channel are adjusted to a uniform frame rate and resolution according to the preset frame rate and resolution adjustment parameters;
[0040] The transmission delay of each channel is obtained respectively, and the channel with the smallest transmission delay is taken as the reference channel. The transmission delay differences of the remaining channels relative to the reference channel are obtained respectively. According to the video signal cache time and the transmission delay difference of the reference channel, the synchronization cache time of the remaining channels is obtained respectively; the video signal cache under the video signal cache time of the reference channel and the video signal cache under the synchronization cache time of the remaining channels constitute a video signal synchronization cache.
[0041] The automatic detection and correction of video frame sequences with frame loss or abnormal frame rate includes:
[0042] The signal frames of the synchronously cached video signals are compared and tested for signal consistency frame by frame. If frame loss occurs or the frame rate of a channel is less than the set frame rate, the frames are automatically supplemented.
[0043] The method of performing frame-by-frame signal consistency comparison detection on the signal frames of the synchronously cached video signal includes:
[0044] According to the LTC time code embedded in the video frame, if the LTC time codes of each channel are consistent, the consistency comparison test passes; otherwise, frames are supplemented based on the missing LTC time code.
[0045] like Figure 2 As shown, a system for continuous storage of multi-channel UHD video frame precision, applying the method for continuous storage of multi-channel UHD video frame precision, comprises an SDI signal interface, an image processing module, a data processing module, an audio processing module, a communication module, a packaging module and a secure transmission module;
[0046] The image processing module and the audio processing module are respectively connected to the SDI signal interface; the image processing module and the audio processing module are also respectively connected to the encapsulation module; the encapsulation module, the communication module and the secure transmission module are respectively connected to the data processing module.
[0047] The encapsulation module comprises a video encapsulation module and an audio encapsulation module; the video encapsulation module is used to encapsulate the encoded video signal; the audio encapsulation module is used to encapsulate the encoded video signal.
[0048] Specifically, the method for continuous storage of multi-channel UHD video frame accuracy includes:
[0049] First, the system receives multi-channel UHD SDI signals through the SDI signal interface. Then, the audio signal and the video signal are separated using signal processing technology. For the video signal, proceed to step 2 for processing; for the audio signal, proceed to step 3 for processing.
[0050] For each channel's video signal, adjust the frame rate and resolution to a unified format based on the preset automatic adjustment parameters. This step is to ensure the synchronization and consistency of subsequent processing. During the adjustment process, it is necessary to consider the original frame rate and resolution of the video as well as the frame rate and resolution requirements of the target storage format.
[0051] The adjusted video signal needs to be cached synchronously. In order to achieve synchronization, the transmission delay of each channel needs to be measured, and the channel with the smallest transmission delay is used as the reference channel. Then, the transmission delay difference of the remaining channels relative to the reference channel is calculated, and the synchronization cache duration of the remaining channels is obtained according to the video signal cache duration and transmission delay difference of the reference channel. In this way, the video signal cache under the video signal cache duration of the reference channel and the video signal cache under the synchronization cache duration of the remaining channels constitute the video signal synchronization cache.
[0052] The LTC time code is embedded in the video frame of each channel to facilitate subsequent frame synchronization and frame loss detection. The video signal after synchronization buffering is encoded in a preset format to obtain an encoded video signal.
[0053] The extracted audio signal is synchronized with the audio REF to ensure synchronization between the audio signal and the video signal. The audio signal is embedded with the LTC time code and encoded in a preset format to obtain an encoded audio signal.
[0054] Monitor the integrity and consistency of the video frame sequence in real time. If the integrity and consistency of the video frame sequence passes the detection, it will be encoded in the preset format; otherwise, the video frame sequence with frame loss or abnormal frame rate will be automatically detected and corrected. The correction process includes supplementing and filling frames to ensure the integrity and consistency of the video frame sequence.
[0055] The encoded video signal and audio signal are encapsulated separately to obtain a video file stream encapsulation and an audio file stream encapsulation. Then, the video file stream encapsulation and the audio file stream encapsulation are encapsulated as a whole into an audio and video file. The encapsulated audio and video files are continuously stored in a high-performance storage system to ensure data reliability and availability.
[0056] Before the file is transmitted, a unique ID header is added to the packaged audio and video file and a checksum is added to the end of the packet. After the file data is packaged, it is sent.
[0057] Frame rate and resolution adjustment is a key step to ensure multi-channel video synchronization. During the adjustment process, it is necessary to consider the original frame rate and resolution of the video as well as the frame rate and resolution requirements of the target storage format. Through the preset adjustment parameters, the video signals of different channels can be uniformly processed.
[0058] Synchronous caching is to solve the transmission delay problem between video signals of different channels. By measuring the transmission delay of each channel and taking the channel with the smallest transmission delay as the reference channel, synchronous caching of video signals can be achieved. Time code embedding is to facilitate subsequent frame synchronization and frame loss detection.
[0059] The integrity and consistency of the video frame sequence are the key to ensuring video quality. By monitoring the integrity and consistency of the video frame sequence in real time, frame loss or abnormal frame rate problems can be discovered and handled in a timely manner. Correction processing includes supplementing frames to ensure the integrity and consistency of the video frame sequence.
[0060] The packaging and storage of audio and video signals is an important part of achieving continuous storage. By packaging video signals and audio signals separately and then packaging them into audio and video files as a whole, the synchronous storage of audio and video signals can be achieved. At the same time, the continuous storage of packaged audio and video files in a high-performance storage system can ensure the reliability and availability of data.
[0061] In order to implement the above method, a multi-channel UHD video frame precision continuous storage system is designed. The system includes an SDI signal interface, an image processing module, a data processing module, an audio processing module, a communication module, a packaging module and a secure transmission module.
[0062] The image processing module and the audio processing module are connected to the SDI signal interface respectively, and are responsible for processing the video signal and the audio signal. The encapsulation module is connected to the image processing module and the audio processing module, and is responsible for encapsulating the processed signals. The data processing module, the communication module, and the security transmission module are responsible for data processing, transmission, and security assurance.
[0063] The encapsulation module includes a video encapsulation module and an audio encapsulation module. The video encapsulation module is responsible for encapsulating the encoded video signal and generating a video file stream encapsulation. The audio encapsulation module is responsible for encapsulating the encoded audio signal and generating an audio file stream encapsulation. These two modules work together to encapsulate the audio and video signals into a unified audio and video file.
[0064] The system workflow is as follows: First, the multi-channel UHD SDI signal is received through the SDI signal interface and separated into audio and video signals. Then, the video and audio signals are processed by the image processing module and the audio processing module respectively. The processed signals are transmitted to the encapsulation module for encapsulation to generate audio and video files. Finally, the audio and video files are stored in a high-performance storage system through the data processing module, communication module and secure transmission module, and the files are packaged and sent.
[0065] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for continuous storage of multi-channel UHD video frame accuracy, characterized in that: The steps include: Step 1: Receive a multi-channel UHD SDI signal and separate the audio signal and the video signal; for the video signal, proceed to step 2; for the audio signal, proceed to step 3; Step 2: According to the preset automatic adjustment parameters, the frame rate and resolution of the video signal of each channel are automatically adjusted to a unified format, and synchronous caching is performed, and the LTC time code is embedded in the video frame of the video signal of each channel, and then step 4 is entered; Step 3: Perform audio REF synchronization on the extracted audio signal, embed LTC time code into the audio signal, and encode it in a preset format to obtain an encoded audio signal, and then proceed to step 5; Step 4: monitor the integrity and consistency of the video frame sequence in real time. If the integrity and consistency detection of the video frame sequence passes, the video frame sequence is encoded in a preset format to obtain an encoded video signal, and then proceed to step 5. Otherwise, the video frame sequence with frame loss or abnormal frame rate is automatically detected and corrected. After the automatic detection and correction are completed, the video frame sequence is encoded in a preset format to obtain an encoded video signal, and then proceed to step 5. Step 5, encapsulating the encoded video signal and audio signal respectively to obtain a video file stream encapsulation and an audio file stream encapsulation respectively; Encapsulating the obtained video file stream and audio file stream, and then encapsulating the whole into an audio and video file to obtain an encapsulated audio and video file, and continuously storing the encapsulated audio and video file in a high-performance storage system; Step 6: Before the file is transmitted, add the header information of the unique ID to the encapsulated audio and video file and add the checksum to the end of the packet to complete the packaging of the file data and send it.
2. The method for continuous storage of multi-channel UHD video frame accuracy according to claim 1, characterized in that: The automatic adjustment of the frame rate and resolution of the video signal of each channel to a unified format and synchronous caching of the video signal include: When the video signal of each channel enters the buffer area, the parameters are adjusted according to the preset frame rate and resolution to adjust the video signals of each channel to a uniform frame rate and resolution; The transmission delay of each channel is obtained respectively, and the channel with the smallest transmission delay is taken as the reference channel. The transmission delay differences of the remaining channels relative to the reference channel are obtained respectively. According to the video signal cache time and the transmission delay difference of the reference channel, the synchronization cache time of the remaining channels is obtained respectively; the video signal cache under the video signal cache time of the reference channel and the video signal cache under the synchronization cache time of the remaining channels constitute a video signal synchronization cache.
3. The method for continuous storage of multi-channel UHD video frame accuracy according to claim 2, characterized in that: The automatic detection and correction of video frame sequences with frame loss or abnormal frame rate includes: The signal frames of the synchronously cached video signals are compared and tested for signal consistency frame by frame. If frame loss occurs or the frame rate of a channel is less than the set frame rate, the frames are automatically supplemented.
4. The method for continuous storage of multi-channel UHD video frame accuracy according to claim 3, characterized in that: The frame-by-frame signal consistency comparison detection of the signal frames of the synchronously cached video signal includes: According to the LTC time code embedded in the video frame, if the LTC time codes of each channel are consistent, the consistency comparison test passes; otherwise, frames are supplemented based on the missing LTC time code.
5. A system for continuous storage of multi-channel UHD video frame accuracy, characterized in that: A method for continuous storage of multi-channel UHD video frame accuracy as described in any one of claims 1 to 3 is applied, comprising an SDI signal interface, an image processing module, a data processing module, an audio processing module, a communication module, a packaging module and a secure transmission module; The image processing module and the audio processing module are respectively connected to the SDI signal interface; the image processing module and the audio processing module are also respectively connected to the encapsulation module; the encapsulation module, the communication module and the secure transmission module are respectively connected to the data processing module.
6. The system for continuous storage of multi-channel UHD video frame accuracy according to claim 5, characterized in that: The encapsulation module comprises a video encapsulation module and an audio encapsulation module; the video encapsulation module is used to encapsulate the encoded video signal; the audio encapsulation module is used to encapsulate the encoded video signal.
