WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: audio cd with mplayer no deps  (Read 5479 times)

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
audio cd with mplayer no deps
« on: July 01, 2011, 11:17:30 PM »
Need command to play audio cd's with mplayer no deps.
Dvd's play fine.
Thanks.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11689
Re: audio cd with mplayer no deps
« Reply #1 on: July 02, 2011, 12:19:46 AM »
Hi JohnJS

A quick search turned this up:

mplayer -cdrom-device /dev/sr0 cdda:// -cache 5000

Replace sr0 with whatever your CD drive is.

If that does not work I found the following as a possible reason on the mplayerhq website:

You've compiled MPlayer without cdparanoia.  Install that (and it's
-dev packages) and then recompile mplayer.

You may have to wait for Curaga for a more definitive answer.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: audio cd with mplayer no deps
« Reply #2 on: July 02, 2011, 07:00:37 AM »
This comes up once in a while. Mplayer does not play audio cd's by itself, it uses one of the cd libs for it.

Since the aim of -nodeps is to have no deps, it doesn't have this functionality. I recall the larger mplayer builds support audio cd's.
The only barriers that can stop you are the ones you create yourself.

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: audio cd with mplayer no deps
« Reply #3 on: July 02, 2011, 10:32:22 AM »
Thanks Rich and Curaga,
Tried: "mplayer -cdrom-device /dev/hdc cdda:// -cache 5000" and get this:
"no stream found to handle url cdda://".

Playing audio cd's is not that important to me on this computer so I'll just live with it.
Many thanks for your help.

By the way, Curaga the mplayer no deps extension that you submitted works very well with dvd's.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: audio cd with mplayer no deps
« Reply #4 on: July 02, 2011, 10:59:14 AM »
...I'll just live with it.
Have you had a look in the repo at cdplay?  It's a command line player and tiny only 8k.
   

Offline JohnJS

  • Jr. Member
  • **
  • Posts: 62
Re: audio cd with mplayer no deps
« Reply #5 on: July 02, 2011, 03:51:59 PM »
Thanks SamK.
Cdplay works fine. Really small  and great for occasional use.