<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">But I'm using a quite fast machine (P4 3,2GHz in a
Pundit-R case with 1GB Ram) and don't have another system running
here... Don't want to use X machines to have a great VCR ;) Can I do
the change to the sql part myself? How? ;)<br>
<br>
And why is it poosible that sql takes away CPU power from playback
while playback has realtime priority? I thought that this is the point
to give a proccess realtime priority...<br>
<br>
Thanks!<br>
</font><br>
Mark Buechler schrieb:
<blockquote
cite="mid3e9048940609100703h69ec1b0dmb769acd3241a6db4@mail.gmail.com"
type="cite">What's happening is mysql is taking more CPU/IO during the
scheduling process which takes CPU/IO away from playback/recording.
I've had trouble with this from time to time due to another issue but a
temporary solution would be to put your database on another (maybe
faster) system. Another might be to change the sql in the scheduling
thread to use a loop and the LIMIT clause to attemt to tone it down a
bit.
<br>
<br>
- Mark.<br>
<br>
<div><span class="gmail_quote">On 9/9/06, <b class="gmail_sendername">Brian
C. Huffman</b> <<a href="mailto:bhuffman@graze.net">bhuffman@graze.net</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm
getting similar problems during playback. I don't think it's caused<br>
by the scheduler though...I'm seeing it on playing videos that have been<br>
ripped from DVD. I'm about to open a ticket.<br>
<br>
-b<br>
<br>
On Sat, 2006-09-09 at 17:21 +0200, Jan Kleinig wrote:
<br>
> Hi,<br>
><br>
> I'm still having those problems :(<br>
><br>
> I am using Knoppmyth R5C7 with mythtv svn 11084 and the ac3-patch
0.20<br>
> written by Mark Spieth.<br>
><br>
> I'm using the EIT Scanner because tvtoday doesn't support that
many
<br>
> channels and I hate hunting for a new script when they change the<br>
> layout of there homepage...<br>
><br>
> The problem is, that every time when the scheduler 'reschedules', I<br>
> get audio problems in the recording or LiveTV I watch.
<br>
><br>
> The backend log says:<br>
><br>
> 2006-09-09 17:11:26.371 EITScanner: Added 10 EIT Events<br>
> 2006-09-09 17:11:26.375 Reschedule requested for id -1.<br>
> 2006-09-09 17:11:28.878 Scheduled 36 items in 2.5 = 1.19 match +
1.31<br>
> place<br>
><br>
> At the same time, the playback stumbles and the audio is gone in
most<br>
> of the cases. Sometimes, the audio comes back to live again after<br>
> about 3 seconds... The frontend tells me this:
<br>
><br>
> 2006-09-09 17:10:48.608 TV: Attempting to change from None to<br>
> WatchingPreRecorded<br>
> 2006-09-09 17:10:48.627 libavformat type mpegts<br>
> 0: start_time: 2615.887 duration: 539.622<br>
> 1: start_time: 2615.963 duration: 539.611<br>
> 2: start_time: 2615.896 duration: 539.616<br>
> stream: start_time: 29065.414 duration: 5996.522 bitrate=2668 kb/s<br>
> 2006-09-09 17:10:48.635 AFD: Opened codec 0x8bc9330,
id(MPEG2VIDEO)
<br>
> type(Video)<br>
> 2006-09-09 17:10:48.635 AFD: Setting maxchannels to 6, -1<br>
> 2006-09-09 17:10:48.635 AVFD: codec MP3 has 2 channels<br>
> 2006-09-09 17:10:48.635 AFD: Opened codec 0x8b52c10, id(MP3)<br>
> type(Audio)<br>
> 2006-09-09 17:10:48.826 Opening audio device 'default'. ch 2 sr
48000<br>
> 2006-09-09 17:10:48.826 Opening ALSA audio device 'default'.<br>
> 2006-09-09 17:10:49.005 VideoOutputXv: XvMCTex: Init failed
<br>
> 2006-09-09 17:10:49.005 VideoOutputXv: XVideo Adaptor Name: 'ATI<br>
> Radeon Video Overlay'<br>
> 2006-09-09 17:10:49.398 TV: Changing from None to
WatchingPreRecorded<br>
> 2006-09-09 17:10:49.399 Using realtime priority.
<br>
> 2006-09-09 17:10:49.430 Video timing method: USleep with busy wait<br>
> 2006-09-09 17:11:26.752 WriteAudio: buffer underrun<br>
> 2006-09-09 17:11:27.247 WriteAudio: buffer underrun<br>
> 2006-09-09 17:11:
27.521 WriteAudio: buffer underrun<br>
> 2006-09-09 17:11:27.776 WriteAudio: buffer underrun<br>
> 2006-09-09 17:11:28.339 WriteAudio: buffer underrun<br>
><br>
> You see, at 17:11:26.375 the rescheduling is getting startet and
at
<br>
> that time, the error occures...<br>
><br>
> Does anybody have an idea what to do?<br>
><br>
> Thanks!<br>
> _______________________________________________<br>
> mythtv-dev mailing list<br>
> <a href="mailto:mythtv-dev@mythtv.org">
mythtv-dev@mythtv.org</a><br>
> <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a><br>
<br>
_______________________________________________<br>
mythtv-dev mailing list
<br>
<a href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a><br>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mythtv-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev</a>
</pre>
</blockquote>
</body>
</html>