Posted by: isaraffee | August 10, 2009

Playing Audio CDs and VCDs

Playing Audio CDs

Pop-in your music CD into the tray,. Vector Linux would not recognize the CD which means that you would not see the media being auto-mounted as shown by the following command:

root:# mount

/dev/hda1 on / type ext3 (rw)

tmpfs on /tmp type tmpfs (rw,size=128M,nr_inodes=8M,mode=1777)

usbfs on /proc/bus/usb type usbfs (rw,devgid=10,devmode=0666)

tmpfs on /dev/shm type tmpfs (rw)

You could not assess the CD contents using the Thunar file manager or even by command line as shown below.

root:# cd /mnt/cdrom/

vector://mnt/cdrom

root:# ls

vector://mnt/cdrom

To play the first track of the CD via command line, run the following command:

root:# mplayer cdda://1

MPlayer 1.0pre7try2-3.4.6 (C) 2000-2005 MPlayer Team

CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon (Family: 6, Stepping: 2)

Detected cache-line size is 32 bytes

CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0

Compiled with runtime CPU detection – WARNING – this is not optimal!

To get best performance, recompile MPlayer with –disable-runtime-cpudetection.

Playing cdda://1.

Found Audio CD with 14 tracks

Track 1

==========================================================================

Opening audio decoder: [pcm] Uncompressed PCM audio decoder

AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)

Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)

==========================================================================

Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le…

AF_pre: 44100Hz/2ch/s16le

AO: [oss] 44100Hz 2ch s16le (2 bps)

Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le…

Video: no video

Starting playback…

A: 53.1 (53.1) 39.0%

Exiting… (Quit)

The song came out jerky. It happened too when I tried to play other audio CDs. Then I decided to use the multimedia player, xine. It played perfectly.

insert picure xine

Note: All screenshots were taken using a program called shutterbug.

I also tried to use xmms, an audio player for X, but I could not locate the audio CD. It’s funny but I guessed the audio files have to be put into the hard disk first. I also tried gmplayer (a GUI version of mplayer). But it cannot locate the CD.

For watching VCD,

gmplayer cannot play

mplayer (via command line plays perfectly, the easiest and fastest)

xine (via gui plays normally)

xine (via command-line) has engine errors

You can mount the VCD by typing :

root:# mount -t iso9660 -o ro /dev/hdc /mnt/cdrom

Actually you don’ t need to mount the VCD to play the VCD. Even after you mounted the VCD, there is no way of playing the VCD by changing directory to the video files. You should use command line only.

In conclusion, for users who are new to Linux, they should use xine player to play audio CDs and VCDs. For Linux users, the recommended way to watch and play media files is through mplayer command line.

The audio player xmms is only useful if your audio files (mp3,etc) are already in your hard disk.

Cool Stuff!

Screensaver

XMATRIX, GLMatrix

Window Manager Themes

Screen Capture

root:# slapt-get –list | grep imagemagick

imagemagick-6.2.8_8-i486-2 [inst=yes]: imagemagick (a robust collection of image processing tools)

root:# slapt-get –show imagemagick-6.2.8_8-i486-2

Package Name: imagemagick

Package Mirror:

Package Location: /mnt/source/packages/x11/imagemagick-6.2.8_8-i486-2.tlz

Package Version: 6.2.8_8-i486-2

Package Size: 0 K

Package Installed Size: 0 K

Package Required:

Package Conflicts:

Package Suggests:

Package MD5 Sum:

Package Description:

imagemagick (a robust collection of image processing tools)

ImageMagick is a collection of tools for manipulating and displaying

digital images. It can merge images, transform image dimensions,

do screen captures, create animation sequences, and convert between

many different image formats.

ImageMagick was written by John Cristy of ImageMagick Studio.

Home page: http://www.imagemagick.org/

Package Installed: yes

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: