<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 06/02/2022 15:04, James Abernathy
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANFv2E=AB5PFXmWV=P__BnjDSH0y1yHhmbOEt5Y8nj_5jE7S6g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Sat, Feb 5, 2022 at 9:06
            PM David Engel <<a href="mailto:david@istwok.net"
              moz-do-not-send="true" class="moz-txt-link-freetext">david@istwok.net</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">On Sat, Feb 05, 2022 at
            04:55:26PM -0500, James Abernathy wrote:<br>
            > On Sat, Feb 5, 2022 at 3:55 PM Peter Bennett <<a
              href="mailto:pb.mythtv@gmail.com" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">pb.mythtv@gmail.com</a>>
            wrote:<br>
            > > I have built the latest mythfrontend fixes/32 and
            master for android.<br>
            > > Download from the usual place.<br>
            > ><br>
            > > Peter<br>
            > ><br>
            > <br>
            > Thanks, I just installed the v32 64 bits on a Nvidia
            Shield TV. It works<br>
            > great with my fixes/32 backend.<br>
            <br>
            If you use the mediacodec-dec decoder, please give the
            improved,<br>
            mediacodec decoder a try.  It's working very well for me but
            I'd like<br>
            some feedback from others.<br>
            <br>
            David<br>
            -- <br>
            David Engel<br>
            <a href="mailto:david@istwok.net" target="_blank"
              moz-do-not-send="true" class="moz-txt-link-freetext">david@istwok.net</a></blockquote>
          <div><br>
          </div>
          <div>This morning I got around to testing the v32 32bit
            version of mythfrontend on a FireTV 4K and a FireTV 4K MAX. 
            Mediacode-dec is unusable on those devices with freezes and
            crashes. I can make opengl usable with 4 CPUs and
            Low-quality deinterlacing. I also have the Audio read ahead
            set to 800ms. Anything lower causes issues.</div>
          <div><br>
          </div>
          <div>I occasionally  see jumps in playback that are hard to
            describe. It's like the picture instantly jumps forward a
            few tenths of a second.  I don't know if this is a
            Mythfrontend issue or the network provider's original
            signal.  I notice this same problem on streaming services
            like DirecTV streaming service. I know the bit rate on OTA
            signals has fallen since the FCC repack occured.</div>
          <div>I'll retest the Shield TV on both Mediacodec and OpenGL
            to see which is better if I can tell. But on the FireTV I
            have to use OpenGL to make it usable.</div>
          <div><br>
          </div>
          <div>Jim A<br>
            <br>
          </div>
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">
</pre>
    </blockquote>
    <p><tt>Noting Jim's experience as reported above, mine is completely
        different with UK H264 recordings, read ahead set to 1000ms<br>
      </tt></p>
    <p><tt>In general worked well but live tv not usable.</tt></p>
    <p><tt>Again in general android playback can be erratic in both
        Leanfront and Mythfrontend, by which I mean that occasionally (1
        in 10)</tt></p>
    <p><tt>playbacks either stall or seek doesn't work. These are
        generally from secondary channels that may have weaker signals
        or very compressed streams.</tt></p>
    <p><tt>These issues are however none repeatable, next day the same
        recording could be fine. <br>
      </tt></p>
    <p><tt>Its probably a network timing issue as previously discussed.</tt></p>
    <p><tt>Hopefully the improved mediacodec implementation in the
        frontend may resolve the problem. I could not get it to fail
        today.<br>
      </tt></p>
    <p><tt>Remote frontend MythTV Version : v32-Pre-3519-g0caf3ac0ec</tt></p>
    <p><tt>Backend & local frontend MythTV Version :
        v32-Pre-3519-g0caf3ac0ec</tt></p>
    <p><tt>Android version -20220205-arm-v32-Pre-3518-g81063d4add.apk<br>
      </tt></p>
    <p><tt>The </tt>v32 32bit version of mythfrontend worked fine for
      me on UK H264 25Hz 1920i recordings.</p>
    <p>On Shield Tv with mediacodec</p>
    <p>Fire Stick 4K Max with Mediacodec</p>
    <p>Fire Stick 4k Opengl without de-interlacing (Mediacodec suffers
      from judder)</p>
    <p>Live TV core dumped on a remote Intel Frontend .</p>
    <p>022-02-06 15:28:38.249116 I  TV::StartTV(): Entering main
      playback loop.<br>
      2022-02-06 15:28:40.306297 I  Player(1): Opening
      'myth://tv/20681_20220206152839.ts'<br>
      Handling Segmentation fault<br>
      Segmentation fault (core dumped)</p>
    <p>On a local Intel Frontend</p>
    <p>Worked but live tv unwatchable due to stutter.</p>
    <p>Feb  6 13:53:33 tv mythfrontend: mythfrontend[5978]: I
      CoreContext mythplayervideoui.cpp:159 (ProcessCallbacks)
      PlayerVideo: Executing VAAPI context creation<br>
      Feb  6 13:53:33 tv mythfrontend: mythfrontend[5978]: I CoreContext
      opengl/mythvaapiinterop.cpp:140 (InitaliseDisplay) VAAPIInterop:
      Created VAAPI 1.7 display for GL-VAAPI-DRM (Intel iHD driver for
      Intel(R) Gen Graphics - 20.1.1 ())<br>
      Feb  6 13:53:33 tv mythfrontend: mythfrontend[5978]: I CoreContext
      mythvideoout.cpp:174 (SetDeinterlacing) VideoOutput:
      SetDeinterlacing (Doublerate 1): Single Medium|CPU|GLSL|DRIVER
      Double Medium|CPU|GLSL|DRIVER<br>
      Feb  6 13:53:33 tv mythfrontend: mythfrontend[5978]: I CoreContext
      mythvideoout.cpp:174 (SetDeinterlacing) VideoOutput:
      SetDeinterlacing (Doublerate 1): Single Medium|CPU|GLSL|DRIVER
      Double Medium|CPU|GLSL|DRIVER<br>
      Feb  6 13:53:33 tv mythfrontend: mythfrontend[5978]: E CoreContext
      opengl/mythvaapiinterop.cpp:301 (SetupDeinterlacer) VAAPIInterop:
      VAAPI deinterlacer config failed - 'motion_adaptive' unsupported?<br>
      Feb  6 13:53:33 tv mythfrontend: mythfrontend[5978]: E CoreContext
      opengl/mythvaapiinterop.cpp:412 (Deinterlace) VAAPIInterop: Failed
      to create VAAPI deinterlacer 2x VAAPI Adaptive - disabling<br>
      Feb  6 13:53:33 tv mythfrontend: mythfrontend[5978]: I CoreContext
      opengl/mythopenglvideo.cpp:477 (SetupFrameFormat) GLVid: New frame
      format: None:None 1920x1080 (Tex: 2D) -> VAAPI:NV12 1920x1080
      (Tex: 2D)<br>
      Feb  6 13:54:24 tv mythfrontend: mythfrontend[5978]: I CoreContext
      jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   31.52 Mean:
      31729 Std.Dev: 58287 CPUs: 7% 9% 8% 8% <br>
      Feb  6 13:54:25 tv mythfrontend: mythfrontend[5978]: I CoreContext
      jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   24.14 Mean:
      41422 Std.Dev: 78987 CPUs: 21% 71% 13% 44% <br>
      Feb  6 13:54:26 tv mythfrontend: mythfrontend[5978]: I CoreContext
      jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   25.32 Mean:
      39498 Std.Dev: 78278 CPUs: 26% 97% 17% 11% <br>
      Feb  6 13:54:27 tv mythfrontend: mythfrontend[5978]: I CoreContext
      jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   23.31 Mean:
      42896 Std.Dev: 70182 CPUs: 19% 50% 56% 16% <br>
      Feb  6 13:54:28 tv mythfrontend: mythfrontend[5978]: I CoreContext
      jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   27.24 Mean:
      36707 Std.Dev: 72168 CPUs: 15% 10% 98% 20% <br>
    </p>
    <p>The same recording viewed in playback</p>
    Feb  6 13:52:56 tv mythfrontend: mythfrontend[5978]: I CoreContext
    opengl/mythvaapiinterop.cpp:140 (InitaliseDisplay) VAAPIInterop:
    Created VAAPI 1.7 display for GL-VAAPI-DRM (Intel iHD driver for
    Intel(R) Gen Graphics - 20.1.1 ())<br>
    Feb  6 13:53:06 tv mythfrontend: mythfrontend[5978]: I CoreContext
    jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   25.01 Mean: 39986
    Std.Dev:   238 CPUs: 7% 8% 8% 7% <br>
    Feb  6 13:53:07 tv mythfrontend: mythfrontend[5978]: I CoreContext
    jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   25.02 Mean: 39967
    Std.Dev:   279 CPUs: 20% 23% 15% 12% <br>
    Feb  6 13:53:08 tv mythfrontend: mythfrontend[5978]: I CoreContext
    jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   25.01 Mean: 39980
    Std.Dev:   163 CPUs: 14% 23% 20% 3% <br>
    Feb  6 13:53:09 tv mythfrontend: mythfrontend[5978]: I CoreContext
    jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   25.00 Mean: 39994
    Std.Dev:   137 CPUs: 9% 11% 19% 17% <br>
    Feb  6 13:53:10 tv mythfrontend: mythfrontend[5978]: I CoreContext
    jitterometer.cpp:127 (RecordEndTime) PlayerFPS:   25.01 Mean: 39976
    Std.Dev:   173 CPUs: 10% 12% 24% 11% <br>
    <p>Strangely Live tv was ok on the Android 32 bit frontend apart
      from channel change still failing.<br>
    </p>
  </body>
</html>