Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4K FTV Stick (AFTMM) renders green screen only for some mpeg2 videos #58

Closed
tmm1 opened this issue Nov 3, 2018 · 35 comments
Closed

4K FTV Stick (AFTMM) renders green screen only for some mpeg2 videos #58

tmm1 opened this issue Nov 3, 2018 · 35 comments

Comments

@tmm1
Copy link

@tmm1 tmm1 commented Nov 3, 2018

Issue description

Some interlaced mpeg2 videos will not render correctly. Most frames are missing and show a green screen, and occasionally one frame will render to the screen.

Reproduction steps

Play https://s3.amazonaws.com/tmm1/us-ota-greenflash-aftmm.mpg inside Exoplayer on AFTMM device.

Version of ExoPlayer being used

amazon/r2.8.4 (302d557)

Device(s) and version(s) of Android being used

AFTMM (N6232/1264)

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Nov 15, 2018

We are able to reproduce the issue. We are working on it.

@tmm1

This comment has been minimized.

Copy link
Author

@tmm1 tmm1 commented Nov 15, 2018

Thanks @rinoshs. Let me know if any other info is required.

@tmm1

This comment has been minimized.

Copy link
Author

@tmm1 tmm1 commented Dec 3, 2018

Hi, is there any update on this issue?

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Dec 4, 2018

The issue has been root caused to vendor drivers. We are following up with the vendor for a fix.

@drdrus

This comment has been minimized.

Copy link

@drdrus drdrus commented Dec 13, 2018

not sure if the same issue causes this problem but there is a problem with hardware accelerated deinterlacing on the new Fire TV Stick 4K. Playing 1080i h264 in kodi is not possible. Turning off Hardware acceleration plays it but the video is laggy and unwatchable. I'm not sure if support for mpeg4 hardware accelerated deinterlacing was intended to be a feature ...

@tmm1

This comment has been minimized.

Copy link
Author

@tmm1 tmm1 commented Dec 13, 2018

@rinoshs was this fixed in NS6258/1604

@Nexus747

This comment has been minimized.

Copy link

@Nexus747 Nexus747 commented Dec 27, 2018

My FireTV 4k plays a 1080i channel for a few mins after rebooting, but after that (or if I change channels), it locks up - black screen. I'm using the HDHomeRun app. Exiting and reopening the app doesn't help, it won't play at all then, just black screen. Could this be caused by the same bug?
Thanks!

@tmm1

This comment has been minimized.

Copy link
Author

@tmm1 tmm1 commented Jan 1, 2019

Any updates?

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Jan 2, 2019

We are continuing to work with the vendor on a fix.

@tmm1

This comment has been minimized.

Copy link
Author

@tmm1 tmm1 commented Jan 2, 2019

@rinoshs for which issue? The green screen isn't happening anymore so it seems to be fixed in the last FireOS release. But the decoder still seems to crash after a few minutes on some streams and needs a reboot of the device to start decoding video again.

@puppinoo

This comment has been minimized.

Copy link

@puppinoo puppinoo commented Jan 7, 2019

Same here. Device hangs after a few minutes while streaming from my enigma 2 decoder and crashes. Device needs to be rebooted.

@iandarbey

This comment has been minimized.

Copy link

@iandarbey iandarbey commented Jan 16, 2019

The 1080i h264 remains. Evident on uk freesat HD channels (bbc, channel 4 etc) via tvheadend. Similar behaviour as described above, works for few mins, hangs, needs reboot.

Will this be fixed soon? The 4K stick’s one giant drawback for me (I’d be buying 3 more immediately if it’s sorted and getting rid of old mini pc’s).

@der-graph

This comment has been minimized.

Copy link

@der-graph der-graph commented Jan 21, 2019

I can confirm that h264 1080i deinterlacing still doesn't work with this 4K Stick. So watching live tv in Europe (h264 1080i 50Hz) is not possible at the moment. Will this also be fixed soon?

@t0mmm

This comment has been minimized.

Copy link

@t0mmm t0mmm commented Jan 27, 2019

Be great to get an update on the 1080i deinterlacing issue, it's severely limiting my use of the device at the moment.

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Jan 30, 2019

The issue is fixed and will be pushed out in an upcoming system ota.

@iandarbey

This comment has been minimized.

Copy link

@iandarbey iandarbey commented Jan 30, 2019

To clarify you’re referring to the h264 deinterlacing issue?

@der-graph

This comment has been minimized.

Copy link

@der-graph der-graph commented Feb 1, 2019

... that's the big question here. If the answer is "yes", we are more than happy to look forward to the ota update.
If rinosh is talking only about the mpeg2 deinterlacing issue we should probably open a new issue here on github. Nevertheless it would be nice to know if it is really a bug then and the device is capable of deinterlacing h264 content with accurate vendor drivers...

@just2mad

This comment has been minimized.

Copy link

@just2mad just2mad commented Feb 4, 2019

The issue is fixed and will be pushed out in an upcoming system ota.

when?

@humiboy

This comment has been minimized.

Copy link

@humiboy humiboy commented Feb 12, 2019

When come new Fire TV Stick 4K Update for solved issues watching Live TV after a few changing channels all blocked black screen nothing more works. Only reboot works again for a few streams and then again blocked black screen...

I have bought 3 Fire TV 4K Sticks and all working bad and this is absolutly undiskutable.

All other FireTV devices have no problem only the Fire TV 4K Stick have big problem by watchin Live TV.

Please rollout new firmware for test. All firmware is better as the public firmware 6.2.5.8.

I would send all all FireTV 4K Sticks to retoure back but i have hope Amazon can fix this problem.

And i have green picture too. This problem is still not solved.

And why newest Fire TV 4K Sticks have no peoblem but only older Fire TV 4K Sticks have this big issue?

Give it a Hardware Isses Charge by the first production from FireTV 4K Stick ?

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Feb 13, 2019

The fix is for the mpeg deinterlacing issue. The fix is planned for OTA by the end of Q2. Issue #81 is tracking the H264 deinterlacing issue.

@humiboy

This comment has been minimized.

Copy link

@humiboy humiboy commented Feb 16, 2019

When the new Update rollout the problem with Live TV is fixed? No more black screen or crashes the apps? No more green screen?

@humiboy

This comment has been minimized.

Copy link

@humiboy humiboy commented Feb 24, 2019

When come the big software update for fix many problems ?

@humiboy

This comment has been minimized.

Copy link

@humiboy humiboy commented Mar 6, 2019

Why this fix is planned for OTA by the end of Q2???

Why so long still waiting????

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Mar 7, 2019

System OTA schedules are planned in advance and have a high bar. Fixes need to go through a bake time before release.

@weakfl

This comment has been minimized.

Copy link

@weakfl weakfl commented Apr 9, 2019

With firmware update 6.2.6.3 deinterlacing of SD content isn't working anymore either. So way to go ;)

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Apr 9, 2019

@weakfl,

Could you confirm that you are seeing the issue with Mpeg SD interlaced content? Was this content working on build numbers previous to 6.2.6.3?

@weakfl

This comment has been minimized.

Copy link

@weakfl weakfl commented Apr 9, 2019

@rinoshs

Could you confirm that you are seeing the issue with Mpeg SD interlaced content?

mpeg2, 720x576@50i (german satelite tv)

Was this content working on build numbers previous to 6.2.6.3?

Yes, it was.

@peterthorpe81

This comment has been minimized.

Copy link

@peterthorpe81 peterthorpe81 commented Apr 10, 2019

@weakfl I had deinterlace issues on Mpeg 2 SD content before the update (Source UK Freesat mpeg2 50i). The stream would appear to work for a few minutes to as long as an hour and then crash out. Are you sure it wasn't an issue before and you just hadn't noticed because it takes much longer to fail?

For those using TVHeadend or similar as a source I suggest you look if there is a transcoding workaround for you. I have setup TVHeadend transcoding to x264 progressive on my cheap Intel J1900 system which is working reliably.

@weakfl

This comment has been minimized.

Copy link

@weakfl weakfl commented Apr 10, 2019

@peterthorpe81

I had deinterlace issues on Mpeg 2 SD content before the update (Source UK Freesat mpeg2 50i). The stream would appear to work for a few minutes to as long as an hour and then crash out. Are you sure it wasn't an issue before and you just hadn't noticed because it takes much longer to fail?

I did have intermittent issues where mpeg2 content would crash and require a restart of the aftv stick, but it was working ok most of the time.
And most importantly, the SD content was deinterlaced properly. With fw 6.2.6.3 mpeg2 SD content is still playing, but is not deinterlaced anymore. I noticed the combing artifacts immediately.

I probably should have been more precise when mentioning the issue.

@humiboy

This comment has been minimized.

Copy link

@humiboy humiboy commented May 11, 2019

Any news to fix this problem?

@humiboy

This comment has been minimized.

Copy link

@humiboy humiboy commented May 25, 2019

When come the big software update what fix this problems?

@weakfl

This comment has been minimized.

Copy link

@weakfl weakfl commented May 25, 2019

When come the big software update what fix this problems?

I wouldn't hold my breath…

@rinoshs

This comment has been minimized.

Copy link
Contributor

@rinoshs rinoshs commented Jun 3, 2019

This fix is planned for end of Q2. The update should start going out to devices by the end of June.

@Mottarello

This comment has been minimized.

Copy link

@Mottarello Mottarello commented Jun 21, 2019

Hi, we are end of Q2 but same behaviour with the OS 6.2.6.4 latest version installed today on a fire TV.

@VideoPlayerCode

This comment has been minimized.

Copy link

@VideoPlayerCode VideoPlayerCode commented Jun 23, 2019

I am on the new OS released 2 days ago:

Fire OS 6.2.6.4 (NS6264/1995)
Fire TV Home Version 6.1.6.0-727

I played the mpg file in the first post. In MX player and Kodi. Both using hardware decoding and deinterlacing. In MX I used both HW+ and HW hardware modes.

Mx: green flash at start for 0.5 seconds (lack of keyframe) and then the screen fixes itself (keyframe) and plays perfectly with no green flashes for the duration of the entire video

Kodi: skips the green flash (lack of keyframe) and immediately begins playback with a perfect picture. And stays perfect. If I rewind to the start in Kodi I still miss some of the initial words of audio which PROVES that Kodi intentionally skips until the first keyframe.

Those who don’t know what i mean by keyframe: Go to google and educate yourselves.

So anyway; yes the latest update fixes the issue. I can play the video and never get any green flashing. The only flash I got was completely natural and expected - in MX player which plays the video from the exact start despite lacking a keyframe there which means the screen starts out green (empty decoder buffer), is then partially filled with some blocks of data. And then replaced by a full, perfect keyframe half a second later.

Conclusion: The video file IS corrupt at the start (has no keyframe). The FireTV with latest update handles that PERFECTLY, exactly as it should. First a small green flash (if the player starts the corrupt video at the absolute start before any keyframe). And no green flashes happen during playback AFTER a keyframe has been received. FireTV 4k hardware decoding of this file is behaving EXACTLY as it should. This issue is solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.