A kind of video frame transmission method
A transmission method and technology for video frames, applied in the field of video frame transmission, can solve the problems of not taking into account video frames at the receiving end, packet loss at the receiving end, and difficulty in guaranteeing video playback quality.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] Embodiment 1 of the present invention provides a video frame transmission method, such as figure 1 and figure 2 As shown, the method includes the following steps:
[0050] S1: The sending end splits the video frame into multiple data packets, and sends them to the encoder at a rate x through n sending channels, and the data packets sent by each sending channel are buffered by their respective sending pools, n≥2;
[0051] S2: The n encoding channels in the encoder receive and encode data packets. Each encoding channel has an encoding area and three non-encoding areas. The encoding area encodes the data packets and sends them to the buffer area. At the same time Store the data packets of the encoded I frame, P frame and B frame in the non-coding area respectively;
[0052]S3: The buffer area sends the encoded data packet to the receiving end and the sent area at the same time;
[0053] S4: Determine the number of data packets in the sent area, and adjust the encoding ...
Embodiment 2
[0056] Embodiment 2 of the present invention provides a video frame transmission method, which is basically the same as Embodiment 1, the difference is that, as image 3 As shown, step S4 includes:
[0057] S41: Calculate the number G of data packets in the sent area within the time t, and compare it with G 1 For comparison, when G1≤G1 , go to step S42, G 1 =nxt;
[0058] S42: Reduce the encoding rate of the encoding channel in the encoder.
[0059] The present invention compares the number of data packets in the sent area with the number of data packets sent by the sending end, and when the number of data packets in the sent area is less than 3 / 4 of the number of data packets sent by the sending end, the data The transmission and storage of packets is delayed, so the encoding rate of the encoder should be appropriately reduced. The specific methods include:
[0060] S421: Count the number of I frames, P frames, and B frames in the non-coding area of each coding channel ...
Embodiment 3
[0073] Embodiment 3 of the present invention provides a video frame transmission method, which is basically the same as Embodiment 2, the difference is that step S4 also includes:
[0074] S43: When step S41 judges 1 / 2G 1 ≤G1 When , reduce the sending rate of the sending channel in the sending end;
[0075] Such as Figure 4 As shown, step S43 specifically includes:
[0076] S432: Count the number of data packets sent by each sending pool within t time respectively;
[0077] S433: Calculate the average number of data packets sent in n sending pools in For step S432 counting the sum of all data packets and dividing by n;
[0078] S434: Select a value greater than The number of data packets sent by the sending channel corresponding to the sending pool f a , f a Indicates the number of data packets sent by the ath sending pool, and adjusts the sending rate x of the sending channel 1 :
[0079]
[0080] When 1 / 2G 1 ≤G1 , the present invention further adjusts the s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


