Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265674

Re: playing CDROM music questions

From Haines Brown <haines@histomat.net>
Newsgroups linux.debian.user
Subject Re: playing CDROM music questions
Date 2024-01-08 22:00 +0100
Message-ID <HU4T0-1Kiu-9@gated-at.bofh.it> (permalink)
References <HU0w1-1HQa-1@gated-at.bofh.it> <HU0FH-1HTh-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 08, 2024 at 05:23:34PM +0100, Nicolas George wrote:
> Haines Brown (12024-01-08):
> > I find that often (such as wiki.debian.org/CDDVD) I'm told to mount 

Understood about not mounting CDROM disks. Confused music with data 
disks

> > The mplayer command $ mplayer -cdrom-device /dev/sr0 cdda:// works. On 
> > my system it relies on alsa. However, about every 15 seconds the the 
> > process stops for about one second ane the drive LED flashes on. In 
> > the mplayer configuration I do D not see anything about buffer size.
> 
> Search for “cache” in the man page.

Thanks! That solved my problem. I find cache (enable/disable) and 
cache size (cache). 

In /etc/mplayer/mplayer.conf there is a cache section. I changed the 
line

	# cache = 8192
 
  to 
	
	cache = 16384

and that seems to  have fixed the buffer problem.
 
> > To simplify my life, I created a ~/scripts/play file. It is in my 
> > PATH. The file has this content:
> > 
> >   #!/bin/sh
> > 
> >   mplayer /dev/sr0 cdda://
> > 
> >   exit 0
> > 
> > But the $ play command only returns the aplay -help info. Why won't 
> > the script work?
> 
> You forgot the “-cdrom-device” option. And judging from what you are
> saying you need to learn how $PATH works.

The scripts folder is in my path. I holds many commands I regularly 
use.

Turns out that the "play" command was earlier taken by another 
application. So I changed the command from play to Play, and now it 
works without the cache problem. The Play command is:

	mplayer /dev/sr0 cdda://

The option -cdrom-device is default and so is optional. Mplayer works 
fine without it. 

> But unless you cannot spare 60 megaoctets somewhere, save yourself a lot
> of trouble: just run cdparanoia -B then opusenc and put back the audio
> CD at the back of the shelf where it belongs.

where can find an inexpensive drive to hold about 1000 cds and find 
the time do all the converting? ㋡ 

> 
> Regards,
> 
> -- 
>   Nicolas George
> 

-- 

     Haines Brown 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 17:20 +0100
  Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-08 17:30 +0100
    Re: playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 22:00 +0100
      Re: playing CDROM music questions Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-01-08 22:20 +0100
        Re: playing CDROM music questions Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-09 01:50 +0100
        Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-09 13:30 +0100
          Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-09 16:20 +0100
          Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions) Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-09 17:00 +0100
            Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions) David Wright <deblis@lionunicorn.co.uk> - 2024-01-09 17:10 +0100
              Re: [OFFTOPIC] Filling the FAT Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-09 21:40 +0100
                Re: [OFFTOPIC] Filling the FAT David Wright <deblis@lionunicorn.co.uk> - 2024-01-10 01:40 +0100
            Re: [OFFTOPIC] Filling the FAT (was: playing CDROM music questions) <tomas@tuxteam.de> - 2024-01-09 18:20 +0100
      Re: playing CDROM music questions "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-01-09 03:50 +0100
      Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-09 13:30 +0100
  Re: playing CDROM music questions Michel Verdier <mv524@free.fr> - 2024-01-08 17:40 +0100
    Re: playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 22:10 +0100
  Re: playing CDROM music questions Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-01-08 17:40 +0100
    Re: playing CDROM music questions Nicolas George <george@nsup.org> - 2024-01-08 17:50 +0100
      CD-DA sector addressing, was Re: playing CDROM music questions "Thomas Schmitt" <scdbackup@gmx.net> - 2024-01-08 20:10 +0100
    Re: playing CDROM music questions Haines Brown <haines@histomat.net> - 2024-01-08 22:10 +0100

csiph-web