December 11, 2017, 09:10:51 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How can I play vcd from second cdrom in mplayer  (Read 2801 times)

taraj

  • Guest
How can I play vcd from second cdrom in mplayer
« on: August 27, 2005, 08:15:01 PM »
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 ?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
How can I play vcd from second cdrom in mplayer
« Reply #1 on: August 28, 2005, 08:43:34 AM »
umm..
if your other cdrom device detected via system then you can play it easily.
Try finding its location.. can be by
Code: [Select]
ls -l /dev/cdrom*
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: [Select]
mplayer vcd://1 /dev/scd0
Here "1"  is for track to be played.

Offline christopher_1

  • Linux Noob !
  • *
  • Posts: 22
not able to play cd from second cdrom
« Reply #2 on: April 16, 2006, 05:39:36 PM »
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.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
How can I play vcd from second cdrom in mplayer
« Reply #3 on: April 17, 2006, 12:04:26 PM »
well.. I have attended this question at the other place you have also asked.