<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 7/06/2009, at 7:56 PM, Jean-Yves Avenard wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi<br><br>2009/6/7 Steven Ellis &lt;<a href="mailto:steven@openmedia.co.nz">steven@openmedia.co.nz</a>>:<br><blockquote type="cite">I still get the occasional "Error was encountered" while changing channels,<br></blockquote><blockquote type="cite">but I haven't had a crash yet..<br></blockquote><br>I think I've identified what the problem could be.<br><br>Haven't looked in that code there, but from some error messages I saw,<br>I wouldn't be surprised if that was the reason.<br><br>So, a mythfrontend tries to watch LiveTV<br>mythbackend kicks the capture card and start a recording<br>mythfrontend now waits for that recording to be available for a set<br>period of time<br>once the recording has buffered enough and is available, mythfrontend<br>starts playback<br><br>Now when you change channel quickly: it goes on like this:<br>mythfrontend tries to watch LiveTV<br>mythbackend kicks the capture card and start a recording<br>mythfrontend now waits for that recording to be available for a set<br>period of time<br>mythfrontend change channel<br>wait time above lapsed start to try watching the new recordings which<br>doesn't exist yet: failure<br><br>When changing channel very fast, a few times I saw in the log that<br>buffering time had lapsed and then an error that a given recording<br>didn't exist.<br><br>As the mythtv developers do not use LiveTV, I'm guessing they never<br>really looked at this issue.<br><br></div></blockquote><br></div><div>I'll reply on list this time..</div><div><br></div><div><div>You have described the extreme case which I usually include in my stress tests, but at the moment I'm doing the following.</div><div><br></div><div>1. Start Live TV</div><div><br></div><div>2. Make sure I'm on a freeview|HD only channel - I have freeview's SD DTH service and their DTT freeview|HD service on the same box.</div><div><br></div><div>3. Wait for video playback</div><div><br></div><div>4. Change to another channel - could be HD or SD</div><div><br></div><div>5. Goto 3</div><div><br></div><div>So on every channel change I wait, sometimes upto 10 seconds, for the video playback to start.</div><div><br></div><div>Steve</div><div><br></div></div><div><br></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Steven Ellis - Technical Director<br>OpenMedia Limited<br>email &nbsp;&nbsp;-&nbsp;<a href="mailto:steven@openmedia.co.nz">steven@openmedia.co.nz</a><br>website -&nbsp;<a href="http://www.openmedia.co.nz/">http://www.openmedia.co.nz</a><br></div></div></span> </div><br></body></html>