<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 13, 2020, 3:08 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <br>
    <br>
    <div>On 4/13/20 2:12 PM, James Abernathy
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Mon, Apr 13, 2020 at
            11:16 AM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com" target="_blank" rel="noreferrer">pb.mythtv@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div bgcolor="#FFFFFF"> <br>
              <br>
              <div>On 4/13/20 7:35 AM, James Abernathy wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div dir="ltr"><br>
                  </div>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr" class="gmail_attr">On Sun, Apr 12,
                      2020 at 4:55 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank" rel="noreferrer">jfabernathy@gmail.com</a>>
                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                      <div dir="ltr">
                        <div dir="ltr"><br>
                        </div>
                        <br>
                        <div class="gmail_quote">
                          <div dir="ltr" class="gmail_attr">On Sun, Apr
                            12, 2020 at 3:00 PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com" target="_blank" rel="noreferrer">pb.mythtv@gmail.com</a>>
                            wrote:<br>
                          </div>
                          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                            <div> <br>
                              <br>
                              <div>On 4/11/20 11:57 AM, James Abernathy
                                wrote:<br>
                              </div>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div dir="ltr"><br>
                                  </div>
                                  <br>
                                  <div class="gmail_quote">
                                    <div dir="ltr" class="gmail_attr">On
                                      Sat, Apr 11, 2020 at 11:04 AM
                                      Peter Bennett <<a href="mailto:pb.mythtv@gmail.com" target="_blank" rel="noreferrer">pb.mythtv@gmail.com</a>>
                                      wrote:<br>
                                    </div>
                                    <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
                                      <br>
                                      On 4/11/20 7:15 AM, Jim Abernathy
                                      wrote:<br>
                                      > When I run mythtv-frontend on
                                      a Shield TV does it create a log
                                      file? <br>
                                      > If so how do I get it off the
                                      Shield TV to a PC I can examine it
                                      with??<br>
                                      ><br>
                                      > Jim A<br>
                                      ><br>
                                      ><br>
                                      <br>
                                      adb logcat outputs the log file in
                                      real time to stdio, with already
                                      past <br>
                                      data included at the beginning.<br>
                                      <br>
                                      To get mythfrontend log -<br>
                                      adb logcat mfe:D *:S |& tee
                                      android.log<br>
                                      <br>
                                      To get full android log<br>
                                      adb logcat |& tee android.log<br>
                                      <br>
                                      Press ctrl-c to stop it.<br>
                                      <br>
                                      Peter<br>
                                    </blockquote>
                                    <div>I have the logcat working but I
                                      notice that there is not much
                                      information once view a recording
                                      start. No indication of anything I
                                      do with the keyboard or remote. 
                                      I'm trying to catch a log when the
                                      timeline problem I have shows up.</div>
                                    <div><br>
                                    </div>
                                    <div>Is there an equivalent in
                                      Android to --loglevel debug?</div>
                                    <div><br>
                                    </div>
                                    <div>Jim A</div>
                                    <div><br>
                                    </div>
                                  </div>
                                </div>
                                <br>
                              </blockquote>
                              <br>
                              In the front end on the android<br>
                              Setup->General->Remote
                              Control->Enable Network Remote Control
                              Interface<br>
                              You have to restart frontend for it to
                              take effect<br>
                              Then, on linux:<br>
                              telnet <android ip address> 6546<br>
                              set verbose playback<br>
                              <br>
                              I am not sure if you can set debug,
                              perhaps with general:debug<br>
                              <br>
                              Peter</div>
                          </blockquote>
                          <div> </div>
                          <div>Thanks, using this info I ran a test
                            where my Nvidia Shield TV was running
                            Android Mythtv-frontend VERSION:
                            v31.0/fixes/31 31.20200101-1 91 QT/5.14.1
                            DBSchema/1361 which is the latest I see on
                            the android wiki links (<a href="https://dl.bintray.com/bennettpeter/generic/mythtv_31/android_64/:mythfrontend-20200323-arm64-v31.0.apk" rel="nofollow noreferrer" target="_blank">mythfrontend-20200323-arm64-v31.0.apk</a>) 
                            not sure why the version from telnet query
                            version isn't the same.</div>
                          <div><br>
                          </div>
                          <div>I select Live TV and once it starts I
                            backup a few seconds to make the video not
                            so jumpy.  This is standard practice for me
                            on Live TV on any frontend platform. I
                            started this test at 16:17 and at 16:31, I
                            noticed a lot of jitter in the picture.  I
                            checked the adb logcat and the display was
                            posting a lot of entries per second.  At the
                            beginning you'd see 1 per sec.  Normally I'd
                            backup a few seconds to fix it for a while. 
                            However, sometimes it fixes itself on it's
                            own.  This time it fixed before I could come
                            back in and skip backwards.  The issue is my
                            adb linux system is in another room. </div>
                          <div><br>
                          </div>
                          <div>So I posted a log file on my google drive
                            and the link is below. You see the number of
                            entries increase around 16:31. Hopefully,
                            this data will help point to a solution.</div>
                          <div><br>
                          </div>
                          <div><a href="https://drive.google.com/open?id=1KS-w8pIi6P-xRo12ULYcass4V4628CoE" target="_blank" rel="noreferrer">https://drive.google.com/open?id=1KS-w8pIi6P-xRo12ULYcass4V4628CoE</a> </div>
                          <div><br>
                          </div>
                          <div>Jim A</div>
                          <div><br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <div>This situation was the same except it shows the
                      effect of fixing the problem temporarily with a
                      skip backwards -15 seconds.</div>
                    <div><a href="https://drive.google.com/file/d/147ksKSUPpf44Ghzuo69WH8han2olHgoE/view?usp=sharing" target="_blank" rel="noreferrer">https://drive.google.com/file/d/147ksKSUPpf44Ghzuo69WH8han2olHgoE/view?usp=sharing</a></div>
                    <div><br>
                    </div>
                    <div>Jim A<br>
                        </div>
                  </div>
                </div>
                <br>
              </blockquote>
              Have you tried adjusting the audio read-ahead setting in
              frontend setup?
              (Setup->Video->Playback->Advanced->Audio
              read-ahead). You can increase this value to 500, 1000,
              even up to 5000 and see if it helps.<br>
              <br>
              Peter<br>
            </div>
            <br>
          </blockquote>
          <div>I tried 500, 1000, and 2000.  All seem to stop the visual
            jitter that occurs 10-15 minutes into the live TV.  However,
            I can't tell that from the log file. I have a once a second
            jitterometer reading and occasional AV Sync with audio ahead
            or behind so many milliseconds (+/- 30 ms).</div>
          <div><br>
          </div>
          <div>What would be the best settings? Is a lower values that
            solves the problem better than a higher value that solves
            the problem?</div>
          <div><br>
          </div>
          <div>Jim A<br>
             </div>
        </div>
      </div>
      <br>
    </blockquote>
    A bigger number uses more memory and may cause a delay before
    starting playback and adds a delay in playback from real time, by
    the number of milliseconds specified. So best to use the smallest
    number that works.</div></blockquote></div></div><div dir="auto">Thanks, I'll pick something between 100 and 500. Appreciate the help on solving this one. </div><div dir="auto"><br></div><div dir="auto"></div></div>