On 12/15/2012 05:10 AM, Bruce Dubbs wrote: > I've been experimenting with multimedia, but have run into a problem > with accessing an audio CD in some applications, but not others. > > There is no problem with accessing the CD with k3b and it copies the > tracks to the hard disk just fine. > > The system can also play audio CDs with vlc (specifically qvlc). > > Using xfce, I cannot get audacious, mplayer, or amarok to access an > audio CD, although all three can play a track from the hard disk without > problem. >
I have KDE and Amarok and I couldn't get audio cd to play. I found this thread http://forum.kde.org/viewtopic.php?f=115&t=96855 and I noticed someone mentioned audiocd-kio. I went to ftp://ftp.kde.org/pub/kde/stable/4.9.4/src/ grabbed libkcompatdisc-4.9.4.tar.xz and audiocd-kio-4.9.4.tar.xz (built in that order), built and installed them and now I have Amarok playing audio cd's - hell yeah! I switched to vlc backend, but I can try using gstreamer if you like (I have all plugins). mplayer plays audio cd's for me just fine: $ mplayer cdda:////dev/sr0 MPlayer SVN-r35467-4.7.2 (C) 2000-2012 MPlayer Team 199 audio & 416 video codecs Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick Playing cdda:////dev/sr0. Found audio CD with 15 tracks. Track 1 rawaudio file format detected. ========================================================================== 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) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 176.0 (02:55.9) of 4219.8 ( 1:10:19.8) 1.4% I did have libcdio when I ran mplayer configure which is, I believe, used for audio cd playback. I am not sure if libcdparanoia can be used with mplayer. $ ldd `which mplayer` | grep cdio libcdio_cdda.so.1 => /usr/lib/libcdio_cdda.so.1 (0x00007f39a3a7d000) libcdio.so.13 => /usr/lib/libcdio.so.13 (0x00007f39a3858000) libcdio_paranoia.so.1 => /usr/lib/libcdio_paranoia.so.1 (0x00007f39a3651000) If you want to try mplayer with libcdio, I wouldn't recommend 0.90 version since it breaks lots of stuff. > I thought that I might have had a D-Bus problem, but the D-Bus session > appears to be set correctly in the environment. At first I did not have > udisks but I did install udisks-1.0.4 and rebuilt audacious and amarok > and still cannot use them to play an audio CD. > I don't think udisks has something to do with playing audio cd's. > In amarok, I checked that Settings > Configure Amarok > Playback > > Configure Phonon is configured to prefer vlc. When I eject the CD, and > re-insert, Amarok recognizes that the CD has been inserted, but says 0 > tracks. > > A couple of things that I have *not* done is build gobject-introspection > or all the gstreamer plugins (I've just got the base plugins installed). > The version of gstreamer is 0.10.36. I didn't think that gstreamer > was really needed if I was using vlc. I can certainly go back and build > those, but wanted to see if anyone had some insight into this issue. > > -- Bruce You don't really need introspection outside of GNOME nor you need GStreamer plugins if you use GStreamer for playback which you don't as you said you use VLC for that. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
