[mythtv] 'WriteAudio: buffer underrun' during playback caused bythe scheduler

Lincoln Dale ltd at interlink.com.au
Mon Sep 11 01:35:09 UTC 2006


hi Jan,

 

 

The problem is, that every time when the scheduler 'reschedules', I get
audio problems in the recording or LiveTV I watch.

 

 



The backend log says:

2006-09-09 17:11:26.371 EITScanner: Added 10 EIT Events
2006-09-09 17:11:26.375 Reschedule requested for id -1.
2006-09-09 17:11:28.878 Scheduled 36 items in 2.5 = 1.19 match + 1.31 place

At the same time, the playback stumbles and the audio is gone in most of the
cases. Sometimes, the audio comes back to live again after about 3
seconds... The frontend tells me this:

2006-09-09 17:10:48.608 TV: Attempting to change from None to
WatchingPreRecorded
2006-09-09 17:10:48.627 libavformat type mpegts
0: start_time: 2615.887 duration: 539.622
1: start_time: 2615.963 duration: 539.611
2: start_time: 2615.896 duration: 539.616
stream: start_time: 29065.414 duration: 5996.522 bitrate=2668 kb/s
2006-09-09 17:10:48.635 AFD: Opened codec 0x8bc9330, id(MPEG2VIDEO)
type(Video)
2006-09-09 17:10:48.635 AFD: Setting maxchannels to 6, -1
2006-09-09 17:10:48.635 AVFD: codec MP3 has 2 channels
2006-09-09 17:10:48.635 AFD: Opened codec 0x8b52c10, id(MP3) type(Audio)
2006-09-09 17:10:48.826 Opening audio device 'default'. ch 2 sr 48000
2006-09-09 17:10:48.826 Opening ALSA audio device 'default'.
2006-09-09 17:10:49.005 VideoOutputXv: XvMCTex: Init failed
2006-09-09 17:10:49.005 VideoOutputXv: XVideo Adaptor Name: 'ATI Radeon
Video Overlay'
2006-09-09 17:10:49.398 TV: Changing from None to WatchingPreRecorded
2006-09-09 17:10:49.399 Using realtime priority.
2006-09-09 17:10:49.430 Video timing method: USleep with busy wait
2006-09-09 17:11:26.752 WriteAudio: buffer underrun
2006-09-09 17:11:27.247 WriteAudio: buffer underrun
2006-09-09 17:11:27.521 WriteAudio: buffer underrun
2006-09-09 17:11:27.776 WriteAudio: buffer underrun
2006-09-09 17:11:28.339 WriteAudio: buffer underrun

You see, at 17:11:26.375 the rescheduling is getting startet and at that
time, the error occures...

Does anybody have an idea what to do?

Thanks!

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060911/9b19886d/attachment.htm 


More information about the mythtv-dev mailing list