LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-31-2004, 07:11 AM   #1
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Rep: Reputation: 15
.bin/.cue to .avi?


What program could I use to convert a .bin (with a .cue) moviefile to an .avi?
 
Old 10-31-2004, 10:50 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
if you can play the files in mplayer, look at the command mencoder , by default it produces avi's , but can also make mpg's if i recall ...
 
Old 10-31-2004, 11:53 AM   #3
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Nope; that's part of the problem. Can't play them in mplayer; but essentially, I really just want to convert to .avi files.
 
Old 10-31-2004, 12:23 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
mplayer CAN play vcd's from .cin/.bin file pairs. this means that mencoder CAN encode from .cue/.bin to .avi. check the manpage for mplayer for details of mecnoders usage.
 
Old 10-31-2004, 01:52 PM   #5
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Do you need an extra codec to play them? I've got around 4/5 different .bin/.cue files, and none of them work with mplayer.
 
Old 10-31-2004, 01:56 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
nope. i guess you're using the wrong command, but all you've said it "it doesn't work" whcih is not useful.
 
Old 10-31-2004, 02:05 PM   #7
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Sorry; I've just been opening it up in GUI. Tried running it through Konsole, and get the same classic mplayer "Error!". This is the output, if it's any use:
Quote:
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2081 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/francis/.mplayer/config
[cfg] read config file: /home/francis/.mplayer/gui.conf
Reading config file /home/francis/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/francis/.mplayer/codecs.conf: Can't open '/home/francis/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/francis/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Using usleep() timing
Can't open input config file /home/francis/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
SKIN dir 1: '/home/francis/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing /home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.bin.
MPEG-PS file format detected.
VIDEO: MPEG2 480x480 (aspect 2) 29.970 fps 2530.0 kbps (316.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 28000->192000 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: Device or resource busy
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
Hmm, interestingly enough, after leaving it open for some time, the film starts playing, but is interrupted every second or two by an Error message flashes and disturbing the playback.
 
Old 10-31-2004, 03:06 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
try from a console then...
Code:
mplayer cue://file[:track] [options]
 
Old 10-31-2004, 03:32 PM   #9
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
I'm putting in:
Code:
mplayer cue://file:/home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue
and I'm getting "invalid cue track". Sorry, I was a little confused about what you had there; am I doing it right?
 
Old 10-31-2004, 03:34 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
drop all the file:// nonsense... just put the real file anem there.
 
Old 10-31-2004, 03:52 PM   #11
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
Still getting the "Error!" with:
Code:
[bincue] cannot open
...that's from:

mplayer cue://home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue

Figured I might need an extra / there before home, but I still get an Error!, but without hte [bincue] stuff this time.

Last edited by apokryphos; 10-31-2004 at 03:54 PM.
 
Old 10-31-2004, 03:54 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
mplayer cue://home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue

right? again please provide the FULL output from mplayer. it can be easy to miss something.
 
Old 10-31-2004, 03:58 PM   #13
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
You're quick. I had edited back in a coupla mins after. Hmm, ok, the full output:
Code:
[francis@localhost CD1]$ mplayer cue:///home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue
MPlayer 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2081 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/francis/.mplayer/config
[cfg] read config file: /home/francis/.mplayer/gui.conf
Reading config file /home/francis/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/francis/.mplayer/codecs.conf: Can't open '/home/francis/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/francis/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Using usleep() timing
Can't open input config file /home/francis/.mplayer/input.conf: No such file ordirectory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
SKIN dir 1: '/home/francis/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing cue:///home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue.
dirname: /home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1
[bincue] using bin file coll.cd1-stormvcd.bin
track 00:  format=20  00:00:00
track 01:  format=20  00:06:56
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  2530.0 kbps (316.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 28000->192000 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 480 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: Device or resource busy
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
and

Code:
[francis@localhost CD1]$ mplayer cue://home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue
MPlayer 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2081 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/francis/.mplayer/config
[cfg] read config file: /home/francis/.mplayer/gui.conf
Reading config file /home/francis/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/francis/.mplayer/codecs.conf: Can't open '/home/francis/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/francis/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Using usleep() timing
Can't open input config file /home/francis/.mplayer/input.conf: No such file ordirectory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
SKIN dir 1: '/home/francis/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing cue://home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue.
dirname: home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1
[bincue] cannot open home/francis/torrent/finished/Collateral.2004.TC.SVCD-SToRMVCD/CD1/coll.cd1-stormvcd.cue


Exiting... (Exit)
 
Old 10-31-2004, 04:06 PM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
hehe, i'll try to slow down....

remove and unneccesary leading directories. if you're already in you home dir, drop "home/user/"
 
Old 10-31-2004, 04:21 PM   #15
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Original Poster
Rep: Reputation: 15
It works! Well... not really. Just tried it with two .cue files, and in both cases it starts working perfectly and then cuts off a few seconds later. In both cases I get something like...
Code:
Broken frame at 0x1E892
I'm extracting two others now, so I'll see if the files are the problem, though I doubt it.

Edit: Oh, the whole output:
Code:
[francis@localhost CD1]$ gmplayer cue://fbC-cell1.cue
MPlayer 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2474 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/francis/.mplayer/config
[cfg] read config file: /home/francis/.mplayer/gui.conf
Reading config file /home/francis/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
Reading /home/francis/.mplayer/codecs.conf: Can't open '/home/francis/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /home/francis/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Using usleep() timing
Can't open input config file /home/francis/.mplayer/input.conf: No such file ordirectory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
SKIN dir 1: '/home/francis/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing cue://fbC-cell1.cue.
dirname: .
bincue_path: .
[bincue] using bin file fbC-cell1.bin
track 00:  format=20  00:00:00
track 01:  format=20  00:04:00
MPEG-PS file format detected.
VIDEO:  MPEG1  352x240  (aspect 12)  29.970 fps  1150.0 kbps (143.8 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 352 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 352x240 => 352x264 Planar YV12
A:   4.8 V:   4.8 A-V:  0.003 ct:  0.075  126/126   4% 11%  0.7% 0 0 0%
Broken frame at 0x1E892
A:   5.1 V:   5.3 A-V: -0.142 ct:  0.077  141/141   3% 11%  0.6% 0 0 0%
Successfully enabled DPMS

Exiting... (Exit)

Last edited by apokryphos; 10-31-2004 at 04:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bin/cue emulating mantasman Linux - Software 1 05-27-2005 11:35 PM
.iso and bin/cue m00mba Linux - General 4 10-10-2004 11:07 PM
.bin and .cue files? raven Linux - General 3 12-06-2003 11:38 AM
.BIN and .CUE Files AIRLNRGUY Linux - Software 1 07-28-2003 02:01 AM
Mounting bin/cue Hubas Linux - Newbie 1 01-14-2003 07:13 PM


All times are GMT -5. The time now is 04:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration