Hardware Troubleshooting in Linux > Linux Video Support

How can I play vcd from second cdrom in mplayer

(1/1)

taraj:
How can I play that ?
I have two cd drives : one is cd rom and another is cdwriter. I can play mplayer vcd://1 , then it plays from cdrom but what if I want to play from cd wrier ie second cddrive ?

Ricky:
umm..
if your other cdrom device detected via system then you can play it easily.
Try finding its location.. can be by

--- Code: ---ls -l /dev/cdrom*
--- End code ---

It will then show you all cddrives in your computer and their location. In my case my cd writer is /dev/scd0 so I will play it like

--- Code: ---mplayer vcd://1 /dev/scd0
--- End code ---

Here "1"  is for track to be played.

christopher_1:
Hi,

I am not able to play cd from my writer using mplayer, i followed the tip given by you, but i am getting this error:

[root@localhost root]# mplayer vcd://1 /dev/scd0
MPlayer 1.0pre7try2-3.2.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
 
 
Playing vcd://1.
CD-ROM Device '/dev/cdrom' not found.
Failed to open vcd://1
 
Playing /dev/scd0.
 
 
Exiting... (End of file)


I am  able to play the same cd from my cdrom without any problems. When i give ls -l /dev/cdrom* i get the following output.

[root@localhost root]# ls -l /dev/cdrom*
lrwxrwxrwx    1 root     root            8 Apr 10 00:48 /dev/cdrom -> /dev/hdd
lrwxrwxrwx    1 root     root            9 Apr 10 00:48 /dev/cdrom1 -> /dev/scd0


Thanks,
Christopher.

Ricky:
well.. I have attended this question at the other place you have also asked.

Navigation

[0] Message Index

Go to full version