我有mp3文件,这些文件已通过专有软件存储在私人框架中的id3v2标签信息进行了编辑。有没有一种解决方案可以跟踪存储它的字段的名称?我希望能够使用MP3Tag软件访问该字段,以便能够读取该值并将其移至另一个标签字段,以将档案从一种软件转换为另一种。
有解决方案吗?
答案 0 :(得分:0)
我下载了您的文件,并尝试在beaglebuddy.com上运行该软件。修改后的Basic.java
(我删除了将新数据写入mp3的部分)的输出如下。
此输出基于程序中包含的“已知标签”。据我推测,有两个框架可以选择将其设为私有,但事实并非如此,因此,如果您使用有关如何读取私有标签的信息来更新源,则可以工作程序,可以随心所欲。
mp3 file.....: Y:\mp3reader\Queen-WeWillRockYou.mp3
mp3 file size: 2903308 bytes
audio size...: 2901089 bytes
codec........: MPEG 1 Layer III
bit rate.....: 192 kbits/s
bit rate type: CBR
frequency....: 44100 hz
channel mode.: Joint Stereo
ID3v2.4 tag..: ID3v2.4 tag
num frames: 8
tag size..: 171 bytes
padding...: 2048 bytes
ID3v2.4 tag header
bytes..................: 10 bytes
0x49 0x44 0x33 0x04 0x00 0x00 0x00 0x00 0x11 0x21
version................: ID3v2.4
tag size...............: 2209 bytes
unsynchronization......: false
extended header present: false
experimental indicator.: false
footer present.........: false
ID3v2.4 frame: ALBUM_TITLE
frame header
bytes..................: 0x54 0x41 0x4C 0x42 0x00 0x00 0x00 0x13 0x00 0x00
frame type.............: TALB: ALBUM_TITLE - album/movie/show title
frame header size......: 10
frame body size........: 19
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 19 bytes
0x03 0x6E 0x65 0x77 0x73 0x20 0x4F 0x66 0x20 0x54 0x68 0x65 0x20 0x57 0x6F 0x72
0x6C 0x64 0x00
encoding: 3 - UTF-8
text....: news Of The World
ID3v2.4 frame: LEAD_PERFORMER
frame header
bytes..................: 0x54 0x50 0x45 0x31 0x00 0x00 0x00 0x07 0x00 0x00
frame type.............: TPE1: LEAD_PERFORMER - lead performer(s)/soloist(s)
frame header size......: 10
frame body size........: 7
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 7 bytes
0x03 0x51 0x55 0x45 0x45 0x4E 0x00
encoding: 3 - UTF-8
text....: QUEEN
ID3v2.4 frame: CONTENT_TYPE
frame header
bytes..................: 0x54 0x43 0x4F 0x4E 0x00 0x00 0x00 0x06 0x00 0x00
frame type.............: TCON: CONTENT_TYPE - content type
frame header size......: 10
frame body size........: 6
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 6 bytes
0x03 0x52 0x4F 0x43 0x4B 0x00
encoding: 3 - UTF-8
text....: ROCK
ID3v2.4 frame: LANGUAGE
frame header
bytes..................: 0x54 0x4C 0x41 0x4E 0x00 0x00 0x00 0x09 0x00 0x00
frame type.............: TLAN: LANGUAGE - language(s)
frame header size......: 10
frame body size........: 9
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 9 bytes
0x03 0x45 0x4E 0x47 0x4C 0x49 0x53 0x48 0x00
encoding: 3 - UTF-8
text....: ENGLISH
ID3v2.4 frame: SONG_TITLE
frame header
bytes..................: 0x54 0x49 0x54 0x32 0x00 0x00 0x00 0x12 0x00 0x00
frame type.............: TIT2: SONG_TITLE - title/songname/content description
frame header size......: 10
frame body size........: 18
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 18 bytes
0x03 0x57 0x45 0x20 0x57 0x49 0x4C 0x4C 0x20 0x52 0x4F 0x43 0x4B 0x20 0x59 0x4F
0x55 0x00
encoding: 3 - UTF-8
text....: WE WILL ROCK YOU
ID3v2.4 frame: TRACK_NUMBER
frame header
bytes..................: 0x54 0x52 0x43 0x4B 0x00 0x00 0x00 0x03 0x00 0x00
frame type.............: TRCK: TRACK_NUMBER - track number/position in set
frame header size......: 10
frame body size........: 3
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 3 bytes
0x00 0x31 0x00
encoding: 0 - ISO-8859-1
text....: 1
ID3v2.4 frame: RECORDING_TIME
frame header
bytes..................: 0x54 0x44 0x52 0x43 0x00 0x00 0x00 0x06 0x00 0x00
frame type.............: TDRC: RECORDING_TIME - recording date/time
frame header size......: 10
frame body size........: 6
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 6 bytes
0x00 0x31 0x39 0x37 0x37 0x00
encoding: 0 - ISO-8859-1
text....: 1977
ID3v2.4 frame: USER_DEFINED_TEXT_INFORMATION
frame header
bytes..................: 0x54 0x58 0x58 0x58 0x00 0x00 0x00 0x0D 0x00 0x00
frame type.............: TXXX: USER_DEFINED_TEXT_INFORMATION - user defined text information frame
frame header size......: 10
frame body size........: 13
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: user defined text information
bytes......: 13 bytes
0x03 0x49 0x4E 0x54 0x52 0x4F 0x00 0x31 0x32 0x30 0x30 0x30 0x00
encoding...: 3 - UTF-8
description: INTRO
text.......: 12000
ID3v2.4 tag footer: none
mpeg audio frame
file position......: 2219
mpeg audio frame header
size............: 4
bytes...........: 0xFF 0xFA 0xB2 0x40
MPEG version....: MPEG 1
MPEG layer......: Layer III
protected.by CRC: true
bit rate........: 192 kbit/s
frequency.......: 44100 hz
frame is padded.: true
private bit.....: false
channel mode....: Joint Stereo
mode extension..: intensity stereo: off, MS stereo: off
copyrighted.....: false
original media..: false
emphasis........: None
frame size......: 627 bytes
num samples.....: 1152
side info size..: 32 bytes
mpeg audio frame side information
size.: 32 bytes
bytes: 0x00 0x00 0x04 0xE6 0x42 0xBE 0xE8 0xC6 0x42 0xE0 0x59 0xC5 0xB7 0xCD 0x18 0x63
0x5A 0x40 0x28 0x01 0x14 0x00 0x00 0x00 0x20 0x00 0x00 0x25 0xC0 0x00 0x00 0x04
mpeg audio frame audio samples
size.: 589 bytes
ID3v1.0 tag
file position: 2903180
title........: WE WILL ROCK YOU
artist.......: QUEEN
album........: news Of The World
year.........: 1977
comment......: news Of The World
track........: 0
genre........: 0 - Blues
codec..............: MPEG 1 Layer III
bit rate...........: 192 kbits/s
bit rate type......: CBR
frequency..........: 44100 hz
audio duration.....: 0 s
audio size.........: 2901089 bytes
album..............: news Of The World
artist.............: null
contributing artist: QUEEN
lyrics by..........: null
music by...........: null
picture............: null
publisher..........: null
rating.............: 0
title..............: WE WILL ROCK YOU
track #............: 1
year recorded......: 1977
lyrics.............: null
mp3 file.....: Y:\mp3reader\Queen-WeWillRockYou.mp3
mp3 file size: 2903308 bytes
audio size...: 2901089 bytes
codec........: MPEG 1 Layer III
bit rate.....: 192 kbits/s
bit rate type: CBR
frequency....: 44100 hz
channel mode.: Joint Stereo
ID3v2.4 tag..: ID3v2.4 tag
num frames: 9
tag size..: 171 bytes
padding...: 2048 bytes
ID3v2.4 tag header
bytes..................: 10 bytes
0x49 0x44 0x33 0x04 0x00 0x00 0x00 0x00 0x11 0x21
version................: ID3v2.4
tag size...............: 2209 bytes
unsynchronization......: false
extended header present: false
experimental indicator.: false
footer present.........: false
ID3v2.4 frame: ALBUM_TITLE
frame header
bytes..................: 0x54 0x41 0x4C 0x42 0x00 0x00 0x00 0x13 0x00 0x00
frame type.............: TALB: ALBUM_TITLE - album/movie/show title
frame header size......: 10
frame body size........: 19
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 19 bytes
0x03 0x6E 0x65 0x77 0x73 0x20 0x4F 0x66 0x20 0x54 0x68 0x65 0x20 0x57 0x6F 0x72
0x6C 0x64 0x00
encoding: 3 - UTF-8
text....: news Of The World
ID3v2.4 frame: LEAD_PERFORMER
frame header
bytes..................: 0x54 0x50 0x45 0x31 0x00 0x00 0x00 0x07 0x00 0x00
frame type.............: TPE1: LEAD_PERFORMER - lead performer(s)/soloist(s)
frame header size......: 10
frame body size........: 7
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 7 bytes
0x03 0x51 0x55 0x45 0x45 0x4E 0x00
encoding: 3 - UTF-8
text....: QUEEN
ID3v2.4 frame: CONTENT_TYPE
frame header
bytes..................: 0x54 0x43 0x4F 0x4E 0x00 0x00 0x00 0x06 0x00 0x00
frame type.............: TCON: CONTENT_TYPE - content type
frame header size......: 10
frame body size........: 6
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 6 bytes
0x03 0x52 0x4F 0x43 0x4B 0x00
encoding: 3 - UTF-8
text....: ROCK
ID3v2.4 frame: LANGUAGE
frame header
bytes..................: 0x54 0x4C 0x41 0x4E 0x00 0x00 0x00 0x09 0x00 0x00
frame type.............: TLAN: LANGUAGE - language(s)
frame header size......: 10
frame body size........: 9
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 9 bytes
0x03 0x45 0x4E 0x47 0x4C 0x49 0x53 0x48 0x00
encoding: 3 - UTF-8
text....: ENGLISH
ID3v2.4 frame: SONG_TITLE
frame header
bytes..................: 0x54 0x49 0x54 0x32 0x00 0x00 0x00 0x12 0x00 0x00
frame type.............: TIT2: SONG_TITLE - title/songname/content description
frame header size......: 10
frame body size........: 18
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 18 bytes
0x03 0x57 0x45 0x20 0x57 0x49 0x4C 0x4C 0x20 0x52 0x4F 0x43 0x4B 0x20 0x59 0x4F
0x55 0x00
encoding: 3 - UTF-8
text....: WE WILL ROCK YOU
ID3v2.4 frame: TRACK_NUMBER
frame header
bytes..................: 0x54 0x52 0x43 0x4B 0x00 0x00 0x00 0x03 0x00 0x00
frame type.............: TRCK: TRACK_NUMBER - track number/position in set
frame header size......: 10
frame body size........: 3
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 3 bytes
0x00 0x31 0x00
encoding: 0 - ISO-8859-1
text....: 1
ID3v2.4 frame: RECORDING_TIME
frame header
bytes..................: 0x54 0x44 0x52 0x43 0x00 0x00 0x00 0x06 0x00 0x00
frame type.............: TDRC: RECORDING_TIME - recording date/time
frame header size......: 10
frame body size........: 6
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 6 bytes
0x00 0x31 0x39 0x37 0x37 0x00
encoding: 0 - ISO-8859-1
text....: 1977
ID3v2.4 frame: USER_DEFINED_TEXT_INFORMATION
frame header
bytes..................: 0x54 0x58 0x58 0x58 0x00 0x00 0x00 0x0D 0x00 0x00
frame type.............: TXXX: USER_DEFINED_TEXT_INFORMATION - user defined text information frame
frame header size......: 10
frame body size........: 13
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: user defined text information
bytes......: 13 bytes
0x03 0x49 0x4E 0x54 0x52 0x4F 0x00 0x31 0x32 0x30 0x30 0x30 0x00
encoding...: 3 - UTF-8
description: INTRO
text.......: 12000
ID3v2.4 frame: LENGTH
frame header
bytes..................: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
frame type.............: TLEN: LENGTH - length of the song (in ms)
frame header size......: 10
frame body size........: 0
tag alter preservation: false
file alter preservation: false
read only..............: false
compression............: false
encryption.............: false
grouping identity......: false
uncompressed size......: 0
encryption method......: 0
unsynchronized.........: false
data length indicator..: 0
group Id...............: 0
frame body: text information
bytes...: 0 bytes
encoding: 0 - ISO-8859-1
text....: 120000
ID3v2.4 tag footer: none
mpeg audio frame
file position......: 2219
mpeg audio frame header
size............: 4
bytes...........: 0xFF 0xFA 0xB2 0x40
MPEG version....: MPEG 1
MPEG layer......: Layer III
protected.by CRC: true
bit rate........: 192 kbit/s
frequency.......: 44100 hz
frame is padded.: true
private bit.....: false
channel mode....: Joint Stereo
mode extension..: intensity stereo: off, MS stereo: off
copyrighted.....: false
original media..: false
emphasis........: None
frame size......: 627 bytes
num samples.....: 1152
side info size..: 32 bytes
mpeg audio frame side information
size.: 32 bytes
bytes: 0x00 0x00 0x04 0xE6 0x42 0xBE 0xE8 0xC6 0x42 0xE0 0x59 0xC5 0xB7 0xCD 0x18 0x63
0x5A 0x40 0x28 0x01 0x14 0x00 0x00 0x00 0x20 0x00 0x00 0x25 0xC0 0x00 0x00 0x04
mpeg audio frame audio samples
size.: 589 bytes
ID3v1.0 tag
file position: 2903180
title........: WE WILL ROCK YOU
artist.......: QUEEN
album........: news Of The World
year.........: 1977
comment......: news Of The World
track........: 0
genre........: 0 - Blues
答案 1 :(得分:0)
乔斯特 非常感谢您的帮助。 既然您设法从mp3文件中检索信息,那么让我们开始吧。即使我尝试阅读所有内容,也找不到所需的信息。
我放入了此文件* .RAR >>>> www.iscriviti.altervista.org/MP3_PRIV_TAG.rar
两个MP3文件,同一首歌曲只有一首是原始歌曲,只有主要标签由Ripping程序(媒体播放器)编辑,而另一文件已由生成“私有标签”的软件编辑。
所以至少我认为比较和查看私有标签软件添加了哪些代码行更容易。
我希望您可以返回数据,或者更好地使用存储我感兴趣的数据的标签名称。
我试图使用那些已链接的软件,但老实说,我不明白如何开始使用它们。