A bit rate control method and system in video coding
A technology of video coding and control method, which is applied in the field of code rate control method and system in video coding, can solve problems such as increased economic costs, and achieve the effects of strong practicability, convenient use, and simple operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Such as figure 1 As shown, Embodiment 1 of the present invention provides a bit rate control method in video coding, and the control method includes the following steps:
[0034] S1. Data capture: monitor the data output port of the encoder 2, capture or capture the code stream data packets from the encoder 2 in real time, and save the code stream data packets to the buffer pool in order of capture time, and monitor The process runs in an infinite loop, and as long as the system is running, it will continue to capture or capture stream data packets.
[0035] S2, the first data transmission: first judge whether the sent pool has code stream data packets, if not, then transmit the code stream data packets in the buffer pool to the multiplexer 3 sequentially according to the order of capture time, and simultaneously Buffer to the sent pool, if there is a code stream data packet, then directly enter steps S3-S5.
[0036] S3. Preset threshold: the sent pool is preset with ...
Embodiment 2
[0041] On the basis of Embodiment 1, Embodiment 2 of the present invention further defines a code rate control method, effectively realizes smooth output of code rate, and prevents video from freezing.
[0042] It should be noted that step S2 also includes the data management of the buffer pool: when the code stream data packet is obtained after judgment (ready to be transmitted to the multiplexer 3 and backed up to the sent pool at the same time) during the data transmission process, the The code stream data packets that have been transmitted to the multiplexer 3 in the buffer pool are deleted, and each time a code stream data packet is obtained, a code stream data packet is deleted from the buffer pool, and the order of code stream data packet transmission is according to Time-sequential transmission of stream data packet capture.
[0043] What needs to be further explained is that if the threshold value of data packets in the sent pool is 100, then after deleting some code ...
Embodiment 3
[0049] Such as figure 2 As shown, the present invention also provides a code rate control system in video coding, which includes a code stream control server 1, and the code stream control server 1 communicates with the encoder 2 and the multiplexer 3 respectively.
[0050] Such as image 3 As shown, the code flow control server 1 includes a database 101 and a data capture module 102 communicating with the database 101, a data transmission module 103, a time threshold preset module 104, a data packet threshold preset module 105, a judgment Module 106 , first deletion module 107 , comparison module 108 .
[0051] The database 101 is provided with a buffer pool and a sent pool; the data capture module 102 is used to capture the code stream data packets output by the encoder 2 in real time in a loop, and capture the code stream data packets according to the captured The time sequence is buffered to the buffer pool; the data transmission module 103 is used to transmit the code ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


