当前位置:网站首页>Static bit rate (CBR) and dynamic bit rate (VBR)
Static bit rate (CBR) and dynamic bit rate (VBR)
2022-06-25 07:37:00 【Assassin ari】
CBR:
namely Constants Bits Rate, Fixed bit rate , It's static ( Constant ) Bit rate means .CBR It is a compression method with fixed sampling rate .
(1) advantage : Fast compression , Can be supported by most software and devices .(2) shortcoming : Large space , The effect is not very ideal . Has been gradually VBR Way to replace .
Fixed bit rate is a term used to describe the quality of communication service . The opposite is variable bit rate or variable bit rate (variable bit rete, abbreviation VBR) When multimedia communication is carried out in a bandwidth limited channel CBR It's very useful , At this time, the highest bit rate is limited ,CBR It is easier to use such channels . however CBR Not suitable for storage , because CBR It will result in insufficient bit rate to encode complex content parts ( This leads to a decrease in quality ), At the same time, some bit rate will be wasted in the simple content part .
The output of most coding schemes is a variable length codeword , For example, Huffman coding or run length coding (run-length coding), This makes it difficult for the encoder to be perfect CBR. The encoder can be quantized by adjusting ( Then adjust the coding quality ) To partially solve this problem , If you also use filler codes to perfectly achieve CBR.( occasionally ,CBR It also refers to a very simple coding scheme , Let's take a 16 Bit precision audio data stream is sampled to get a 8 Bit precision data stream ).
VBR:
VBR(Variable Bit Rate), Also known as dynamic bit rate coding , When using this method , You can choose from the worst sound quality / Maximum compression ratio to best sound quality / Various transition stages between the lowest compression ratios , stay MP3 When the document is encoded , The program will try to maintain the quality of the entire selected file , Different bit rates suitable for different parts of the music file will be selected for encoding .(1) advantage : It can make the whole song roughly meet our sound quality requirements .
(2) shortcoming : The compressed file size cannot be estimated during encoding
difference :
VBR With the traditional CBR Coded MP3 Different , Conventional CBR(Constant BitRate) Static bit rate ,CBR The agreement is dead MP3 The sampling rate of is a fixed value . a MP3 A fixed value from beginning to end, such as 128KBit/s Compress . and VBR A new , The compression method of the whole process dynamic adjustment technology . When in the bass segment ,VBR A lower bit rate such as 32KBit/s Compress the sound quality ; A higher bit rate will be used when in the high range, such as 224KBit/s Compress the sound quality ; At the very high end, the highest 320KBit/s Compress .VBR MP3 When the file size is controlled , Maximize the MP3 The sound quality of .Different
(1)CBR: Fixed bit rate FRAME( frame ) It's also fixed in size , Just know the total length of the file , And the frame length can be adjusted by playing each frame 26ms calculated mp3 Total playback time , You can also control fast forward by counting the number of frames , Fast rewind and slow play .
(2)VBR:VBR yes XING The algorithm introduced by the company , So in MP3 Of FRAME There will be “XING” This keyword ( Now many popular small software can also be used VBR Compress , Whether they abide by this Agreement , I don't know ), It's stored in MP3 The first one in the file is valid FRAME in , It identifies this MP3 File is VBR Of . At the same time, the first FRAME There's... In it MP3 Of documents FRAME Total number of , This makes it easy to get the total playback time , As well as 100 Bytes store the total playback time 100 Time phased FRAME Of INDEX.
Use... In streaming playback schemes CBR Coding is the most effective . Use CBR When coding , The bit rate remains basically constant during the flow and is close to the target bit rate , Always within the time window determined by the buffer size .CBR The disadvantage of encoding is that the quality of the encoded content is unstable . Because some pieces of content are harder to compress than others , therefore CBR Some parts of the flow are inferior to others . Besides ,CBR Coding will result in different quality of adjacent streams . Usually at lower bit rates , The change of quality will be more obvious .
VBR A suitable application scenario is media storage , Instead of network transmission . When planning to provide content for users to download 、 Play content locally or on devices with limited reading speed ( Such as CD or DVD Player ) When playing on , Please use VBR code .( Peak values can also be used when planning to stream content VBR Coding mode ) When the encoded content is mixed with simple data and complex data ( for example , Video switching between fast motion and slow motion ) when ,VBR Coding is very advantageous . Use VBR When coding , The system will automatically allocate fewer bits for simple parts of the content , Thus, a sufficient number of bits are reserved for generating high-quality complex parts . This means constant complexity ( For example, news broadcasting ) Will not benefit from VBR code . Use for mixed content VBR When coding , With the same file size ,VBR The output of the code is better than CBR The output quality of the code is much better . In some cases , And CBR Encoded files of the same quality VBR Code file , It may be only half the size of the former .
Because the current video coding standards are based on block coding hybrid coding framework , So a rate control algorithm can be used in any protocol ( Of course, sometimes you need to make small changes ), It's just a question of whether the control effect is good , No one. RC Which agreement is exclusive .
边栏推荐
- TEMPEST HDMI泄漏接收 1
- 用动图讲解分布式 Raft
- [Yu Yue education] engineering testing technology reference of Wenhua University
- 5g private network market is in full swing, and it is crucial to solve deployment difficulties in 2022
- Harmony美食菜单界面
- Reading sensor data with GPIO analog SPI interface
- shell小技巧(一百三十四)简单的键盘输入记录器
- [QT] shortcut key
- MySQL facet 01
- 【批处理DOS-CMD命令-汇总和小结】-cmd扩展命令、扩展功能(cmd /e:on、cmd /e:off)
猜你喜欢
图扑软件数字孪生 3D 风电场,智慧风电之海上风电
Loopholes in the missed scanning system of Lvmeng and its repair scheme
13 `bs_ duixiang. Tag tag ` get a tag object
[Yu Yue education] engineering testing technology reference of Wenhua University
LeetCode 每日一题——515. 在每个树行中找最大值
Weimeisi new energy rushes to the scientific innovation board: the annual revenue is 1.7 billion, and the book value of accounts receivable is nearly 400million
One year's time and University experience sharing with CSDN
Why "New Year's Eve", the original memory burst!
函数模板_类模板
[batch dos-cmd command - summary and summary] - commands related to Internet access and network communication (Ping, Telnet, NSLOOKUP, ARP, tracert, ipconfig)
随机推荐
【pytest】修改allure报告中的logo及参数化
3632. Binary sum
My debut is finished!
[C language] one dimensional array
One year's time and University experience sharing with CSDN
13 `bs_ duixiang. Tag tag ` get a tag object
LeetCode 每日一题——515. 在每个树行中找最大值
[leetcode] two num · sum of two numbers
从感知机到Transformer,一文概述深度学习简史
Intel announced five new technological developments, including quantum computing, neural pseudo computing, machine programming, integrated optoelectronics, and secure computing
Tupu software digital twin 3D wind farm, offshore wind power of smart wind power
Introduction to Sichuan Tuwei ca-is3082w isolated rs-485/rs-422 transceiver
The principle of Zener diode, what is its function?
SQL solve select basic statement
[pytest] modify the logo and parameterization in the allure Report
Display purchase Summary - Dell 2705qm BenQ pd2700u
线程状态变化涉及哪些常用 API
Distributed quorum NWR of the alchemy furnace of the Supreme Master
[batch dos-cmd command - summary and summary] - application startup and call, service and process operation commands (start, call, and)
Orcad Schematic常用功能