Mailing List Archive

Build of Android Mythfrontend
I have built the latest master android mythfrontend. The 32bit and 64bit
apk files are available for download.

Peter

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Build of Android Mythfrontend [ In reply to ]
On Wed, Jan 5, 2022 at 12:11 PM Peter Bennett <pb.mythtv@gmail.com> wrote:

> I have built the latest master android mythfrontend. The 32bit and 64bit
> apk files are available for download.
>
> Peter
>

Is there a way to run 2 different copies of mythtv-frontend on an Android
device, one for v31 and one for V32? I have production v31 with all my
normal recordings and I have a test v32 system recording a subset of my
recordings to compare

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On 1/6/22 8:44 AM, James Abernathy wrote:
>
>
> On Wed, Jan 5, 2022 at 12:11 PM Peter Bennett <pb.mythtv@gmail.com
> <mailto:pb.mythtv@gmail.com>> wrote:
>
> I have built the latest master android mythfrontend. The 32bit and
> 64bit
> apk files are available for download.
>
> Peter
>
>
> Is there a way to run 2 different copies of mythtv-frontend on an
> Android device, one for v31 and one for V32? I have production v31
> with all my normal recordings and I have a test v32 system recording a
> subset of my recordings to compare
>
> Jim A

Each version would need each to have a different application name. It
would need changes to the build to do that. I do not think there is much
support for that among the developers. If you are using fire sticks you
could just purchase an extra fire stick 4k when they are on sale,
sometimes they go for as little as $25.

Peter
Re: Build of Android Mythfrontend [ In reply to ]
On 1/6/22 9:54 AM, Peter Bennett wrote:
>
>
> On 1/6/22 8:44 AM, James Abernathy wrote:
>>
>>
>> On Wed, Jan 5, 2022 at 12:11 PM Peter Bennett <pb.mythtv@gmail.com
>> <mailto:pb.mythtv@gmail.com>> wrote:
>>
>> I have built the latest master android mythfrontend. The 32bit
>> and 64bit
>> apk files are available for download.
>>
>> Peter
>>
>>
>> Is there a way to run 2 different copies of mythtv-frontend on an
>> Android device, one for v31 and one for V32? I have production v31
>> with all my normal recordings and I have a test v32 system recording
>> a subset of my recordings to compare
>>
>> Jim A
>
> Each version would need each to have a different application name. It
> would need changes to the build to do that. I do not think there is
> much support for that among the developers. If you are using fire
> sticks you could just purchase an extra fire stick 4k when they are on
> sale, sometimes they go for as little as $25.
>
> Peter
>

That's what I suspected.  In my case I'll just dedicate the Nvidia
Shield TV to v31 and use a FireTV 4k Max to v32.

The good news is Leanfront doesn't care, just change the IP address.

Thanks,

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On 1/6/22 10:06 AM, Jim Abernathy wrote:
>
>
> On 1/6/22 9:54 AM, Peter Bennett wrote:
>>
>>
>> On 1/6/22 8:44 AM, James Abernathy wrote:
>>>
>>>
>>> On Wed, Jan 5, 2022 at 12:11 PM Peter Bennett <pb.mythtv@gmail.com
>>> <mailto:pb.mythtv@gmail.com>> wrote:
>>>
>>> I have built the latest master android mythfrontend. The 32bit
>>> and 64bit
>>> apk files are available for download.
>>>
>>> Peter
>>>
>>>
>>> Is there a way to run 2 different copies of mythtv-frontend on an
>>> Android device, one for v31 and one for V32? I have production v31
>>> with all my normal recordings and I have a test v32 system recording
>>> a subset of my recordings to compare
>>>
>>> Jim A
>>
>> Each version would need each to have a different application name. It
>> would need changes to the build to do that. I do not think there is
>> much support for that among the developers. If you are using fire
>> sticks you could just purchase an extra fire stick 4k when they are
>> on sale, sometimes they go for as little as $25.
>>
>> Peter
>>
>
> That's what I suspected.  In my case I'll just dedicate the Nvidia
> Shield TV to v31 and use a FireTV 4k Max to v32.
>
> The good news is Leanfront doesn't care, just change the IP address.
>
> Thanks,
>
> Jim A
>
>
>
How is the 4k max with leanfront and mythfrontend? I do not have a 4k
max so I don't know how well it works.

The fire stick 4k does not play mpeg4 part 2 (divx/xvid), but the specs
look like the 4k max may play it. You would have to use mkvmerge or
another tool to convert to mp4 or mkv, because leanfront will not play
avi files.

Peter
Re: Build of Android Mythfrontend [ In reply to ]
On Thu, Jan 6, 2022 at 10:43 AM Peter Bennett <pb.mythtv@gmail.com> wrote:

> How is the 4k max with leanfront and mythfrontend? I do not have a 4k max
> so I don't know how well it works.
>
> The fire stick 4k does not play mpeg4 part 2 (divx/xvid), but the specs
> look like the 4k max may play it. You would have to use mkvmerge or another
> tool to convert to mp4 or mkv, because leanfront will not play avi files.
>
> Peter
>

I find the Max very comparable to the Shield TV on mythfrontend except
start up time. Video quality, to me, is the same. I have always used the
Shield TV and FireTV 4K to watch either mpeg2 recordings or my videos which
are mp4. I created those videos by using mythfrontend to take recordings,
edit out the commercials and use a mythtv job (sendTVtoNAS) to convert them
to mp4 and move them to my video directory which is on the NAS. They were
as well on FireTV as any frontend. Leanfront also works.

I got sentTVtoNAS on the mythtv forum and slightly modified it. That script
uses handbrake to compress and convert. It first strips the parts that are
marked as commercials and then converts.
https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On Thu, Jan 6, 2022 at 11:18 AM James Abernathy <jfabernathy@gmail.com>
wrote:

>
>
> On Thu, Jan 6, 2022 at 10:43 AM Peter Bennett <pb.mythtv@gmail.com> wrote:
>
>> How is the 4k max with leanfront and mythfrontend? I do not have a 4k max
>> so I don't know how well it works.
>>
>> The fire stick 4k does not play mpeg4 part 2 (divx/xvid), but the specs
>> look like the 4k max may play it. You would have to use mkvmerge or another
>> tool to convert to mp4 or mkv, because leanfront will not play avi files.
>>
>> Peter
>>
>
> I find the Max very comparable to the Shield TV on mythfrontend except
> start up time. Video quality, to me, is the same. I have always used the
> Shield TV and FireTV 4K to watch either mpeg2 recordings or my videos which
> are mp4. I created those videos by using mythfrontend to take recordings,
> edit out the commercials and use a mythtv job (sendTVtoNAS) to convert them
> to mp4 and move them to my video directory which is on the NAS. They were
> as well on FireTV as any frontend. Leanfront also works.
>
> I got sentTVtoNAS on the mythtv forum and slightly modified it. That
> script uses handbrake to compress and convert. It first strips the parts
> that are marked as commercials and then converts.
> https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179
>
> Jim A
>

I set up my FireTV 4K Max with the mythtv-frontend Pre32. It really is
having issues. I have it set up the same as the previous version. Leanfront
is still showing the videos perfectly, so it's not the recording. It took a
while to get it working because the backend is on Archlinux and I had to
dig to get it to allow the FireTV to connect because mariadb is configured
differently on Arch. If I'm the only one reporting issues with this
version, it must be Arch configuration. The backend is a 11th gen Intel NUC
so it should not be a performance issue and the mythfrontend on the NUC
plays the same video perfectly just like Leanfront.

Also I've reset the FIreTV and that didn't help.

Any ideas?

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On 07/01/2022 01:37, James Abernathy wrote:
>
>
> On Thu, Jan 6, 2022 at 11:18 AM James Abernathy <jfabernathy@gmail.com
> <mailto:jfabernathy@gmail.com>> wrote:
>
>
>
> On Thu, Jan 6, 2022 at 10:43 AM Peter Bennett <pb.mythtv@gmail.com
> <mailto:pb.mythtv@gmail.com>> wrote:
>
> How is the 4k max with leanfront and mythfrontend? I do not
> have a 4k max so I don't know how well it works.
>
> The fire stick 4k does not play mpeg4 part 2 (divx/xvid), but
> the specs look like the 4k max may play it. You would have to
> use mkvmerge or another tool to convert to mp4 or mkv, because
> leanfront will not play avi files.
>
> Peter
>
>
> I find the Max very comparable to the Shield TV on mythfrontend
> except start up time. Video quality, to me, is the same. I have
> always used the Shield TV and FireTV 4K to watch either mpeg2
> recordings or my videos which are mp4.  I created those videos by
> using mythfrontend to take recordings, edit out the commercials
> and use a mythtv job (sendTVtoNAS) to convert them to mp4 and move
> them to my video directory which is on the NAS. They were as well
> on FireTV as any frontend.  Leanfront also works.
>
> I got sentTVtoNAS on the mythtv forum and slightly modified it.
> That script uses handbrake to compress and convert. It first
> strips the parts that are marked as commercials and then converts.
> https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179
> <https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179>
>
> Jim A
>
>
> I set up my FireTV 4K Max with the mythtv-frontend Pre32.  It really
> is having issues. I have it set up the same as the previous version.
> Leanfront is still showing the videos perfectly, so it's not the
> recording. It took a while to get it working because the backend is on
> Archlinux and I had to dig to get it to allow the FireTV to connect
> because mariadb is configured differently on Arch.  If I'm the only
> one reporting issues with this version, it must be Arch configuration.
> The backend is a 11th gen Intel NUC so it should not be a performance
> issue and the mythfrontend on the NUC plays the same video perfectly
> just like Leanfront.
>
> Also I've reset the FIreTV and that didn't help.
>
> Any ideas?
>
> Jim A
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

For UK recordings (h264-mpeg4 avc (part 10)) 1920*1080 50Hz performance
is unchanged for latest master on FireTV max.

For FireTV 4K i get picture judder (fine with Leanfront) but this again
is the same as before, I suspect the TV.

Shield TV fine for Leanfront and frontend.

Mediacodec hardware decoding and playback selected.
Re: Build of Android Mythfrontend [ In reply to ]
On 1/7/22 4:25 AM, John wrote:
> On 07/01/2022 01:37, James Abernathy wrote:
>>
>>
>> On Thu, Jan 6, 2022 at 11:18 AM James Abernathy
>> <jfabernathy@gmail.com <mailto:jfabernathy@gmail.com>> wrote:
>>
>>
>>
>> On Thu, Jan 6, 2022 at 10:43 AM Peter Bennett
>> <pb.mythtv@gmail.com <mailto:pb.mythtv@gmail.com>> wrote:
>>
>> How is the 4k max with leanfront and mythfrontend? I do not
>> have a 4k max so I don't know how well it works.
>>
>> The fire stick 4k does not play mpeg4 part 2 (divx/xvid), but
>> the specs look like the 4k max may play it. You would have to
>> use mkvmerge or another tool to convert to mp4 or mkv,
>> because leanfront will not play avi files.
>>
>> Peter
>>
>>
>> I find the Max very comparable to the Shield TV on mythfrontend
>> except start up time. Video quality, to me, is the same. I have
>> always used the Shield TV and FireTV 4K to watch either mpeg2
>> recordings or my videos which are mp4.  I created those videos by
>> using mythfrontend to take recordings, edit out the commercials
>> and use a mythtv job (sendTVtoNAS) to convert them to mp4 and
>> move them to my video directory which is on the NAS. They were as
>> well on FireTV as any frontend.  Leanfront also works.
>>
>> I got sentTVtoNAS on the mythtv forum and slightly modified it.
>> That script uses handbrake to compress and convert. It first
>> strips the parts that are marked as commercials and then
>> converts.
>> https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179
>> <https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179>
>>
>> Jim A
>>
>>
>> I set up my FireTV 4K Max with the mythtv-frontend Pre32.  It really
>> is having issues. I have it set up the same as the previous version.
>> Leanfront is still showing the videos perfectly, so it's not the
>> recording. It took a while to get it working because the backend is
>> on Archlinux and I had to dig to get it to allow the FireTV to
>> connect because mariadb is configured differently on Arch.  If I'm
>> the only one reporting issues with this version, it must be Arch
>> configuration. The backend is a 11th gen Intel NUC so it should not
>> be a performance issue and the mythfrontend on the NUC plays the same
>> video perfectly just like Leanfront.
>>
>> Also I've reset the FIreTV and that didn't help.
>>
>> Any ideas?
>>
>> Jim A
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums:https://forum.mythtv.org
>
> For UK recordings (h264-mpeg4 avc (part 10)) 1920*1080 50Hz
> performance is unchanged for latest master on FireTV max.
>
> For FireTV 4K i get picture judder (fine with Leanfront) but this
> again is the same as before, I suspect the TV.
>
> Shield TV fine for Leanfront and frontend.
>
> Mediacodec hardware decoding and playback selected.
>

I also have a Pre32 backend setup on a Raspberry Pi 4 running Bullseye
64 bit and the FireTV 4K Max running the new mythfrontend v32 had the
same issues with it.  So I'll try to setup today to capture some logs.

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On 1/7/22 6:37 AM, Jim Abernathy wrote:
>
>
> On 1/7/22 4:25 AM, John wrote:
>> On 07/01/2022 01:37, James Abernathy wrote:
>>>
>>>
>>> On Thu, Jan 6, 2022 at 11:18 AM James Abernathy
>>> <jfabernathy@gmail.com <mailto:jfabernathy@gmail.com>> wrote:
>>>
>>>
>>>
>>> On Thu, Jan 6, 2022 at 10:43 AM Peter Bennett
>>> <pb.mythtv@gmail.com <mailto:pb.mythtv@gmail.com>> wrote:
>>>
>>> How is the 4k max with leanfront and mythfrontend? I do not
>>> have a 4k max so I don't know how well it works.
>>>
>>> The fire stick 4k does not play mpeg4 part 2 (divx/xvid),
>>> but the specs look like the 4k max may play it. You would
>>> have to use mkvmerge or another tool to convert to mp4 or
>>> mkv, because leanfront will not play avi files.
>>>
>>> Peter
>>>
>>>
>>> I find the Max very comparable to the Shield TV on mythfrontend
>>> except start up time. Video quality, to me, is the same. I have
>>> always used the Shield TV and FireTV 4K to watch either mpeg2
>>> recordings or my videos which are mp4.  I created those videos
>>> by using mythfrontend to take recordings, edit out the
>>> commercials and use a mythtv job (sendTVtoNAS) to convert them
>>> to mp4 and move them to my video directory which is on the NAS.
>>> They were as well on FireTV as any frontend.  Leanfront also works.
>>>
>>> I got sentTVtoNAS on the mythtv forum and slightly modified it.
>>> That script uses handbrake to compress and convert. It first
>>> strips the parts that are marked as commercials and then
>>> converts.
>>> https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179
>>> <https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendtvtonas#p6179>
>>>
>>> Jim A
>>>
>>>
>>> I set up my FireTV 4K Max with the mythtv-frontend Pre32.  It really
>>> is having issues. I have it set up the same as the previous version.
>>> Leanfront is still showing the videos perfectly, so it's not the
>>> recording. It took a while to get it working because the backend is
>>> on Archlinux and I had to dig to get it to allow the FireTV to
>>> connect because mariadb is configured differently on Arch.  If I'm
>>> the only one reporting issues with this version, it must be Arch
>>> configuration. The backend is a 11th gen Intel NUC so it should not
>>> be a performance issue and the mythfrontend on the NUC plays the
>>> same video perfectly just like Leanfront.
>>>
>>> Also I've reset the FIreTV and that didn't help.
>>>
>>> Any ideas?
>>>
>>> Jim A
>>>
>>>
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users@mythtv.org
>>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums:https://forum.mythtv.org
>>
>> For UK recordings (h264-mpeg4 avc (part 10)) 1920*1080 50Hz
>> performance is unchanged for latest master on FireTV max.
>>
>> For FireTV 4K i get picture judder (fine with Leanfront) but this
>> again is the same as before, I suspect the TV.
>>
>> Shield TV fine for Leanfront and frontend.
>>
>> Mediacodec hardware decoding and playback selected.
>>
>
> I also have a Pre32 backend setup on a Raspberry Pi 4 running Bullseye
> 64 bit and the FireTV 4K Max running the new mythfrontend v32 had the
> same issues with it.  So I'll try to setup today to capture some logs.
>
> Jim A
>
>
>
You need to be more specific than "It really is having issues.". What
precisely is the problem?
Re: Build of Android Mythfrontend [ In reply to ]
On Fri, Jan 7, 2022 at 9:03 AM Peter Bennett <pb.mythtv@gmail.com> wrote:

> You need to be more specific than "It really is having issues.". What
> precisely is the problem?
>

I knew as much, just hoping someone would say you forgot .....

So what I see is that there is no audio if I try live TV. Sometimes I can
pause live tv and get audio to work. The test I took the log for is one
where I selected from the Guide a program and started recording it. Then I
went to the library and tried to watch it. It is random how it starts
playing from that point. It can go fine for a while and then fail audio or
it can start with no audio. Generally, if it starts with audio it works
until you skip forward or backward.

This is a sample of the console: the Audio Read Ahead(ms) is set to 960 in
this test case. The default of 100 fails worse.

01-07 09:03:29.266 32650 32680 I mfe :
mythvideoout.cpp:177:SetDeinterlacing VideoOutput: SetDeinterlacing
(Doublerate 1): Single Basic|CPU|GLSL Double Basic|CPU|GLSL
01-07 09:03:29.266 32650 32680 I mfe :
opengl/mythopenglvideo.cpp:488:SetupFrameFormat GLVid: New frame format:
None:None 1920x1080 (Tex: 2D) -> YUV420P:YUV420P 1920x1080 (Tex: 2D)
01-07 09:03:33.173 32650 32680 E mfe :
audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
Audio Write failed, size 9600 return 8448 exception 0
01-07 09:03:33.174 32650 32680 E mfe :
audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
Audio Write failed, size 9600 return 0 exception 0
01-07 09:03:33.275 32650 32680 E mfe :
audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
Audio Write failed, size 9600 return 0 exception 0
01-07 09:03:33.375 32650 32680 E mfe :
audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
Audio Write failed, size 9600 return 0 exception 0

The complete log from adb logcat mfe:D *:S |& tee andriod.log is on my
google drive:

https://drive.google.com/file/d/1Fj6W9XFOPC3fnoTLaQk1MbWIdJkycNRM/view?usp=sharing

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On Fri, Jan 7, 2022 at 9:24 AM James Abernathy <jfabernathy@gmail.com>
wrote:

>
>
> On Fri, Jan 7, 2022 at 9:03 AM Peter Bennett <pb.mythtv@gmail.com> wrote:
>
>> You need to be more specific than "It really is having issues.". What
>> precisely is the problem?
>>
>
> I knew as much, just hoping someone would say you forgot .....
>
> So what I see is that there is no audio if I try live TV. Sometimes I can
> pause live tv and get audio to work. The test I took the log for is one
> where I selected from the Guide a program and started recording it. Then I
> went to the library and tried to watch it. It is random how it starts
> playing from that point. It can go fine for a while and then fail audio or
> it can start with no audio. Generally, if it starts with audio it works
> until you skip forward or backward.
>
> This is a sample of the console: the Audio Read Ahead(ms) is set to 960 in
> this test case. The default of 100 fails worse.
>
> 01-07 09:03:29.266 32650 32680 I mfe :
> mythvideoout.cpp:177:SetDeinterlacing VideoOutput: SetDeinterlacing
> (Doublerate 1): Single Basic|CPU|GLSL Double Basic|CPU|GLSL
> 01-07 09:03:29.266 32650 32680 I mfe :
> opengl/mythopenglvideo.cpp:488:SetupFrameFormat GLVid: New frame format:
> None:None 1920x1080 (Tex: 2D) -> YUV420P:YUV420P 1920x1080 (Tex: 2D)
> 01-07 09:03:33.173 32650 32680 E mfe :
> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
> Audio Write failed, size 9600 return 8448 exception 0
> 01-07 09:03:33.174 32650 32680 E mfe :
> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
> Audio Write failed, size 9600 return 0 exception 0
> 01-07 09:03:33.275 32650 32680 E mfe :
> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
> Audio Write failed, size 9600 return 0 exception 0
> 01-07 09:03:33.375 32650 32680 E mfe :
> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
> Audio Write failed, size 9600 return 0 exception 0
>
> The complete log from adb logcat mfe:D *:S |& tee andriod.log is on my
> google drive:
>
>
> https://drive.google.com/file/d/1Fj6W9XFOPC3fnoTLaQk1MbWIdJkycNRM/view?usp=sharing
>
> Jim A
>

I've done more testing and I can get the Shield TV with the 64 bit version
working okay. The older FireTV 4K I can get to work with OpenGL only. It's
about like the v31 in quality. However, the new FireTV Max has major
issues. With either Mediacodec or OpenGL I have to have the Audio Read
Ahead at a 1000 or higher. It has relatively good quality with decent FSP
jitter until you try to skip forward. It might work for one or 2 skips, but
at some point it audio fails and the video looks like double frame rate,
i.e. faster than normal walking, etc. the Menu/Playback/Playback data show
the FPS at 122 but it bounces. I can't recover without ESCing back out of
the recording.

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On Fri, Jan 7, 2022 at 11:24 AM James Abernathy <jfabernathy@gmail.com>
wrote:

>
>
> On Fri, Jan 7, 2022 at 9:24 AM James Abernathy <jfabernathy@gmail.com>
> wrote:
>
>>
>>
>> On Fri, Jan 7, 2022 at 9:03 AM Peter Bennett <pb.mythtv@gmail.com> wrote:
>>
>>> You need to be more specific than "It really is having issues.". What
>>> precisely is the problem?
>>>
>>
>> I knew as much, just hoping someone would say you forgot .....
>>
>> So what I see is that there is no audio if I try live TV. Sometimes I
>> can pause live tv and get audio to work. The test I took the log for is
>> one where I selected from the Guide a program and started recording it.
>> Then I went to the library and tried to watch it. It is random how it
>> starts playing from that point. It can go fine for a while and then fail
>> audio or it can start with no audio. Generally, if it starts with audio it
>> works until you skip forward or backward.
>>
>> This is a sample of the console: the Audio Read Ahead(ms) is set to 960
>> in this test case. The default of 100 fails worse.
>>
>> 01-07 09:03:29.266 32650 32680 I mfe :
>> mythvideoout.cpp:177:SetDeinterlacing VideoOutput: SetDeinterlacing
>> (Doublerate 1): Single Basic|CPU|GLSL Double Basic|CPU|GLSL
>> 01-07 09:03:29.266 32650 32680 I mfe :
>> opengl/mythopenglvideo.cpp:488:SetupFrameFormat GLVid: New frame format:
>> None:None 1920x1080 (Tex: 2D) -> YUV420P:YUV420P 1920x1080 (Tex: 2D)
>> 01-07 09:03:33.173 32650 32680 E mfe :
>> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
>> Audio Write failed, size 9600 return 8448 exception 0
>> 01-07 09:03:33.174 32650 32680 E mfe :
>> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
>> Audio Write failed, size 9600 return 0 exception 0
>> 01-07 09:03:33.275 32650 32680 E mfe :
>> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
>> Audio Write failed, size 9600 return 0 exception 0
>> 01-07 09:03:33.375 32650 32680 E mfe :
>> audio/audiooutputaudiotrack.cpp:233:WriteAudio AudioTrack: WriteAudio
>> Audio Write failed, size 9600 return 0 exception 0
>>
>> The complete log from adb logcat mfe:D *:S |& tee andriod.log is on my
>> google drive:
>>
>>
>> https://drive.google.com/file/d/1Fj6W9XFOPC3fnoTLaQk1MbWIdJkycNRM/view?usp=sharing
>>
>> Jim A
>>
>
> I've done more testing and I can get the Shield TV with the 64 bit version
> working okay. The older FireTV 4K I can get to work with OpenGL only. It's
> about like the v31 in quality. However, the new FireTV Max has major
> issues. With either Mediacodec or OpenGL I have to have the Audio Read
> Ahead at a 1000 or higher. It has relatively good quality with decent FSP
> jitter until you try to skip forward. It might work for one or 2 skips, but
> at some point it audio fails and the video looks like double frame rate,
> i.e. faster than normal walking, etc. the Menu/Playback/Playback data show
> the FPS at 122 but it bounces. I can't recover without ESCing back out of
> the recording.
>
> Jim A
>

I was able to turn on verbose playback and capture the console when I was
trying to skip 30 sec. several times and it started playing fast with no
audio.
I had to put the log on Google Drive since it's too big for the mailing
list.
https://drive.google.com/file/d/1lcOSB-ijMOcX23kUnvQOYP5sJqVV-llv/view?usp=sharing

Jim A
Build of Android Mythfrontend [ In reply to ]
"/I set up?my FireTV 4K Max with the mythtv-frontend Pre32.? It really /

>/is having issues. I have it set up the same as the previous version. />/Leanfront is still showing the videos perfectly, so it's not the />/recording. It took a while to get it working because the backend is on />/Archlinux and I had to dig to get it to allow the FireTV to connect />/because mariadb is configured differently on Arch.? If I'm the only />/one reporting issues with this version, it must be Arch configuration. />/The backend is a 11th gen Intel NUC so it should not be a performance />/issue and the mythfrontend on the NUC plays the same video perfectly />/just like Leanfront. />//>/Also I've reset the FIreTV and that didn't help. />//>/Any ideas? />//>/Jim A /

/I reported earlier in this thread that the Android Frontend is fine
with UK recordings. /
/Did some more testing this weekend and can confirm Jim's reported issues. /
/On my Shield Tv playback may last for several hours without problems
(device is on the same switch as the Backend)./
/On FireTV Max the MTBF is in the order of 10s of minutes (device is one
switch away over Powerline)./
/The failures are none repeatable and dependent on the source material
ie some channels are more reliable than others. The dynamics of the
network may also be relevant ie less problems when the backend and
frontend are connected to the same switch. //On failure I get a lock up of the video hardware ie nothing else will
play either until the stick is rebooted./
/I don't think this is a recent regression in version 32, its been like
this for along time and was my reason for/
/using Leanfront which plays perfectly. /

/
/
Re: Build of Android Mythfrontend [ In reply to ]
On 1/10/22 6:45 AM, John wrote:
>
> "/I set up?my FireTV 4K Max with the mythtv-frontend Pre32. It really /
>
> >/is having issues. I have it set up the same as the previous version. />/Leanfront is still showing the videos perfectly, so it's not the />/recording. It took a while to get it working because the backend is on />/Archlinux and I had to dig to get it to allow the FireTV to connect />/because mariadb is configured differently on Arch.? If I'm the only />/one reporting issues with this version, it must be Arch configuration. />/The backend is a 11th gen Intel NUC so it should not be a performance />/issue and the mythfrontend on the NUC plays the same video perfectly />/just like Leanfront. />//>/Also I've reset the FIreTV and that didn't help. />//>/Any ideas? />//>/Jim A /
> /I reported earlier in this thread that the Android Frontend is fine
> with UK recordings. /
> /Did some more testing this weekend and can confirm Jim's reported
> issues. /
> /On my Shield Tv playback may last for several hours without problems
> (device is on the same switch as the Backend)./
> /On FireTV Max the MTBF is in the order of 10s of minutes (device is
> one switch away over Powerline)./
> /The failures are none repeatable and dependent on the source material
> ie some channels are more reliable than others. The dynamics of the
> network may also be relevant ie less problems when the backend and
> frontend are connected to the same switch. //On failure I get a lock up of the video hardware ie nothing else will
> play either until the stick is rebooted./
> /I don't think this is a recent regression in version 32, its been
> like this for along time and was my reason for/
> /using Leanfront which plays perfectly. /


Something strange is going on. I was testing something else unrelated to
V32Pre this weekend and had a new backend on Ubuntu setup with v31
lastest. I could not get the FireTV Max to run the
mythfrontend-20210819-arm-v31.0-163-g5da2523154-dirty.apk correctly
either. Same issues as I first saw on Pre32. The backend recordings are
fine I can use Leanfront, Kodi, or mythfrontend on the Ubuntu machine to
play them fine.? But FireTV Max can't handle it.? Today, I'm going to
setup the Max on my production backend (v31) and see what happens
because when I first got the Max it worked as good as the Shield on v31

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On 1/10/22 6:45 AM, John wrote:
>
> "/I set up?my FireTV 4K Max with the mythtv-frontend Pre32. It really /
>
> >/is having issues. I have it set up the same as the previous version. />/Leanfront is still showing the videos perfectly, so it's not the />/recording. It took a while to get it working because the backend is on />/Archlinux and I had to dig to get it to allow the FireTV to connect />/because mariadb is configured differently on Arch.? If I'm the only />/one reporting issues with this version, it must be Arch configuration. />/The backend is a 11th gen Intel NUC so it should not be a performance />/issue and the mythfrontend on the NUC plays the same video perfectly />/just like Leanfront. />//>/Also I've reset the FIreTV and that didn't help. />//>/Any ideas? />//>/Jim A /
> /I reported earlier in this thread that the Android Frontend is fine
> with UK recordings. /
> /Did some more testing this weekend and can confirm Jim's reported
> issues. /
> /On my Shield Tv playback may last for several hours without problems
> (device is on the same switch as the Backend)./
> /On FireTV Max the MTBF is in the order of 10s of minutes (device is
> one switch away over Powerline)./
> /The failures are none repeatable and dependent on the source material
> ie some channels are more reliable than others. The dynamics of the
> network may also be relevant ie less problems when the backend and
> frontend are connected to the same switch. //On failure I get a lock up of the video hardware ie nothing else will
> play either until the stick is rebooted./
> /I don't think this is a recent regression in version 32, its been
> like this for along time and was my reason for/
> /using Leanfront which plays perfectly. /
> /
> /
>
> _______________________________________________

If I understand correctly, you have a fire stick 4k with ethernet
adapter going over powerline.

My experience with powerline was not good, IIRC it would randomly
disconnect for a minute or two at a time and then reconnect. I don't
know if this is what you are having. You may do better with WiFi.

Instead of powerline I now use Ethernet over coax, since my house has
coax cables built in for cable tv that are not being used. This give 1GB
speed and consistent reliability using motorola MOCA adapters.

Peter
Re: Build of Android Mythfrontend [ In reply to ]
On Mon, Jan 10, 2022 at 9:54 AM Peter Bennett <pb.mythtv@gmail.com> wrote:

>
> On 1/10/22 6:45 AM, John wrote:
>
> "*I set up my FireTV 4K Max with the mythtv-frontend Pre32. It really *
>
> >* is having issues. I have it set up the same as the previous version.
> *>* Leanfront is still showing the videos perfectly, so it's not the
> *>* recording. It took a while to get it working because the backend is on
> *>* Archlinux and I had to dig to get it to allow the FireTV to connect
> *>* because mariadb is configured differently on Arch. If I'm the only
> *>* one reporting issues with this version, it must be Arch configuration.
> *>* The backend is a 11th gen Intel NUC so it should not be a performance
> *>* issue and the mythfrontend on the NUC plays the same video perfectly
> *>* just like Leanfront.
> *>>* Also I've reset the FIreTV and that didn't help.
> *>>* Any ideas?
> *>>* Jim A
>
> *
>
> *I reported earlier in this thread that the Android Frontend is fine with UK recordings. **Did some more testing this weekend and can confirm Jim's reported issues. **On my Shield Tv playback may last for several hours without problems (device is on the same switch as the Backend).**On FireTV Max the MTBF is in the order of 10s of minutes (device is one switch away over Powerline).**The failures are none repeatable and dependent on the source material ie some channels are more reliable than others.
> The dynamics of the network may also be relevant ie less problems when the backend and frontend are connected
> to the same switch.
> **On failure I get a lock up of the video hardware ie nothing else will play either until the stick is rebooted.**I don't think this is a recent regression in version 32, its been like this for along time and was my reason for**using Leanfront which plays perfectly.
> *
>
>
>
> _______________________________________________
>
> If I understand correctly, you have a fire stick 4k with ethernet adapter
> going over powerline.
>
> My experience with powerline was not good, IIRC it would randomly
> disconnect for a minute or two at a time and then reconnect. I don't know
> if this is what you are having. You may do better with WiFi.
>
> Instead of powerline I now use Ethernet over coax, since my house has coax
> cables built in for cable tv that are not being used. This give 1GB speed
> and consistent reliability using motorola MOCA adapters.
>
> Peter
>

John's setup is different. I have the GbE adapter for my FIreTV 4K Max and
the whole house is GbE with no more than 2 levels of GbE switches. I wonder
if FireTV updated that firmware recently. What bothers me is that I reset
my MAX back to my Production backend with the V31 version of the Android
mythfrontend and am seeing the same problems I saw first on the Pre32
version. I'm going to capture a verbose log of that. I may move that
discussion to the Mythtv Forum since they allow more data to be included
than this mailing list.

Jim
Re: Build of Android Mythfrontend [ In reply to ]
On 10/01/2022 14:54, Peter Bennett wrote:
>
>
> On 1/10/22 6:45 AM, John wrote:
>>
>> "/I set up?my FireTV 4K Max with the mythtv-frontend Pre32.? It really /
>>
>> >/is having issues. I have it set up the same as the previous version. />/Leanfront is still showing the videos perfectly, so it's not the />/recording. It took a while to get it working because the backend is on />/Archlinux and I had to dig to get it to allow the FireTV to connect />/because mariadb is configured differently on Arch.? If I'm the only />/one reporting issues with this version, it must be Arch configuration. />/The backend is a 11th gen Intel NUC so it should not be a performance />/issue and the mythfrontend on the NUC plays the same video perfectly />/just like Leanfront. />//>/Also I've reset the FIreTV and that didn't help. />//>/Any ideas? />//>/Jim A /
>> /I reported earlier in this thread that the Android Frontend is fine
>> with UK recordings. /
>> /Did some more testing this weekend and can confirm Jim's reported
>> issues. /
>> /On my Shield Tv playback may last for several hours without problems
>> (device is on the same switch as the Backend)./
>> /On FireTV Max the MTBF is in the order of 10s of minutes (device is
>> one switch away over Powerline)./
>> /The failures are none repeatable and dependent on the source
>> material ie some channels are more reliable than others. The dynamics
>> of the network may also be relevant ie less problems when the backend
>> and frontend are connected to the same switch. //On failure I get a lock up of the video hardware ie nothing else
>> will play either until the stick is rebooted./
>> /I don't think this is a recent regression in version 32, its been
>> like this for along time and was my reason for/
>> /using Leanfront which plays perfectly. /
>> /
>> /
>>
>> _______________________________________________
>
> If I understand correctly, you have a fire stick 4k with ethernet
> adapter going over powerline.
>
> My experience with powerline was not good, IIRC it would randomly
> disconnect for a minute or two at a time and then reconnect. I don't
> know if this is what you are having. You may do better with WiFi.
>
> Instead of powerline I now use Ethernet over coax, since my house has
> coax cables built in for cable tv that are not being used. This give
> 1GB speed and consistent reliability using motorola MOCA adapters.
>
> Peter
>
>
Yes you are correct the network backbone is Powerline. Presumably
Leanfront has no issues because it uses read ahead and buffers the
stream. A remote frontend on a PC also has no problems but presumably
android memory sticks have less buffering so can be affected.
Re: Build of Android Mythfrontend [ In reply to ]
On Wed, Jan 5, 2022 at 12:11 PM Peter Bennett <pb.mythtv@gmail.com> wrote:

> I have built the latest master android mythfrontend. The 32bit and 64bit
> apk files are available for download.
>
> Peter
>

Peter, I wanted to update on my testing today. I gave up on the FireTV 4K
MAX and went back to the FireTV 4K. I can play videos from my Pre32 built
from Master as of this morning. I'm using the OpenGL video profile with 4
CPUs and Low Quality deinterlacer. On Pre32 or V31 the original FireTV 4K
play about the same, i.e. not as good as the Shield TV but usable. Why the
MAX is having issues now I have no idea, but I can run more tests and post
logs for you on either V31 or v32

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On 1/10/22 4:51 PM, James Abernathy wrote:
>
>
> On Wed, Jan 5, 2022 at 12:11 PM Peter Bennett <pb.mythtv@gmail.com
> <mailto:pb.mythtv@gmail.com>> wrote:
>
> I have built the latest master android mythfrontend. The 32bit and
> 64bit
> apk files are available for download.
>
> Peter
>
>
> Peter, I wanted to update on my testing today.  I gave up on the
> FireTV 4K MAX and went back to the FireTV 4K.  I can play videos from
> my Pre32 built from Master as of this morning. I'm using the OpenGL
> video profile with 4 CPUs and Low Quality deinterlacer. On Pre32 or
> V31 the original FireTV 4K play about the same, i.e. not as good as
> the Shield TV but usable.  Why the MAX is having issues now I have no
> idea, but I can run more tests and post logs for you on either V31 or v32
>
> Jim A
>
>
I don't have a 4k max, but it should have better performance than the
4k, not worse.

Have you tried the NVDEC playback profile? Make sure also that it has
"NVDEC" not "NVDEC decode only" in the profile settings. This should
give the best performance on android systems.

Peter
Re: Build of Android Mythfrontend [ In reply to ]
On Mon, Jan 10, 2022 at 8:17 PM Peter Bennett <pb.mythtv@gmail.com> wrote:

>
> On 1/10/22 4:51 PM, James Abernathy wrote:
>
>
>
> On Wed, Jan 5, 2022 at 12:11 PM Peter Bennett <pb.mythtv@gmail.com> wrote:
>
>> I have built the latest master android mythfrontend. The 32bit and 64bit
>> apk files are available for download.
>>
>> Peter
>>
>
> Peter, I wanted to update on my testing today. I gave up on the FireTV 4K
> MAX and went back to the FireTV 4K. I can play videos from my Pre32 built
> from Master as of this morning. I'm using the OpenGL video profile with 4
> CPUs and Low Quality deinterlacer. On Pre32 or V31 the original FireTV 4K
> play about the same, i.e. not as good as the Shield TV but usable. Why the
> MAX is having issues now I have no idea, but I can run more tests and post
> logs for you on either V31 or v32
>
> Jim A
>
>
> I don't have a 4k max, but it should have better performance than the 4k,
> not worse.
>
> Have you tried the NVDEC playback profile? Make sure also that it has
> "NVDEC" not "NVDEC decode only" in the profile settings. This should give
> the best performance on android systems.
>
> Peter
>
I think you mean Android Mediacodec. In my testing for MPEG2, that has not
been better. I'll retest tomorrow.

Jim A
Re: Build of Android Mythfrontend [ In reply to ]
On 1/10/22 8:25 PM, James Abernathy wrote:
> I think you mean Android Mediacodec. In my testing for MPEG2, that has
> not been better.  I'll retest tomorrow.
>
> Jim A

Sorry, I had a brain freeze. Of course mediacodec. While it is playing
also look at the playback info and make sure it is really using
mediacodec. If for some reason it cannot use mediacodec it will switch
to ffmpeg and that may be less efficient.

Peter
Re: Build of Android Mythfrontend [ In reply to ]
On Mon, Jan 10, 2022 at 8:33 PM Peter Bennett <pb.mythtv@gmail.com> wrote:

>
> On 1/10/22 8:25 PM, James Abernathy wrote:
>
> I think you mean Android Mediacodec. In my testing for MPEG2, that has not
> been better. I'll retest tomorrow.
>
> Jim A
>
>
> Sorry, I had a brain freeze. Of course mediacodec. While it is playing
> also look at the playback info and make sure it is really using mediacodec.
> If for some reason it cannot use mediacodec it will switch to ffmpeg and
> that may be less efficient.
>
> Peter
>

What is strange is the playback is all correct and looks great until you
hit the right arrow a couple of times to skip 30 seconds or more. That's
when it gets screwed up.

JIm A
Re: Build of Android Mythfrontend [ In reply to ]
On Tue, Jan 11, 2022 at 1:19 AM Peter Bennett <pb.mythtv@gmail.com> wrote:

>
> I don't have a 4k max, but it should have better performance than the 4k, not worse.

I do not have any Fire devices (for reasons), but on other
forums it has been stated that the 4K Max (but not the 4K)
has some issues (with MPEG2 decode) that require one
to use software playback for (at least) some types of content.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Build of Android Mythfrontend [ In reply to ]
On Mon, Jan 10, 2022 at 9:11 PM Gary Buhrmaster <gary.buhrmaster@gmail.com>
wrote:

> On Tue, Jan 11, 2022 at 1:19 AM Peter Bennett <pb.mythtv@gmail.com> wrote:
>
> >
> > I don't have a 4k max, but it should have better performance than the
> 4k, not worse.
>
> I do not have any Fire devices (for reasons), but on other
> forums it has been stated that the 4K Max (but not the 4K)
> has some issues (with MPEG2 decode) that require one
> to use software playback for (at least) some types of content.
>

That meshes with what I've found. I set the Max to OpenGL 4CPUs Low
Quality Deinterlace and the picture is great if you don't skip. In fact on
the regular FireTV 4K I do the same and it's a little poorer picture, but
usable. However, You can skip all you want.

Jim A

1 2  View All