[mythtv-users] Stuttering in mythmusic
Roald
roalda at gmail.com
Tue Jan 12 22:00:21 UTC 2010
Hi list,
I am having problems in MythMusic where all my mp3-files are
stuttering horribly. As in playing one third of a second and then
pausing one third of a second. If I Pause a few seconds they will play
nicely for a few seconds before stuttering again.
2010-01-12 22:37:57.151 Opening audio device 'plughw:0,3'. ch 2(2) sr 48000
2010-01-12 22:37:57.152 Setting IEC958 status: audio
2010-01-12 22:37:57.152 Opening ALSA audio device 'plughw:0,3'.
2010-01-12 22:37:57.153 in SetParameters(format=2, channels=2,
rate=48000, buffer_time=500000, period_time=125000)
2010-01-12 22:37:57.154 get_buffer_size returned 16384
2010-01-12 22:37:57.154 set_period_time_near returned 170666
2010-01-12 22:37:57.154 get_period_size returned 8192
2010-01-12 22:37:57.158 AO: Audio fragment size: 6144
2010-01-12 22:37:57.160 AO: Audio Stretch Factor: 1
2010-01-12 22:37:57.160 AO: Ending reconfigure
2010-01-12 22:37:57.170 AO: Killing AudioOutputDSP
2010-01-12 22:37:57.160 AO: kickoffOutputAudioLoop: pid = 3768
2010-01-12 22:37:57.174 AO: OutputAudioLoop: Stop Event
2010-01-12 22:37:57.177 AO: kickoffOutputAudioLoop exiting
2010-01-12 22:37:57.178 AO: Using resampler. From: 44100 to 48000
2010-01-12 22:37:57.179 Opening audio device 'plughw:0,3'. ch 2(2) sr 48000
2010-01-12 22:37:57.179 Setting IEC958 status: audio
2010-01-12 22:37:57.180 Opening ALSA audio device 'plughw:0,3'.
2010-01-12 22:37:57.181 in SetParameters(format=2, channels=2,
rate=48000, buffer_time=500000, period_time=125000)
2010-01-12 22:37:57.182 get_buffer_size returned 16384
2010-01-12 22:37:57.182 set_period_time_near returned 170666
2010-01-12 22:37:57.182 get_period_size returned 8192
2010-01-12 22:37:57.186 AO: Audio fragment size: 6144
2010-01-12 22:37:57.186 AO: Audio Stretch Factor: 1
2010-01-12 22:37:57.187 AO: Ending reconfigure
2010-01-12 22:37:57.187 AO: kickoffOutputAudioLoop: pid = 3768
2010-01-12 22:37:57.187 AO: OutputAudioLoop: Play Event
2010-01-12 22:37:57.304 DPMS Deactivated
2010-01-12 22:37:57.948 WriteAudio: buffer underrun
2010-01-12 22:37:58.590 WriteAudio: buffer underrun
And the buffer underruns continues till I stop playing. The hardware
is an Asrock 330 with 2 gig memory, and there is no problems with
video files, HD video and the audio in these plays beautifully. The
backend is another computer, a 2.6 Dual Core with 4 gig of memory. 100
Mbit cable between these computers.
I am noticing this from top when playing music
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3768 mythtv 15 0 852m 252m 32m S 100.3 16.8 6:04.47 mythfrontend
so I guess the problem might be here. I am still running 0.21, and my
previous frontend, a 800 Mhz 256 Mb Centos 4 computer played mp3's
without problems. Still does, but it is not in my living room anymore.
Running Centos 5.4, havent yet tried another os but might try minimyth
or something else if I have to. Also running Gnome, on my other
frontend I used to do this
http://www.wilsonet.com/mythtv/windowmaker.txt but havent on this
computer yet.
[root at asrock ~]# cat /etc/asound.conf
pcm.!default {
type hw
card 0
device 3
}
I have been through the Digital Sound howtos on the wiki, but it seems
that no matter what I do it wont do any difference. Video plays
nicely, mythmusic stutters. Playing the same mp3's through mplayer
works fine, no stuttering. Also tried both analog through an amplifier
and digital through the telly, no difference
Any tips?
--
Roald Martin Amundsen
More information about the mythtv-users
mailing list