Mailing List Archive

HD Video frame drops with Android Frontend on Fire Stick
Currently running with - mythfrontend-20190414-arm-v30.0-43-g5a67176bf90.apk

Hardware - Fire TV Gen 3 Pendant version.

I've followed the setup guide under
- https://www.mythtv.org/wiki/Android#Amazon_Fire_TV_Stick_4K

This option isn't present in this build
- Advanced Playback Settings -> Allow YV12

I've tried this option on and off and I still get a lot of frame drops
- Advanced Playback Settings -> Extra stage

I've also tried with/without the de-blocking filter and it doesn't make a
different.

To reproduce the issue set the playback profile as per the guide above and
then via the setup wizard try to play "Test High Definition"

Let me know if there is any more debug information I can provide.



06-24 04:06:07.180 7853 8047 I MediaCodecLogger: updateFormatChanged
width = 1920 height = 816
06-24 04:06:07.187 7853 8047 I MediaCodecLogger: updatePTSTime
[HW.video.avc] First PTS after Flush or reset = 0
06-24 04:06:07.187 7853 8047 I MediaCodecLogger: [ASAP] HW.video.avc Got
First Frame Ready 465966
06-24 04:06:07.221 7853 7892 I mfe : DispInfo: rate:59.9401 h:1080
w:1920 xdpi:3048 ydpi:3048
06-24 04:06:07.221 7853 7892 I mfe : Player(2): Video timing method:
USleep with busy wait
06-24 04:06:07.222 7853 7892 I mfe : TV::bool
TV::StartPlayer(PlayerContext*, PlayerContext*, TVState)(): Created
player.
06-24 04:06:07.222 7853 7892 I mfe : TV::void
TV::HandleStateChange(PlayerContext*, PlayerContext*)(): Changing from
None to WatchingVideo
06-24 04:06:07.223 7853 7892 I mfe : AFD: Audio stream changed
06-24 04:06:07.224 7853 7892 I mfe : AFD: Number of audio channels
changed from 2 to 6
06-24 04:06:07.224 7853 7892 I mfe : TV::void
TV::HandleStateChange(PlayerContext*, PlayerContext*)(): Main UI disabled.
06-24 04:06:07.225 7853 7892 I mfe : TV::static bool
TV::StartTV(ProgramInfo*, uint, const ChannelInfoList&)(): Entering main
playback loop.
06-24 04:06:07.226 7853 7892 I mfe : ScreenSaverAndroid: disable
06-24 04:06:07.226 7853 7892 I mfe : ScreenSaverAndroid: disable 1
06-24 04:06:07.235 3467 3507 I AmazonPowerManagerVendorCallback:
Wakelock acquired UID:1000 PID:3467 Tag:WindowManager
06-24 04:06:07.415 3467 3533 D WifiStateMachine: updateCapabilities for
config:R7000 5GHzfalse,false
06-24 04:06:07.417 3955 4144 I Vizzini:InternetConnectivityMonitor:
Network capabilities changed
06-24 04:06:07.419 3955 4144 D Vizzini:InternetConnectivityMonitor: SSID
in UTF-8 is: R7000 5GHz
06-24 04:06:07.419 3955 4144 D Vizzini:InternetConnectivityMonitor: Hex
SSID length is: 10
06-24 04:06:07.658 3467 3476 I art : Background sticky concurrent
mark sweep GC freed 247873(15MB) AllocSpace objects, 2(40KB) LOS objects,
24% free, 47MB/63MB, paused 4.142ms total 211.496ms
06-24 04:06:08.329 7853 7892 I mfe : Running HouseKeeperTask
'HardwareProfiler'.
06-24 04:06:08.630 7853 7892 I mfe : HouseKeeperTask
'HardwareProfiler' Failed.
06-24 04:06:11.499 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc.bitrateInKbps = 2934
06-24 04:06:12.245 7853 8047 I MediaCodecLogger: updatePTSTime Possible
seek found!
06-24 04:06:12.251 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.265 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.300 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.348 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.407 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.423 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.477 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.534 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame
06-24 04:06:12.558 7853 8047 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HD Video frame drops with Android Frontend on Fire Stick [ In reply to ]
On 6/24/19 5:14 AM, OpenMedia Support wrote:
> Currently running with - mythfrontend-20190414-arm-v30.0-43-g5a67176bf90.apk
>
> Hardware - Fire TV Gen 3 Pendant version.
>
> I've followed the setup guide under
> -https://www.mythtv.org/wiki/Android#Amazon_Fire_TV_Stick_4K
>
> This option isn't present in this build
> - Advanced Playback Settings -> Allow YV12
>
> I've tried this option on and off and I still get a lot of frame drops
> - Advanced Playback Settings -> Extra stage
>
> I've also tried with/without the de-blocking filter and it doesn't make a
> different.
>
> To reproduce the issue set the playback profile as per the guide above and
> then via the setup wizard try to play "Test High Definition"
>
> Let me know if there is any more debug information I can provide.
>
If you use a fire stick (non-4K) you will have a lot of dropped frames.
That is a known issue that will be addressed when we get to direct
rendering (That is being worked on by Mark Kendall, see 2019-render branch).

Peter
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HD Video frame drops with Android Frontend on Fire Stick [ In reply to ]
>
>
> On 6/24/19 5:14 AM, OpenMedia Support wrote:
>> Currently running with -
>> mythfrontend-20190414-arm-v30.0-43-g5a67176bf90.apk
>>
>> Hardware - Fire TV Gen 3 Pendant version.
>>
>> I've followed the setup guide under
>> -https://www.mythtv.org/wiki/Android#Amazon_Fire_TV_Stick_4K
>>
>> This option isn't present in this build
>> - Advanced Playback Settings -> Allow YV12
>>
>> I've tried this option on and off and I still get a lot of frame drops
>> - Advanced Playback Settings -> Extra stage
>>
>> I've also tried with/without the de-blocking filter and it doesn't make
>> a
>> different.
>>
>> To reproduce the issue set the playback profile as per the guide above
>> and
>> then via the setup wizard try to play "Test High Definition"
>>
>> Let me know if there is any more debug information I can provide.
>>
> If you use a fire stick (non-4K) you will have a lot of dropped frames.
> That is a known issue that will be addressed when we get to direct
> rendering (That is being worked on by Mark Kendall, see 2019-render
> branch).

Just to clarify - I'm testing with the Fire TV with 4K Ultra HD and Alexa
Voice Remote,

https://en.wikipedia.org/wiki/Amazon_Fire_TV#Third_generation

This is a slightly earlier model to the current Fire TV Stick 4K

https://en.wikipedia.org/wiki/Amazon_Fire_TV#Fire_TV_Stick_4K

I actually have both of these devices and they are running exactly the
same firmware. From an overall hardware specs perspective I was hoping
that the Android build would behave the same on both units.

Steven
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HD Video frame drops with Android Frontend on Fire Stick [ In reply to ]
>>
>>
>> On 6/24/19 5:14 AM, OpenMedia Support wrote:
>>> Currently running with -
>>> mythfrontend-20190414-arm-v30.0-43-g5a67176bf90.apk
>>>
>>> Hardware - Fire TV Gen 3 Pendant version.
>>>
>>> I've followed the setup guide under
>>> -https://www.mythtv.org/wiki/Android#Amazon_Fire_TV_Stick_4K
>>>
>>> This option isn't present in this build
>>> - Advanced Playback Settings -> Allow YV12
>>>
>>> I've tried this option on and off and I still get a lot of frame drops
>>> - Advanced Playback Settings -> Extra stage
>>>
>>> I've also tried with/without the de-blocking filter and it doesn't make
>>> a
>>> different.
>>>
>>> To reproduce the issue set the playback profile as per the guide above
>>> and
>>> then via the setup wizard try to play "Test High Definition"
>>>
>>> Let me know if there is any more debug information I can provide.
>>>
>> If you use a fire stick (non-4K) you will have a lot of dropped frames.
>> That is a known issue that will be addressed when we get to direct
>> rendering (That is being worked on by Mark Kendall, see 2019-render
>> branch).
>
> Just to clarify - I'm testing with the Fire TV with 4K Ultra HD and Alexa
> Voice Remote,
>
> https://en.wikipedia.org/wiki/Amazon_Fire_TV#Third_generation
>
> This is a slightly earlier model to the current Fire TV Stick 4K
>
> https://en.wikipedia.org/wiki/Amazon_Fire_TV#Fire_TV_Stick_4K
>
> I actually have both of these devices and they are running exactly the
> same firmware. From an overall hardware specs perspective I was hoping
> that the Android build would behave the same on both units.

Just re-testing with the latest build -
mythfrontend-20190625-arm-v30.0-60-gb9c1b41a6c0.apk

I'm also getting these frame drop errors on the Test Standard Definition
sample.

06-26 17:52:31.690 3074 3410 I MediaCodecLogger:
org.mythtv.mythfrontend.HW.video.avc Dropping frame


If I change my playback profile to OpenGL Normal the Standard and Hi Def
samples play without issue, but other 720p and 1080 videos still produce
the Dropping frame errors.


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HD Video frame drops with Android Frontend on Fire Stick [ In reply to ]
On 6/26/19 7:00 PM, OpenMedia Support wrote:
>>>
>>> On 6/24/19 5:14 AM, OpenMedia Support wrote:
>>>> Currently running with -
>>>> mythfrontend-20190414-arm-v30.0-43-g5a67176bf90.apk
>>>>
>>>> Hardware - Fire TV Gen 3 Pendant version.
>>>>
>>>> I've followed the setup guide under
>>>> -https://www.mythtv.org/wiki/Android#Amazon_Fire_TV_Stick_4K
>>>>
>>>> This option isn't present in this build
>>>> - Advanced Playback Settings -> Allow YV12
>>>>
>>>> I've tried this option on and off and I still get a lot of frame drops
>>>> - Advanced Playback Settings -> Extra stage
>>>>
>>>> I've also tried with/without the de-blocking filter and it doesn't make
>>>> a
>>>> different.
>>>>
>>>> To reproduce the issue set the playback profile as per the guide above
>>>> and
>>>> then via the setup wizard try to play "Test High Definition"
>>>>
>>>> Let me know if there is any more debug information I can provide.
>>>>
>>> If you use a fire stick (non-4K) you will have a lot of dropped frames.
>>> That is a known issue that will be addressed when we get to direct
>>> rendering (That is being worked on by Mark Kendall, see 2019-render
>>> branch).
>> Just to clarify - I'm testing with the Fire TV with 4K Ultra HD and Alexa
>> Voice Remote,
>>
>> https://en.wikipedia.org/wiki/Amazon_Fire_TV#Third_generation
>>
>> This is a slightly earlier model to the current Fire TV Stick 4K
>>
>> https://en.wikipedia.org/wiki/Amazon_Fire_TV#Fire_TV_Stick_4K
>>
>> I actually have both of these devices and they are running exactly the
>> same firmware. From an overall hardware specs perspective I was hoping
>> that the Android build would behave the same on both units.
> Just re-testing with the latest build -
> mythfrontend-20190625-arm-v30.0-60-gb9c1b41a6c0.apk
>
> I'm also getting these frame drop errors on the Test Standard Definition
> sample.
>
> 06-26 17:52:31.690 3074 3410 I MediaCodecLogger:
> org.mythtv.mythfrontend.HW.video.avc Dropping frame
>
>
> If I change my playback profile to OpenGL Normal the Standard and Hi Def
> samples play without issue, but other 720p and 1080 videos still produce
> the Dropping frame errors.
>
>
>
It seems the fire tv pendant is no longer manufactured and has been
replaced by the 4K fire stick. Probably it is less powerful than the 4K
fire stick. Mark Kendall is working on direct rendering and that should
improve things when it is ready. That code is currently in the
2019-render branch.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HD Video frame drops with Android Frontend on Fire Stick [ In reply to ]
On 27/06/2019 16:44, Peter Bennett wrote:

> It seems the fire tv pendant is no longer manufactured and has been
> replaced by the 4K fire stick. Probably it is less powerful than the 4K
> fire stick. Mark Kendall is working on direct rendering and that should
> improve things when it is ready. That code is currently in the
> 2019-render branch.

I built for x86_64 from that branch earlier this month
(31Pre836.gffdc90e), and although I wasn't looking at it critically
playback seemed fine. I didn't persist in using it because my normal
workflow uses mythcommflag --rebuild, which failed. I didn't report it
then because work on it would be a distraction, but I would like to see
it fixed in due course.

John P


_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org