View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 25 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Sep 10, 2009 8:36 pm 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
I just wanted to listed to a CD the other day but when I went to put it in and play it, it's good for 15-20 seconds and then I have a 3-4 second pause. It doesn't matter what disc I have in, it happens on all of them.

I checked the mythfrontend.log and here's a bit of what I'm seeing:
Code:
2009-09-10 22:15:28.777 WriteAudio: buffer underrun
2009-09-10 22:15:28.784 WriteAudio: buffer underrun
2009-09-10 22:15:50.975 WriteAudio: buffer underrun
2009-09-10 22:15:55.169 WriteAudio: buffer underrun
2009-09-10 22:15:55.174 WriteAudio: buffer underrun
2009-09-10 22:15:55.180 WriteAudio: buffer underrun
2009-09-10 22:15:55.187 WriteAudio: buffer underrun
2009-09-10 22:15:55.194 WriteAudio: buffer underrun
2009-09-10 22:16:12.321 WriteAudio: buffer underrun
2009-09-10 22:16:16.503 WriteAudio: buffer underrun
2009-09-10 22:16:16.510 WriteAudio: buffer underrun
2009-09-10 22:16:16.517 WriteAudio: buffer underrun
2009-09-10 22:16:16.524 WriteAudio: buffer underrun
2009-09-10 22:16:16.530 WriteAudio: buffer underrun
2009-09-10 22:16:16.537 WriteAudio: buffer underrun
2009-09-10 22:16:33.333 WriteAudio: buffer underrun
2009-09-10 22:16:37.504 WriteAudio: buffer underrun
2009-09-10 22:16:37.510 WriteAudio: buffer underrun
2009-09-10 22:16:37.517 WriteAudio: buffer underrun


If I rip the CD to the drive, it plays perfectly. I can watch DVD's without problems so I know the drive is otherwise fine.

I'm running R6 on an AMD X2 2.6Ghz, 2GB RAM, 320GB sata HDD, CD-rw/DVD-rw sata optical drive

Suggestions?


Top
 Profile  
 
PostPosted: Sun Sep 13, 2009 5:40 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
It'll be one of two possibilities:
1. Drive is faulty.
2. IDE drive dma problem

Try playing a DVD to test it (assuming you're playing CDs on a DVD drive). If DVDs will play properly and you have an IDE drive I'd go back to the old IDE problem (something to do with dma being on) and Google it for the solution.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 19, 2009 1:49 pm 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
Since it's SATA, I doubt it's the IDE DMA issue. And I can play DVD's all day long with no stuttering whatsoever.

Aren't there 2 lenses in these drives? If so, could it be that the CD lense is bad? Is there another player that I could try instead?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 20, 2009 7:31 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
entourage wrote:
Since it's SATA, I doubt it's the IDE DMA issue. And I can play DVD's all day long with no stuttering whatsoever.

Aren't there 2 lenses in these drives? If so, could it be that the CD lense is bad? Is there another player that I could try instead?


You will have to look up your drive's specs for that (you still haven't told us a lot of detail about the hardware you're asking about).

What program is playing the audio? Is it mplayer or mythfrontend?

Mike

EDIT: I don't think it's a lense. It rips the CD OK, so the problem is probably the software that is trying to play it.

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 6:22 am 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
The drive is a LITE-ON 2MB Cache SATA 20X DVD±R DVD Burner.

I'm using MythMusic to attempt to play the CD. I believe that it's mythfrontend? Is there a way to manually launch mplayer to attempt to load the disc and play it?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 2:45 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
entourage wrote:
Is there a way to manually launch mplayer to attempt to load the disc and play it?


From mplayer's man page:

Code:
mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]


So try

Code:
mplayer cdda://1


Also Googling "play audio cd with mplayer" has this as the first result http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-July/061418.html

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 22, 2009 6:51 am 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
Unfortunately this yielded the same result.

Without a video to show you what it's doing, I'll try to describe it as best as I can.

The CD spins up, drive light comes on and then goes off. The CD starts playing and is fine until the drive light comes on again. Then the CD spins up again, drive light comes on and the whole time it's on, there's no audio. Then when the drive light goes off, the music resumes.

To me it looks like it buffers the disc, plays out that buffer for 15-20 seconds, then has to re-buffer again. (and then repeat for the whole CD)

Hope that makes sense?!!?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 25, 2009 6:26 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Your optical drive's laser is not tracking the disc. New hardware is required, I should think. If it's like all the Lite-On drives I've used (admittedly all were IDE) it'd be a pretty noisy unit anyway. Pioneer and Asus are very quiet, the latter has proven to be slightly more reliable in my experience.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 25, 2009 6:59 am 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
Thanks for the help. I'm going to try one more thing a co-worker suggested about checking the SATA mode in the BIOS (if it even has options) and then if that doesn't work, I'm going to get another DVD drive (IDE of course)

Thanks again!

Oh and if I find if something does help the situation, I'll certainly post back.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 26, 2009 2:30 am 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
entourage wrote:
(IDE of course)


No, don't! You must have misunderstood me. SATA is better. I was just saying that amongst IDE drives, the LITE-ON was noisiest.

I would replace it with an ASUS or Pioneer SATA drive.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 26, 2009 7:36 am 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
gotcha. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 26, 2009 11:12 am 
Offline
Joined: Fri May 20, 2005 9:34 am
Posts: 113
Update - using your mplayer example, I launched xine from the terminal and I am currently playing a CD without stutter or buffer underrun.

Same CD, Same DVD/CD player...so why does xine work but not mplayer or the internal player?

Now, I'm off to research how to set xine as my default CD player.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 26, 2009 11:42 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
entourage wrote:
Update - using your mplayer example, I launched xine from the terminal and I am currently playing a CD without stutter or buffer underrun.


Interesting. Perhaps xine has a larger buffer. If you can get your hands on a new drive try it out: It could still be that the drive is on its way out.

Keep us posted and good luck!

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 11, 2009 5:17 pm 
Offline
Joined: Mon Feb 06, 2006 2:39 pm
Posts: 10
Location: Oslo, Norway
I also have this incredibly annoying problem.

I think MythTV handles CD-playback in some totally wrong way. CD plays fine in every other program I have tried, but is totally useless in MythTV - stopping to buffer every few seconds, instead of just playing the CD.. Also spins up every time I change the track, taking 3-4 seconds to change a track.

Really big WAF-kill for me (yes, I could rip it all to disk, but that's not the issue here).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 11, 2009 5:56 pm 
Offline
Joined: Mon Feb 06, 2006 2:39 pm
Posts: 10
Location: Oslo, Norway
Got a little carried away there - mplayer is choppy too. XBMC works like a charm, though - but I want to use Myth :/


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Baidu [Spider] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu