Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cdda-player /dev/cdrom works, but not mplayer? SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 267
Location: Utility Muffin Research Kitchen

PostPosted: Fri Oct 24, 2014 3:49 am    Post subject: cdda-player /dev/cdrom works, but not mplayer? SOLVED Reply with quote

I'd like to play audio CDs. The libcdio /usr/bin/cdda-player seems to access disks without any problem, but not mplayer:
Quote:
$ mplayer /dev/cdrom
MPlayer SVN-r36370 (Gentoo)-4.7.3 (C) 2000-2013 MPlayer Team
MMX2 supported but disabled

Playing /dev/cdrom.
libavformat version 54.63.104 (external)


Exiting... (End of file)

Ubuntu's suggestion:
Quote:
$ mplayer cdda://
MPlayer SVN-r36370 (Gentoo)-4.7.3 (C) 2000-2013 MPlayer Team
MMX2 supported but disabled

Playing cdda://.
No stream found to handle url cdda://


Exiting... (End of file)

And a great succession of the following is in messages.
Quote:
Oct 24 14:39:11 mr-lazy kernel: sr 0:0:1:0: [sr0]
Oct 24 14:39:11 mr-lazy kernel: Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct 24 14:39:11 mr-lazy kernel: sr 0:0:1:0: [sr0]
Oct 24 14:39:11 mr-lazy kernel: Sense Key : Illegal Request [current]
Oct 24 14:39:11 mr-lazy kernel: sr 0:0:1:0: [sr0]
Oct 24 14:39:11 mr-lazy kernel: Add. Sense: Illegal mode for this track
Oct 24 14:39:11 mr-lazy kernel: sr 0:0:1:0: [sr0] CDB:
Oct 24 14:39:11 mr-lazy kernel: Read(10): 28 00 00 00 00 00 00 00 02 00

I don't believe there is anything fancy in my use flags:
Quote:
# grep cdio /var/db/pkg/media-video/mplayer-1.2_pre20130729/USE
X abi_x86_64 alsa amd64 bindist cdio dvd dvdnav elibc_glibc enca encode iconv jpeg kernel_linux libass mmx mp3 network osdmenu png shm sse sse2 truetype unicode userland_GNU xscreensaver xv

I don't know. Any ideas as to why I can't play audio CDs?


Last edited by Fog_Watch on Tue Oct 28, 2014 10:04 am; edited 1 time in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Oct 24, 2014 10:45 am    Post subject: Reply with quote

Things to try:

  • USE="-cdio cdparanoia" emerge mplayer. Maybe cdparanoia will have better luck than cdio.
  • mplayer2 or mpv instead of old mplayer. Both of them are forks of mplayer, and mpv seems to be the trend nowadays, and it's the way where most development takes place.
Back to top
View user's profile Send private message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 267
Location: Utility Muffin Research Kitchen

PostPosted: Tue Oct 28, 2014 10:03 am    Post subject: Reply with quote

i92guboj, I dip my lid
USE="-cdio cdparanoia" emerge mplayer and mplayer cdda:// works, unlike mplayer /dev/cdrom.
Interestingly mpv cdda:// works with the standard USE="cdio". mpv /dev/cdrom does not work.

I think the lesson is move to mpv.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Oct 28, 2014 11:54 am    Post subject: Reply with quote

That I guess. To tell the truth, for me, anything cd or dvd related under linux has always been a matter of trial and error. Overall when it comes to burning but also in all that relates to audiocd.

Anyway I am glad that you found a solution.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum