如何将 .cue / .bin(带有 cdr 轨道)图像转换为单个 .iso 文件?

Raf*_*ael 22 shell iso audio-cd data-cd

如何将 .cue / .bin(cdr 轨道)图像转换为单个 .iso 文件?

我有 Fedora 16 (x86-64)

Linux 3.1.9-1.fc16.x86_64 #1 SMP Fri Jan 13 16:37:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

J. *_*ker 22

您应该查看bchunk,它专门用于这种类型的转换。你应该可以用 安装它sudo yum install bchunk,但我只有 95% 确定它在标准仓库中。bchunk将从任何数据轨道创建 ISO,并为任何 CD 音频创建 CDR。如果你想把所有东西都放在一个 ISO 里bchunk是不合适的。

语法是这样的,

bchunk IMAGE.bin IMAGE.cue IMAGE.iso
Run Code Online (Sandbox Code Playgroud)

要创建一个包含所有轨道的单个 ISO,请查看bin2iso. bin2iso很可能不包含在您的标准回购中。尽管 RPM 确实存在于非正式的网上。我建议使用 PowerISO over bin2iso,因为bin2iso它没有更新。

bin2iso <cuefile>
Run Code Online (Sandbox Code Playgroud)

您还可以转换PowerISO。它是商业软件,但 linux 版本是免费软件。有时,如果我在使用自由软件进行不同图像转换时遇到问题,我会尝试使用 PowerISO。


小智 6

If the BIN file contains CD-Audio tracks you cannot convert it to an ISO image! The reason for this is that, unlike e.g. a CD-ROM, the data structure of an audio CD is fundamentally incompatible with an ISO 9660 file system. See the link below for a paper that gives a good explanation of this:

http://journal.code4lib.org/articles/9581

However, you could use bchunk (as suggested above) with the -w option, which generates output in WAV format. Command line would be something like this:

bchunk -s -w IMAGE.bin IMAGE.cue IMAGE
Run Code Online (Sandbox Code Playgroud)

This will create WAV files for each audio track, e.g.:

IMAGE001.wav
IMAGE002.wav
Run Code Online (Sandbox Code Playgroud)

Etcetera. The -s switch does a byte swap on the audio samples. If you omit it, the Endianness of the WAVs will be wrong, and they will play as static noise (a least that's what happened when I last tried).