gpt4 book ai didi

audio - MP3存储库从引用它的帧中可以找到最远的是什么?

转载 作者:行者123 更新时间:2023-12-02 22:25:18 25 4
gpt4 key购买 nike

MP3帧的压缩数据可以小于一帧中可用的空间。发生这种情况时,我们将可用空间称为存储库。

当将来的框架太大而无法容纳在一个框架中的可用空间中时,它可以使用一个水库来获得剩余空间。这允许恒定的比特率和可变的压缩长度,包括对于正常帧而言太大的长度。

我想知道的是,储层距当前框架有多远?

例如,下面显示8个帧。当前帧(CF)及其之前的7个帧。

+----+----+----+----+----+----+----+----+
| -7 | -6 | -5 | -4 | -3 | -2 | -1 | CF |
+----+----+----+----+----+----+----+----+

假设CF为第100,000帧,是否可以使用第0帧仍然可用的存储库?

还是有限制,例如255帧?

最佳答案

据我所知,帧数没有具体限制,但是引用限制为4,088位(511字节)。因此,确切的位存储库帧限制取决于比特率。

我在LAME Technical FAQ上找到了此信息:

The MP3 data for frame N is not stored in frame N, but can be spread over several frames. In a typical case, the data for frame N will have 20% of it stored in frame N-1 and 80% stored in frame N. If the encoder builds up a large bit reservoir, the data for frame N can actually be stored 4088 bits back in the bitstream. Then if a very hard-to-encode passage comes up, then the encoder is free to use the normal bits for this frame plus up to 4088 more. The resulting data will then take up several frames. The starting negative offset in the bitstream for the data associated with a given frame in bytes is given by main_data_begin.

关于audio - MP3存储库从引用它的帧中可以找到最远的是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56138088/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com