Low-latency video transmission method and system, and storage medium
A video transmission and low-latency technology, applied in the field of video transmission, can solve problems such as increasing product costs and failing to meet application requirements, and achieve the effect of ensuring integrity, low delay, and transmission quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] This embodiment provides a low-latency video transmission method, including the steps of: judging whether the output frame rate is consistent with the input frame rate, and if the output frame rate is consistent with the input frame rate, use one frame or more buffer space for reading Write operation; if the output frame rate is inconsistent with the input frame rate, use the buffer space of two frames to perform the first type of read and write operations; the first type of read and write operations are: the read pointer and the write pointer alternate on the two frame memories During the movement, it is judged whether there is an access conflict during the movement, and according to the judgment result, the frame memory of the read pointer for read operation and the frame memory of the write pointer for write operation are allocated.
[0024] Further, in the described moving process, it is judged whether the access conflicts, and according to the judgment result, the s...
Embodiment 2
[0041] The difference between this embodiment and Embodiment 1 is that the transmission method when the output frame rate is the same as the input frame rate is further improved, and the second type of read-write operation is used, which includes the steps of: performing a write operation; After writing, the read operation is started, wherein the number of data can be in units of lines or bytes. In this embodiment, the number of data is set as K lines, and K may not be an integer; compare the speed of the read operation in real time If the former is larger than the latter, reduce the clock frequency of the read pointer; if the former is smaller than the latter, increase the clock frequency of the read pointer; after a frame memory read operation is completed, the read pointer jumps to the current write pointer the frame memory in which it resides. When the output frame rate is the same as the input frame rate, the read pointer remains behind the write pointer, and most of the ...
Embodiment approach
[0042] like figure 2 As shown, the optimal implementation of the low-latency video transmission method described in this embodiment is as follows:
[0043] A1: Determine whether the output frame rate is the same as the input frame rate; if the output frame rate is the same as the input frame rate, go to A2; if the output frame rate is the same as the input frame rate, go to A3;
[0044] A2: Use two or more frames of buffer space for the second type of read and write operations, specifically:
[0045] A21: Start the write operation on a frame memory, and start the read operation after writing K lines;
[0046] A22: Compare the rate of the read operation and the rate of the write operation in real time; if the rate of the read operation is higher than the rate of the write operation, perform A22a; if the rate of the read operation is lower than the rate of the write operation, perform A32b; if the rate of the read operation is equal to The rate of write operation can be A22a ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


