Extracting from a .bin file

Randy Pratt rpratt1950 at earthlink.net
Sat May 3 08:09:51 PDT 2003


On Sat, 03 May 2003 00:53:55 -0700
Pat Lashley <patl+freebsd at volant.org> wrote:

> --On Friday, May 02, 2003 18:53:41 -0400 Randy Pratt 
> <rpratt1950 at earthlink.net> wrote:
> 
> > On Fri, 2 May 2003 18:22:29 -0400
> > Mathew Kanner <mat at cnd.mcgill.ca> wrote:
> >
> >> On May 02, Randy Pratt wrote:
> >> > I've tried several things (transcode, ffmpeg, vcdgear) but can't seem
> >> > to hit on the right combination of things to make it happen.
> >>
> >> 	Can you play it with mplayer (in the ports)?
> >
> > I've been successful in playing .bin files that do not contain vorbis
> > audio but this one will not play with mplayer.
> >
> > The only other information I have is from the .cue and .toc files:
> 
> A .bin with an accompanying .cue is the output from a popular Windows
> CD-ripping program.  You can use bchunk (/usr/ports/sysutils/bchunk)
> to convert it into an .iso file that can either be burned onto a CD
> or mounted using vnconfig.

I've tried using bchunk and it does create a .iso image:

	Reading the CUE file:

	Track  1: MODE2/2352    01 00:00:00 (startsect 0 ofs 0)
	Track  2: MODE2/2352    01 00:22:56 (startsect 1706 ofs 4012512)

	Writing tracks:

	 1: movie01.iso 
	 mmc sectors 0->1706 (1707)
	 mmc bytes 0->4012511 (4012512)
	 sector data at 24, 2048 bytes per sector
	 real data 3495936 bytes
	   3/3    MB  [********************] 100 %
	 2: movie02.iso 
	 mmc sectors 1706->357544 (355839)
	 mmc bytes 4012512->840943488 (836930977)
	 sector data at 24, 2048 bytes per sector
	 real data 728758272 bytes
	 694/694  MB  [********************] 100 %

Things look as if they went well, but when trying to mount:

	vnconfig -c -v vn0 movie-02.iso
	/dev/vn0: 0 bytes on movie02.iso
	mount_cd9660 /dev/vn0 /mnt
	cd9660: /dev/vn0: Invalid argument

Either this .bin file is corrupt or isn't what it appears to be.

Thanks

Randy



More information about the freebsd-multimedia mailing list