ID3v2标头大小长度-28位中的32位 [英] ID3v2-Header size length - 32 Bits in 28 Bits
问题描述
我正在尝试为mp3文件设置标头大小(ID3v2标签).
大小描述如下:
"ID3v2标签的大小是用四个字节编码的,其中最高有效位(第7位)在每个字节中都设置为零,总共28位.置零的位被忽略,因此长257字节的标签表示为$ 00. 00 02 01.
在大小说明中仅使用28位(最多256MB),以避免引入错误的同步信号"."
因此,我正在寻找一种以以下格式设置带符号整数值的解决方案.
非常感谢您为解决该问题提供的帮助!
丹尼尔.
Hi,
I am trying to set the header size (ID3v2 tag) for a mp3 file.
The size in descripted as follow:
"The ID3v2 tag size is encoded with four bytes where the most significant bit (bit 7) is set to zero in every byte, making a total of 28 bits. The zeroed bits are ignored, so a 257 bytes long tag is represented as $00 00 02 01.
Only 28 bits (representing up to 256MB) are used in the size description to avoid the introducuction of ''false syncsignals''."
So I am looking for a solution to set a signed integer value in below format.
Thanks a lot for any help to solve that!!
Daniel.
推荐答案
00 00 02 01.
在大小说明中仅使用28位(最多256MB),以避免引入错误的同步信号"."
因此,我正在寻找一种以以下格式设置带符号整数值的解决方案.
非常感谢您为解决该问题提供的帮助!
丹尼尔.
00 00 02 01.
Only 28 bits (representing up to 256MB) are used in the size description to avoid the introducuction of ''false syncsignals''."
So I am looking for a solution to set a signed integer value in below format.
Thanks a lot for any help to solve that!!
Daniel.
好吧,我对你没有答案,但是我发现有两篇文章至少可以帮助你入门.
1. MP3标头阅读器 [读取MP3标签信息 [
Well, I don''t have an answer for you but I found two articles that might at least get you started.
1. MP3 Header Reader[^].
2. Read MP3 Tag information[^].
The second one, in particular, has some links that might be useful.
这篇关于ID3v2标头大小长度-28位中的32位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!