You are not logged in.

#1 2014-05-23 17:57:23

blauman
Member
Registered: 2014-03-05
Posts: 97

[SOLVED] unable to play audio CD and DVD

Hi, i have arch with KDE.. i have a problem with cd audio..when i open them with kaffeine i have this error:    cannot find plugin for MRL "cdda://". with vlc too i have a similar error! i must find some plugin codec or what?? thanks!

Last edited by blauman (2016-01-31 19:21:07)


The biggest flaw of Arch are the Archers

Offline

#2 2014-05-24 15:57:02

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] unable to play audio CD and DVD

Do you have gstreamer and its plugins installed?

See the gstreamer wiki page: https://wiki.archlinux.org/index.php/GStreamer

I don't know whether Kaffeine uses the current version of gstreamer or the legacy version. You might want to install both.

Offline

#3 2014-05-24 19:56:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,206

Re: [SOLVED] unable to play audio CD and DVD

Kaffeine uses xine, check the optional dependencies to install needed codecs

Offline

#4 2014-05-24 20:51:24

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

For vlc it is libcdio

Offline

#5 2014-05-25 16:12:37

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

yes i have gstreamer and all his plugins, xine-lib, libcdio, libdvdcss, vlc.. but nothing! i have read something about file fstab..but i have no idea how to configure it! it can be a fstab problem?


The biggest flaw of Arch are the Archers

Offline

#6 2014-05-25 16:29:09

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

vlc cdda://

works for me without the disc mounted.  You might need to append the dev the disk is in such as

vlc cdda:///dev/sr0

Last edited by loqs (2014-05-25 16:33:52)

Offline

#7 2014-05-25 17:09:59

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

this is my output for it in both cases:

[francesco@Satellite-Pro-U400 ~]$ vlc cdda:///dev/sr0
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1e3dcd8] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x1d2c118] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. Usa 'cvlc' per utilizzare vlc senza interfaccia.
[0x7fbe78001048] cdda access error: could not read TOCHDR
[0x7fbe78001048] cdda access error: no audio tracks found
[0x7fbe7c0009b8] main input error: open of `cdda:///dev/sr0' failed

Last edited by blauman (2014-05-25 17:10:53)


The biggest flaw of Arch are the Archers

Offline

#8 2014-05-25 18:11:48

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

blauman wrote:

this is my output for it in both cases:

[francesco@Satellite-Pro-U400 ~]$ vlc cdda:///dev/sr0
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1e3dcd8] pulse audio output error: PulseAudio server connection failure: Connection refused
[0x1d2c118] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. Usa 'cvlc' per utilizzare vlc senza interfaccia.
[0x7fbe78001048] cdda access error: could not read TOCHDR
[0x7fbe78001048] cdda access error: no audio tracks found
[0x7fbe7c0009b8] main input error: open of `cdda:///dev/sr0' failed

The last 3 lines of that output match what I see when no disk is in the drive
Also testing with xine which kaffeine seems to use as its backend produces your initial error when no disk is in the drive.
Perhaps /dev/sr0 is not the correct path I was using that as an example /dev/cdrom should be linked to the first cdrom device.
Perhaps the disk is unreadable

cd-info --no-cddb /dev/cdrom

Will show if libcdio can find any tracks on the device at /dev/cdrom
Perhaps I am misunderstanding and there is no disc you want to play an image file of a CD.

Last edited by loqs (2014-05-25 19:01:41)

Offline

#9 2014-06-16 19:07:32

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

Well, i am trying to see a DVD but nothing...from terminal with   cd-info --no-cddb /dev/cdrom this is the output:

 [francesco@Satellite-Pro-U400 ~]$ cd-info --no-cddb /dev/cdrom
cd-info version 0.92 x86_64-unknown-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location   : /dev/cdrom
CD driver name: GNU/Linux
   access mode: IOCTL

Vendor                      : MATSHITA
Model                       : DVD-RAM UJ862AS 
Revision                    : 1.50
Hardware                                  : CD-ROM or DVD
Can eject                                 : Yes
Can close tray                            : Yes
Can disable manual eject                  : Yes
Can select juke-box disc                  : No

Can set drive speed                       : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device                     : Yes

Reading....
  Can read Mode 2 Form 1                  : Yes
  Can read Mode 2 Form 2                  : Yes
  Can read (S)VCD (i.e. Mode 2 Form 1/2)  : Yes
  Can read C2 Errors                      : Yes
  Can read IRSC                           : Yes
  Can read Media Channel Number (or UPC)  : Yes
  Can play audio                          : Yes
  Can read CD-DA                          : Yes
  Can read CD-R                           : Yes
  Can read CD-RW                          : Yes
  Can read DVD-ROM                        : Yes

Writing....
  Can write CD-RW                         : Yes
  Can write DVD-R                         : Yes
  Can write DVD-RAM                       : Yes
  Can write DVD-RW                        : No
  Can write DVD+RW                        : No
__________________________________

Disc mode is listed as: No information
++ WARN: error in ioctl CDROMREADTOCHDR: Input/output error

cd-info: Can't get first track number. I give up. 

i don't know...

Edit:ok Karol, i was wrong!

Last edited by blauman (2014-06-16 19:16:48)


The biggest flaw of Arch are the Archers

Offline

#10 2014-06-16 19:13:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] unable to play audio CD and DVD

When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#11 2014-06-16 19:21:04

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

vlc dvd:///dev/sr0

or

vlc dvdnav:///dev/sr0

Offline

#12 2014-06-16 19:30:43

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

For the first one:

 [francesco@Satellite-Pro-U400 ~]$ vlc dvd:///dev/sr0
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1862118] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. Usa 'cvlc' per utilizzare vlc senza interfaccia.
Could not resolve property : linearGradient5601
Could not resolve property : linearGradient5601
Could not resolve property : linearGradient5601
libdvdnav: Using dvdnav version 4.2.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.BU.
[0x7faa6c0009b8] main input error: open of `dvd:///dev/sr0' failed  

For the second one:

 [francesco@Satellite-Pro-U400 ~]$ vlc dvdnav:///dev/sr0
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x7e7118] main libvlc: Esecuzione di vlc con l'interfaccia predefinita. Usa 'cvlc' per utilizzare vlc senza interfaccia.
Could not resolve property : linearGradient5601
Could not resolve property : linearGradient5601
Could not resolve property : linearGradient5601
libdvdnav: Using dvdnav version 4.2.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[0x7f14440009b8] main input error: open of `dvdnav:///dev/sr0' failed 

i don't know!!


The biggest flaw of Arch are the Archers

Offline

#13 2014-06-16 19:33:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] unable to play audio CD and DVD

Run

LC_ALL=C <command>

to get the output in English.

Are you running vlc from the tty of from a console in X?

Offline

#14 2014-06-16 19:37:21

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

If /dev/sr0 was the correct device path that should work for a standard dvd video disc.
Did I miss understand and it is instead a recordable dvd with media files on it?

Offline

#15 2014-06-16 19:38:47

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

 [francesco@Satellite-Pro-U400 ~]$ LC_ALL=C vlc dvdnav:///dev/sr0
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x1cf2148] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Could not resolve property : linearGradient5601
Could not resolve property : linearGradient5601
Could not resolve property : linearGradient5601
libdvdnav: Using dvdnav version 4.2.1
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[0x7f05200009b8] main input error: open of `dvdnav:///dev/sr0' failed 

for your question i don't know what mean...sorry but i am a newbie big_smile

oh i'm trying with 3 differents original DVD films!

Last edited by blauman (2014-06-16 19:39:41)


The biggest flaw of Arch are the Archers

Offline

#16 2014-06-16 19:51:27

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

The device path is the name (string) that identifies the dvd drive in my code above I assumed it "/dev/sr0" which added to media type string "dvdnav://" gives "dvdnav:///dev/sr0"
For your system the device path must be something else.
If it is the same device as you were using for the cdrom testing you could check

ls -la /dev/cdrom

which should show something similar to

lrwxrwxrwx 1 root root 3 Jun 16 20:18 /dev/cdrom -> sr0

Meaning on my system /dev/cdrom is a symbolic link to /dev/sr0

Offline

#17 2014-06-16 19:55:51

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

well, the output is exactly the same of yours (change only the time)..it seems to be sr0 to me too!


The biggest flaw of Arch are the Archers

Offline

#18 2014-06-16 20:01:53

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

Can you try as root

$ mount /dev/sr0 /mnt
mount: /dev/sr0 is write-protected, mounting read-only
$ ls /mnt
VIDEO_TS
$ mount | grep /dev/sr0
/dev/sr0 on /mnt type udf (ro,relatime,uid=1000,gid=100,umask=77,iocharset=utf8)

edit: or using sudo etc

Last edited by loqs (2014-06-16 20:02:25)

Offline

#19 2014-06-16 20:08:32

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

i don't know.. these are my output:

 
[francesco@Satellite-Pro-U400 ~]$ LC_ALL=C sudo mount /dev/sr0 /mnt
mount: /dev/sr0: can't read superblock
[francesco@Satellite-Pro-U400 ~]$ LC_ALL=C sudo ls /mnt
[francesco@Satellite-Pro-U400 ~]$ LC_ALL=C sudo mount | grep /dev/sr0
[francesco@Satellite-Pro-U400 ~]$ 

The biggest flaw of Arch are the Archers

Offline

#20 2014-06-16 21:53:21

loqs
Member
Registered: 2014-03-06
Posts: 18,891

Re: [SOLVED] unable to play audio CD and DVD

Brief explanation of what the commands were attempting to do

mount /dev/sr0 /mnt

mount the device "/dev/sr0" into the filesystem at "/mnt" this failed ( mount would use the superblock of the device to determine what filesystem to use )
/mnt is conventionally an empty directory used as a temporary mount point

ls /mnt

list the contents of "/mnt" which would have been the root directory of the dvd if mount had succeeded
as the mount failed and the directory is empty ls produces no output

mount | grep /dev/sr0

calling mount with no arguments causes it to list all mounts this is piped "|" to grep which only outputs lines containing "/dev/sr0" as the mount failed there was no mount for "/dev/sr0" so no output

So far all attempts to read from the drive have seemed to fail.
Is this drive known to work for example can it access a CD-ROM / DVD-ROM?

Offline

#21 2014-06-16 23:05:04

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

oh ok thanks for the explanation..
i have tryed only with audio CD and DVD on my Arch. i haven't a CD-ROM or DVD-ROM at the moment so i don't know it..but i can say you that before Arch i had a Debian based and all was ok, so  i think this isn't an hardware problem!

Last edited by blauman (2014-06-16 23:05:34)


The biggest flaw of Arch are the Archers

Offline

#22 2014-06-17 19:28:45

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

no one has a way to try to solve?


The biggest flaw of Arch are the Archers

Offline

#23 2014-06-17 19:47:54

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,174
Website

Re: [SOLVED] unable to play audio CD and DVD

For DVDs: Have you installed the libdvd stuff?

Last edited by clfarron4 (2014-06-17 19:48:12)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#24 2014-06-17 19:51:54

blauman
Member
Registered: 2014-03-05
Posts: 97

Re: [SOLVED] unable to play audio CD and DVD

yes i have all codecs possible installed but nothing!!


The biggest flaw of Arch are the Archers

Offline

#25 2014-06-18 08:30:04

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] unable to play audio CD and DVD

Was googling an found this thread in the SuSE Forums: http://forums.opensuse.org/showthread.p … a-solution

I had the above message when I first installed openSuse and tried to play DVDs. I tried googling the above message, thinking that I was missing some software. It turned out that the message simply meant that it couldn't find the dvd. Messages such as

Cannot find plugin for MRL [cdda:/]
Cannot find plugin for MRL [dvd:/]

basically mean that SuSE is having problems finding a cd or dvd. This is most likely due to symbolic links for cdrom and/or dvd not being present.

Hope this helps

Offline

Board footer

Powered by FluxBB