[MPlayer-users] [Resolved] How to fix gaps and hiccups during playback of Audio CDs in mplayer

Zbigniew Luszpinski zbiggy at o2.pl
Sat Sep 5 23:42:45 CEST 2009


Hello,

I had serious problems with playing Audio CDs using latest mplayer from svn.
Every other player played Audio CDs well but mplayer always paused for few seconds during play with silence. This gaps with silence was every few seconds making listening very bad experience.

This is how anyone plays Audio CDs with mplayer and hears frequent gaps of silence and audio hiccups:
mplayer cdda://

How to fix:
mplayer cdda:// -cache 5000

The fix:
By adding 5000 sized buffer CD drive mechanics has enough time to read Audio data from CD and reread and correct read errors. The result is fluent, clean playback.

If you are Mplayer developer pleased add -cache 5000 parameter as default for cdda:// URL so nobody will have to suffer because of this bug.

This fix I found on Ubuntu forum:
http://ubuntuforums.org/showthread.php?t=219722
This problem is in Mplayer not in Ubuntu or other distro.
This bug is Mplayer version independent.
I used this fix to improve mplayer playback on my Lunar-linux.

My config:
MPlayer SVN-r29587-4.2.4 (C) 2000-2009 MPlayer Team

Playing cdda://.
Found audio CD with 11 tracks.
Cache fill:  0.00% (0 bytes)
Track 1

rawaudio file format detected.
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 413.5 (06:53.4) of 2574.3 (42:54.2)  0.0% 44%

Hardware:
cpu: AMD Phenom 9550
ram: 2GiB Twinbank DDR2-800-CL4
hdd: 500GiB/SATA2
chipset: Geforce8200/MCP78S
CD: Optiarc  Model: DVD RW AD-7200S  Rev: 1.0A

have a nice day,
Zbigniew Luszpinski


More information about the MPlayer-users mailing list