I had a problem with cd skipping, but I was able to solve it by adding the following:

MPLAYER_ARGS['cd']      = '-cache 2048 -cache-min 80'


On 11/17/2010 11:25 PM, James Trietsch wrote:

From: Paul <strifek...@users.sourceforge.net>
To: freevo-users@lists.sourceforge.net
Sent: Fri, November 12, 2010 11:49:58 AM
Subject: [Freevo-users] Xine audio stream metadata

I have set up arch linux on a new hard drive to run freevo 1.9 and found to my dismay that mplayer still has the same issues it had on Ubuntu (skipping stuttering play of CD's and audio files) I thought this was due to pulse audio on Ubuntu but clearly not. Thus I will have to return to Xine for audio playing which is fine except I have never been able to get Freevo to broadcast audio stream metadata (song tite, artist) from Icecast/shoutcast stations using Xine, however with Mplayer it works fine. Has anyone had success with this?
Paul:

What kind of skipping and stuttering are you having playing CDs in mplayer? I have a problem where the buffer runs out while playing, although not until after track 3 or 4 on any given disc. It's not a stutter so much as a gap in playback about 5 seconds long while the drive gets sorted out and starts reading data again. Setting a bigger cache helps a little, setting the CD speed to around 8x (-cdda speed=8) clears it up, but this seems odd to me, since should anything better than realtime be able to fill the buffer?

It seems to be that my CD-ROM reads out enough data to fill the buffer, then while waiting to read more, it spins down. By the time it gets the next read command, it can't spin up fast enough and find where to read from before the buffer empties and the music stops. I thought it was a problem with the CD-ROM so I tried playing in Xine and like you, I found there are no problems. Very odd.

Still stranger, I know it didn't always do this. I was able to play back CDs with the drive ticking over at 2x, with the read light blinking almost steadily. Now it seems to read a strip to fill the buffer, then wait for the buffer to get down to 15% before attempting to read more. I believe I've tried to lower the cache or even remove it, but that just ends in disaster all around.

Anyone have an ideas, especially some setting I may have made with hdparm that I didn't think mattered but it turns out made a big difference? Oh yes, this happens in Freevo and on the command line, so it's definitely something to do with MPlayer, or some other external widget.

Thanks guys.

James

------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to