#629158 mplayer: cdda playback pauses every 15 seconds due to buffering

Package:
mplayer
Source:
mplayer
Description:
movie player for Unix-like systems
Submitter:
Michael Deegan
Date:
2025-12-28 12:59:03 UTC
Severity:
normal
Tags:
#629158#5
Date:
2011-06-04 03:43:56 UTC
From:
To:
Playback of CDs is currently unusable as mplayer reads 15 seconds of audio
at a time, which seems to be long enough for the disk to spin down by the
time it wants to read the next chunk. This results in a 5 second pause
every 15 seconds during playback.

Also occurs in marillat's squeeze version.

#629158#10
Date:
2011-06-04 10:28:22 UTC
From:
To:
about once per second.
But then libcdparanoia comes with its absolutely stupid caching strategy
and ends up grouping it into huge bunches of requests once every 15
seconds.
Not sure which to recommend, but possible solutions are:
1) linking against libcdio which does not have the issue
2) fixing libcdparanoia to be behave better
3) using a large -cache to compensate for it
4) limit libcdparanoia's caching so it can't break things quite as badly

I think I'd recommend you to go with 3) as a workaround and Debian to go
with 1) (just using --disable-cdparanoia should pick up
libcdio if libcdio-paranoia-dev is installed) and I've
implemented 4) in MPlayer SVN (r33557, only tested against my CD drive,
might not work as well with others).
Disadvantage with 4) is that it probably decreases ripping performance,
but I don't think many use MPlayer for that.

#629158#15
Date:
2014-04-21 10:08:47 UTC
From:
To:
Dear submitter,

as the package mplayer has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/732159

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

#629158#28
Date:
2025-12-14 20:58:20 UTC
From:
To:
Hi Thorsten,

thanks for sharing the workaround.

what do you think about Reimar's solution n.1

to fix this bug?

Lorenzo

#629158#33
Date:
2025-12-28 12:56:29 UTC
From:
To:
I can reproduce and is very annoying

in my case I had to raise the cache to 2048, so I guess the right value
is hardware related.

I tested this by building with --disable-cdparanoia but it didn't fix
the issue so either I didn't understand how to do it or there is
something to fix upstream mplayer.

Lorenzo