1BCHUNK(1)                   General Commands Manual                  BCHUNK(1)
2
3
4

NAME

6       bchunk - CD image format conversion from bin/cue to iso/cdr
7

SYNOPSIS

9       bchunk [-v] [-p] [-r] [-w] [-s] <image.bin> <image.cue> <basename>
10

DESCRIPTION

12       bchunk converts a CD image in a ".bin / .cue" format (sometimes ".raw /
13       .cue") to a set of .iso and .cdr tracks.
14
15       The bin/cue format is used by some non-Unix cd-writing software, but is
16       not supported on most other cd-writing programs.
17
18       image.bin  is  the raw cd image file. image.cue is the track index file
19       containing track types and offsets.  basename is used for the beginning
20       part of the created track files.
21
22       The  produced  .iso  track  contains  an  ISO file system, which can be
23       mounted through a loop device on Linux systems, or written  on  a  CD-R
24       using  cdrecord.   The  .cdr  tracks are in the native CD audio format.
25       They can be either written on a CD-R using  cdrecord  ‐audio,  or  con‐
26       verted to WAV (or any other sound format for that matter) using sox.
27
28       The  output  type  depends on the input type (data is just copied).  If
29       the input is in ISO format, the output will be. On the other  hand,  if
30       the  input is raw audio data, the output will be CDR or WAV (the latter
31       if ‐w is given).
32
33       It is advisable to edit the .cue  file  to  either  MODE2/2352/2048  or
34       MODE2/2352/2324  depending  on  whether  an  ISO filesystem or a VCD is
35       desired, respectively.  The format itself does not contain this feature
36       and in an ambiguous case it can only guess.
37

OPTIONS

39       -v        Makes  binchunker print some more unnecessary messages, which
40                 should not be of interest for anyone.
41
42       -w        Makes binchunker write audio tracks in WAV format.
43
44       -s        Makes binchunker swap byte order  in  the  samples  of  audio
45                 tracks.
46
47       -p        Makes  binchunker  go  into  PSX mode and truncate MODE2/2352
48                 tracks to 2336 bytes at offset 0 instead of normal 2048 bytes
49                 at offset 24.  Use this option if input is in PSX mode.
50
51       -r        Makes binchunker output MODE2/2352 tracks in raw format, from
52                 offset 0 for 2352 bytes. Good for MPEG/VCD. Use  this  option
53                 if input is in raw format.
54

FILES

56       image.bin
57            Raw CD image file
58
59       image.cue
60            TOC (Track index, Table Of Contents) file
61
62       *.iso
63            Tracks in ISO9660 CD filesystem format. Can be either written on a
64            CD-R using cdrecord, or mounted  (on  Linux  platforms  at  least)
65            through   a   loop   device   ('mount   track.iso   /mnt/cdrom  ‐o
66            loop=/dev/loop0,blocksize=1024').
67
68       *.cdr
69            Audio tracks in native CD audio format. They can be either written
70            on  a  CD-R  using  'cdrecord ‐audio', or converted to WAV (or any
71            other sound format for that  matter)  using  sox  ('sox  track.cdr
72            track.wav').
73
74       *.wav
75            Audio tracks in WAV format.
76

SEE ALSO

78       cdrecord(1), mkisofs(8), sox(1), cdrdao(1)
79

AUTHORS

81       Heikki Hannikainen <hessu@hes.iki.fi>
82       Bob Marietta <marietrg@SLU.EDU>
83       Colas Nahaboo <Colas@Nahaboo.com>
84       Godmar Back <gback@cs.utah.edu>
85       Matthew Green <mrg@eterna.com.au>
86
87
88
89Heikki Hannikainen            v1.2.2 14 Nov 2017                     BCHUNK(1)
Impressum