Ken Moffat wrote:
> On Sat, Dec 15, 2012 at 11:29:26AM -0600, Bruce Dubbs wrote:
>> Ken Moffat wrote:
>>>
>>>    2. if you were already doing that,perhaps you are missing libcddb ?
>>
>> I do have libkcddb.so.  Are you referring to that.  I don't see a
>> libcddb in the index.  I'm alos going to try Armin's suggestions.
>>
>   No, libcddb-1.3.2.  No idea if it is mentioned in the book :)

I've figured out how to play an audio CD from the command line.

I rebuilt a full LFS (today's SVN).  I then installed alsa-{libs,utils}. 
  I ran alsamixer for the volume and the speaker test is fine.  It also 
plays a .wav file without problem.

I then installed cd-paranoia.  It copies files from the audio CD to a 
.wav file.  aplay plays the .wav file OK.

I then installed libcdio.   It has several programs -  cd-info, 
cd-drive, cd-read, cdda-player.  It seems to read the cd ok.  For example:

$ cdda-player -l
Title :
Artist:
  1:  [1379 seconds]
  2:  [560 seconds]
  3:  [484 seconds]
  4:  [793 seconds]

but it doesn't seem to know anything about alsa so it doesn't actually 
play anything.

libcdio is mentioned in several places in the book as an external 
optional dependency: gvfs, audacious, ffmpeg, mplayer, and 
gst-plugins-{good,ugly}.

The last thing I installed tonight was mplayer.  After building it, I 
didn't see libcdio being used.  Perhaps that's because cdio installs the 
headers in /usr/include/cdio/ and mplayer is looking for 
/usr/include/sys/cdio.h   :(

Playing the audio CD sorta worked with mplayer but it stopped and 
started in a very irritating manner.  I finally got it to work OK with:

mplayer -cache 1000 -ao alsa cdda://2

The 1M cache seemed to do the trick. It can be set permanently in 
/etc/mplayer/mplayer.conf or ~/.mplayer/config.

There certainly are a lot of audio apps in BLFS.  I'm going to try to 
explore them a bit more.  There are lots of configuration issues to 
check.  The command line apps include:

ogg123
mpg123
vlc
pulseaudio
(plus alsa and mplayer)

and the GUIs include

gmplayer
qvlc
amarok
audacious

plus there are a bunch multimedia of libraries.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to