<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 9, 2023 at 11:13 AM David Engel <<a href="mailto:david@istwok.net">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 Wed, Aug 09, 2023 at 09:16:50AM -0400, James Abernathy wrote:<br>
> On Tue, Aug 8, 2023 at 10:02 PM David Engel <<a href="mailto:david@istwok.net" target="_blank">david@istwok.net</a>> wrote:<br>
> <br>
> > On Tue, Aug 08, 2023 at 07:33:11PM -0400, James Abernathy wrote:<br>
> > > On Tue, Aug 8, 2023 at 6:50 PM David Engel <<a href="mailto:david@istwok.net" target="_blank">david@istwok.net</a>> wrote:<br>
> > ><br>
> > > > On Tue, Aug 08, 2023 at 09:55:43AM -0400, James Abernathy wrote:<br>
> > > > > As to mythfrontend for the FireTV, don't try to use it on the MAX. It<br>
> > > > will<br>
> > > > > not play a video correctly.  IMHO never try to use mythfrontend on<br>
> > any<br>
> > > > > FireTV device. If picture quality is what you want, use Leanfront.<br>
> > > ><br>
> > > > Please try turning on full, MediaCodec support for playback.  The<br>
> > > > default is still the half, "decode-only" solution that was needed at<br>
> > > > one point because the original developer never finished the MediaCodec<br>
> > > > support.  You need to change it to the full, decode and render<br>
> > > > solution which works pretty well now.  The video quality should be as<br>
> > > > good as with Leanfront.<br>
> > > ><br>
> > > > I have a FireTV Stick 4k Max that I got a while back for testing and<br>
> > > > backup that I never got around to setting up.  I just quickly did and<br>
> > > > mythfrontend works fine with the suggested change.  I tested with<br>
> > > > mpeg2, h.264 and h.265 content.  The older, FireTV Stick 4k might work<br>
> > > > okay too.  I'd have to find mine and try it to be sure.  Mythfrontend<br>
> > > > is probably still too heavyweight, even with the improved, MediaCodec<br>
> > > > suport, for older FireTV devices.<br>
> > > ><br>
> > > > David<br>
> > > > --<br>
> > > > David Engel<br>
> > > > <a href="mailto:david@istwok.net" target="_blank">david@istwok.net</a><br>
> > ><br>
> > ><br>
> > > I don't know what you did differently from me, but Creating a new profile<br>
> > > called filetv and setting it to Android MediaCodec Acceleration and<br>
> > OpenGL<br>
> > > hardware with 4 CPU and Advanced Audio read ahead to 800 and it still is<br>
> > > awful. Loose audio almost immediately and goes out of sync before that.<br>
> > > Then the video starts playing at about 2x speed.<br>
> ><br>
> > I did not mess with the audio to make sure sound came out.  I imagine<br>
> > some tweaking might be needed to get things "perfect" for ones<br>
> > definition of that.  Why do you use such a large read ahead?  I know<br>
> > it's been recommended in the past by some but in my experience that<br>
> > causes more problems than it solves.<br>
> ><br>
> > > This is the latest Master prev34 version and the video is either 1080i or<br>
> > > 720p mpeg2 USA OTA.<br>
> > ><br>
> > > Leanfront is too easy to use and I'll not waste anymore time of<br>
> > > Mythtv-frontend unless it's on an X86<br>
> ><br>
> > Suit yourself.  Personally, I'd rather have the full power of<br>
> > mythfrontend available.  If effort is spent on new frontends, I'd also<br>
> > prefer it spent on cross platform ones.<br>
> ><br>
> > David<br>
> > --<br>
> > David Engel<br>
> > <a href="mailto:david@istwok.net" target="_blank">david@istwok.net</a><br>
> <br>
> <br>
> I'm going to try to see if you can spot where my settings are wrong. FYI, I<br>
> don't have any of these issues on a Standard FireTV 4K, just the MAX<br>
> version, which makes no sense,<br>
> <br>
> My Settings:<br>
> <br>
> Audio System:<br>
> AudioTrack with Digital Audio Capabilities all checked.<br>
> 5.1 selected and Upconvert Stereo turned off<br>
> <br>
> Video System:<br>
> <br>
> Playback ->  Advanced Playback Settings -> Audio Read ahead: I tried every<br>
> hundred number for 100 to 1100 with 900 being the best but if you try to<br>
> skip forward one minute with the right arrow on a bluetooth keyboard it<br>
> loses audio and the playback data shows the FPS 54-58 on 720P mpeg content.<br>
> The right arrow on the FireTV remote seems to not work for skipping like<br>
> the right arrow on the BT Keyboard. Even if I leave it playing at some<br>
> point the audio drops out and the FPS goes crazy.<br>
> <br>
> Playback current profile is called "fire tv" and has only one entry call<br>
> Android MediaCodec Acceleration & OpenGL Hardware:<br>
> Video formats: All formats<br>
> Decoder: Android MediaCodec Acceleration<br>
> Max CPUs: 4<br>
> Deblocking filter: checked<br>
> Video Renderer OpenGL: Hardware<br>
> Video Scaler: default (Bilinear)<br>
> Deinterlace quality (single rate): Low Quality<br>
>     Prefer OpenGL deinterlacers: checked<br>
>     Prefer Driver deinterlacers: Checked<br>
> Same for Double rate.<br>
> <br>
> If I switch to OpenGL software It does better. You can find a setting of<br>
> Audio read ahead that works but you still can't skip forward and have the<br>
> audio work or the FPS return to normal.<br>
> <br>
> Any Ideas?  Keep in mind that this is USA Mpeg2 ATSC 1.0 OTA HD recordings.<br>
> either 720P or 1080i<br>
<br>
I suspect all of the problems you (and I too) saw are audio related.<br>
That's an area I have little experience with but will try to dig in<br>
when I can.  OpenSLES should be the simpler solution but it didn't<br>
appear to work on the Max with default settings so I switched to<br>
AudioTrack in order to test the video.<br>
<br>
David<br>
-- <br>
David Engel<br>
<a href="mailto:david@istwok.net" target="_blank">david@istwok.net</a><br></blockquote><div><br></div><div>Good luck on your testing.  In the meantime I've rethought my setup.  My main TV in the den is a 65" UHD 4K Sony with Google TV built-in.  However the apps are always worse on the Sony. So I use the FireTV 4K Max for 99% of my TV watching.  It works fine because the FireTV can be set up to manage the AV Receiver and TV so it's a simple one remote setup.</div><div><br></div><div>I also have a Asrock 1165G7 11th gen Core i7 NUC connected to one of the HDMI ports on the Sony.  I can just tell the Alexa on the Firetv remote to switch to the Media Player (what I call the NUC) and it will switch to the NUC. The NUC is mainly for playing and testing VM and anything else that comes to mind.  <br></div><div><br></div><div>So I now have the NUC setup with mythfrontend to stream from either of my backends.  The same ones that Leanfront streams from on the FireTV.  <br></div><div><br></div><div>So I get around the non-working Android mythfrontend by just using x86_64 Linux mythfrontend on the NUC. Leanfront is not for editing recordings or triggering backend jobs like comm flag etc.  Even if I'm going to use the new Web App, I'll need a PC with a browser.<br></div><div><br></div><div>I keep the Logi mouse and keyboard on the side table along with the FireTV remote so it's minimal clutter.  It's nice to be able to switch back and forth with Alexa.</div><div><br></div><div>JIm A</div><div><br></div></div></div>