<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 8, 2016 at 7:17 AM, Kevin Johnson <span dir="ltr"><<a href="mailto:iitywygms@gmail.com" target="_blank">iitywygms@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 7, 2016 at 10:39 PM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-3532288770017850047HOEnZb"><div class="m_-3532288770017850047h5">On Mon, 7 Nov 2016 20:22:07 -0800, you wrote:<br>
<br>
>On Mon, Nov 7, 2016 at 8:15 PM, Kevin Johnson <<a href="mailto:iitywygms@gmail.com" target="_blank">iitywygms@gmail.com</a>> wrote:<br>
><br>
>> Hi All:<br>
>><br>
>> Still chasing bugs.<br>
>><br>
>> Recently upgraded from 14.04 to 16.04<br>
>> Myth went from .27 to .28<br>
>><br>
>> Im running the latest from the mythbuntu repos.<br>
>><br>
>> Sometimes, but not always, when I start live tv the video will stagger.<br>
>> The audio is fine.<br>
>> If I pause everything is fine afterwards.  This only happens on 720 p<br>
>> channels from what I have seen.<br>
>><br>
>> This is what I get in the frontend log.<br>
>><br>
>> Nov  7 20:08:14 g430 mythfrontend.real: mythfrontend[11510]: I CoreContext<br>
>> jitterometer.cpp:120 (RecordEndTime) Player(1): FPS:   58.98 Mean: 16955<br>
>> Std.Dev: 16741 CPUs: 6% 31% 8% 2%<br>
>><br>
>> Once I hit pause the above message stops repeating.<br>
>><br>
>> Anyone else see this?  Suggestions for a fix?<br>
>><br>
>> Thanks.<br>
>><br>
><br>
>Please disregard the above message from logs.  I had the playback info<br>
>screen up and that was kicking out that message.<br>
><br>
>So I really dont see anything in the logs.<br>
><br>
>What the playback info screen showed is A/V sync:-3.5<br>
>Until I hit pause then play.  Then it goes to less that 1<br>
<br>
</div></div>It is likely that this is just that the playback is starting too early<br>
and there is not enough data in the buffers for either the audio or<br>
the video stream that is being played.  So mythfrontend has to wait<br>
for more data to arrive for the stream that has run out of data in its<br>
buffers.  Different broadcasters use different offsets between the<br>
start of audio and the start of video in their transmissions, and also<br>
the interleaving size - how much audio or video is transmitted at once<br>
before switching to transmitting the other stream.  The MythTV<br>
developers have adjusted how mythfrontend starts to delay the start of<br>
playing until there is supposed to be enough of both streams in the<br>
buffers that neither will run out before more data arrives from the<br>
programme being received.  But they can only work from the data they<br>
have about what settings the broadcasters are using, and they seem to<br>
have got it wrong for your part of the world.  Or more likely, your<br>
broadcasters have got it wrong.  The solution is simple, as you have<br>
discovered: just pause the playback for a moment.  That lets<br>
mythbackend buffer more of the data, so mythfrontend will not run out<br>
of data again.  The devs could adjust the standard setting for how<br>
long MythTV waits to let the buffers build up before starting<br>
playback, but increasing that number means that in places where a<br>
bigger number is not needed, there is more delay between the playback<br>
of live TV and real time.  There is already a second or two of delay.<br>
<br>
The reason that it is happening to you now when it did not on 0.27 is<br>
likely that the devs have changed the startup delay to be a little<br>
smaller, for some reason.  But it could be coincidental - maybe your<br>
broadcasters have just recently typoed one of the settings they use<br>
for 720p broadcasts.  Or upgraded their broadcast equipment to<br>
something new that uses different settings.  Or maybe they have added<br>
extra audio streams (for example, 5.1 audio as well as stereo audio).<br>
Adding an extra stream means that there is more data to be received<br>
between arrivals of packets of data for the other streams, so it<br>
delays other streams a little.<br>
<br>
I used to see this problem when I first started using MythTV with<br>
DVB-T instead of analogue PAL TV transmissions, but it went away after<br>
the devs changed the startup delay, and has not been back since.  So<br>
the setting used seems fine for DVB-T and DVB-S/S2 transmissions here<br>
in New Zealand.<br></blockquote><div><br></div></div></div><div>Thank you for the info.</div><div>It must be a change with mythtv because it happens on multiple frontends.  I do not see this if using Kodi.</div><div><br></div><div>It would be nice, (says the guy who know nothing about coding) if this variable could be adjusted.</div><div>I tried adjusting the ringbuffer on the backend, but that made no difference as I think it is not really used anymore?</div><div><br></div><div>Sometimes it will clear itself up after 5 or 10 seconds.  Sometimes it never stops.</div><div>Pausing the playback works, but that is not great when channel surfing.</div><div><br></div><div>I tried the extra audiobuffer and that did not make a difference.</div><div><br></div><div>Any other suggestions?  </div><div>Can I delay the playback startup?</div></div></div></div></blockquote><div> </div><div><br></div><div>Seems like I may be the only one with this issue.</div><div><br></div><div>Is there a way to test the setup/configuration of my backend?</div><div>I dont think this is hardware as Kodi live tv works fine, but if no one else is seeing this, then I would like to explore other options.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>