RS Bitrate Control adaptive algorithm

Source: Internet
Author: User

Impact Factors


The main factors influencing the rs/es rate relationship are as follows:


This algorithm will not be affected by these factors, realize the adaptive control of the code rate.


ES encoder


For ES encoders: When the encoder starts, the RS layer gives a suggested value for the ES bitrate based on the input RS bitrate setting value, and then the encoder updates the ES bitrate at a certain frequency (each time the RS-encoded interface is called/per frame/GOP, based on the test results and actual needs).


RS Encoder


For RS Encoder: The problem is to adopt a strategy to update the relationship between rs/es bitrate, adaptive algorithm to take the actual data of the statistical values to update.


programme I


For a period of time after the encoder is started, the following method is taken to calculate the relationship between the Rs/es code rate:


Wherein, the RS length of the first packet group is expressed, indicating the RS length of the group I


After a certain period of time to take the following ways to update the relationship between Rs/es code rate:


Among them, the larger the update factor, the greater the impact of recent statistical values. Values and n values need to be determined by testing and actual needs.


Scenario Two


Updated directly with the nearest N statistics:


something


This algorithm is directly denied, because ES bitrate is best determined from the beginning, if the subsequent adjustment, it may cause the ES encoder error.

RS Bitrate Control adaptive algorithm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.