Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 21:16:20 +0100
From:      Tom Hill <tom@hillinternet.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Sound halts after 1 second of playing an MP3
Message-ID:  <453D2314.7090508@hillinternet.co.uk>

next in thread | raw e-mail | index | archive | help
Hi,

Maybe you guys can point me in the right direction.

I've installed OSS to get my sound card working - and it all seems fine. 
My only problem is when I try and play an MP3 in xmms or mpg123, it will 
play about a second of the track and then stop without giving any real 
reason:

-----------------------
freebsd:~>mpg123 -a /dev/dsp 01\ -\ Muse\ -\ Take\ A\ Bow.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

Playing MPEG stream from 01 - Muse - Take A Bow.mp3 ...
Junk at the beginning 49443303
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo

[0:01] Decoding of 01 - Muse - Take A Bow.mp3 finished.
-----------------------

This only happens with MP3s, WAV files are fine. It looks like there is 
some kind of buffer that gets decoded and played then it stops?

Has anyone seen this or can someone point out where I should look? I'm 
guessing it might be something to do with some mp3 decoding libraries or 
something.

TIA,

Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?453D2314.7090508>