You are not logged in.

#1 2020-01-04 20:09:33

ratcheer
Member
Registered: 2011-10-09
Posts: 772

[Solved] How to play Audio CD with VLC

I used to do this all the time on Arch Linux, but today I cannot make it work. I simply want to play an audio cd using VLC.

This is how VLC documents doing it:

vlc cdda:///dev/cdrom

When I do that, I get:

VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[00005559359695b0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000555935a6a4f0] main interface error: option cd-audio does not exist

The salient factor seems to be that "option cd-audio does not exist".  I have searched the VLC FAQ, the Arch Wiki, this subforum, and the internet in general. I'm not finding anything that I can tell addresses my problem. What am I missing?

PS - flac files stored on my data disk play just fine with VLC.

Last edited by ratcheer (2020-01-04 20:53:48)

Offline

#2 2020-01-04 20:13:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,486

Re: [Solved] How to play Audio CD with VLC

 pacman -Qi vlc | grep "audio CD"

?

Offline

#3 2020-01-04 20:30:30

ratcheer
Member
Registered: 2011-10-09
Posts: 772

Re: [Solved] How to play Audio CD with VLC

pacman -Qi vlc | grep "audio CD"
                  libcdio: audio CD playback

Also, if I try to mount the device, I get:

mount /dev/sr0 /mnt/cdrom
mount: /mnt/cdrom: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.

Offline

#4 2020-01-04 20:32:26

ratcheer
Member
Registered: 2011-10-09
Posts: 772

Re: [Solved] How to play Audio CD with VLC

I have found a 2016 post that says it solves the problem, but it's in Italian, so I can't really read it.

https://archlinux.it/forum/viewtopic.ph … 3&start=25

I tried the last suggestion I saw, which was to mount it to a directory under /tmp. But, I got the same error:

# mkdir /tmp/cdaudio && mount /dev/sr0 /tmp/cdaudio
mount: /tmp/cdaudio: wrong fs type, bad option, bad superblock on /dev/sr0, missing codepage or helper program, or other error.

Last edited by ratcheer (2020-01-04 20:39:50)

Offline

#5 2020-01-04 20:45:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,486

Re: [Solved] How to play Audio CD with VLC

Install that library, that output would include information on the fact that libcdio is installed, which it doesn't seem to be.

Offline

#6 2020-01-04 20:50:55

ratcheer
Member
Registered: 2011-10-09
Posts: 772

Re: [Solved] How to play Audio CD with VLC

Ok, I have found a couple of articles and posts in various places that say you're not supposed to try to mount an audio cd, just insert it and point your player to the device, like it says in my top post. So the only problem seems to be that my system is missing sonething to play "audio-cd", such as a plugin or codec or something. I will search form that point of view...

Offline

#7 2020-01-04 20:51:38

ratcheer
Member
Registered: 2011-10-09
Posts: 772

Re: [Solved] How to play Audio CD with VLC

Crosspost. Thanks, I'll look for libcdio.

30 seconds later: That fixed it. Thanks very much!

Last edited by ratcheer (2020-01-04 20:53:28)

Offline

Board footer

Powered by FluxBB