检测刻录为 CDDA 的原始刻录数据的格式
给定一个包含刻录到 CD/DVD 的原始数据的文件,我试图找出使用了哪种格式(即 ISO、UDF 等)。
例如,我可以检测 ISO9660 格式,因为在 2048 字节扇区之一的开头我可以找到字符串“CD001”。
然而,当涉及到CDDA(红皮书)数据时,似乎就困难得多。我尝试寻找同步字节,但到目前为止还不是很幸运。这种情况下的另一个复杂之处是每个轨道都被写入另一个文件。例如,对于 ISO,一切都在一个轨道上;对于音频,我为每个轨道都有一个单独的文件。
我知道这种格式被许多公司滥用,所以我只是在寻找一种很好的检测方法。
具体情况是检测Windows Media Player 创建的音频CD(CDDA 格式)。
有什么建议吗?
Given a file containing raw data burned to a CD/DVD, I'm trying to figure out which format was used (i.e. ISO, UDF, etc.).
For example, I can detect the ISO9660 format because in the beginning of one of the 2048-byte sectors I can find the string "CD001".
However, when it comes to CDDA (Redbook) data, it seems to be much harder. I tried looking for the synchronization bytes, but wasn't very lucky so far. Another complication in this case is that each track is written to another file. In case of ISO, for example, everything is on a single track; In case of audio I got a separate file for each track.
I'm aware that this format is abused by many companies, so I'm just looking for a pretty good detection.
The specific case is to detect audio CD (in CDDA format) created by Windows Media Player.
Any suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论