Phone crashes when seeking HEVC - MX Player

Phone: Google Pixel XL
Android 7.1.1
Stock ROM
MX Player v1.8.10
MX Player Custom Codec installed, HW+ encoding enabled
Ok so here's the thing, when i play a HEVC video (any resolution,8 bit or 10 bit doesnt matter either) it plays fine as long as i dont try to forward/seek. As soon as i do that, my phone crashes and reboots. This happens on HW+, but not on SW. Also, i thought the Pixel had hardware decoding for HEVC but im not able to play the video in HW decoder in MX Player.
Since the phone crashes, i dont think i can gather any logs either. Any help ?

Punkid said:
Phone: Google Pixel XL
Android 7.1.1
Stock ROM
MX Player v1.8.10
MX Player Custom Codec installed, HW+ encoding enabled
Ok so here's the thing, when i play a HEVC video (any resolution,8 bit or 10 bit doesnt matter either) it plays fine as long as i dont try to forward/seek. As soon as i do that, my phone crashes and reboots. This happens on HW+, but not on SW. Also, i thought the Pixel had hardware decoding for HEVC but im not able to play the video in HW decoder in MX Player.
Since the phone crashes, i dont think i can gather any logs either. Any help ?
Click to expand...
Click to collapse
Regarding HW+ crash, it needs logs to be collected from ADB as a system reboot will erase everything. I will ask the developer to check it out as I don't have a pixel device to test it out.
Regarding HW issue, are you playing a HEVC on MKV container..? If it's so, It's an issue which is to be solved by google. HW decoder is wrapper of Android Mediappayer API. On Nexus/Pixel devices Google doesn't implemented HEVC on mkv container. If you just remux it to mp4 (I mean without re-encoding), the video can be played in HW. So, MX Player has nothing to do with HW decoder.
Sent from my Samsung Galaxy S5 using XDA Labs

ktsamy said:
Regarding HW+ crash, it needs logs to be collected from ADB as a system reboot will erase everything. I will ask the developer to check it out as I don't have a pixel device to test it out.
Regarding HW issue, are you playing a HEVC on MKV container..? If it's so, It's an issue which is to be solved by google. HW decoder is wrapper of Android Mediappayer API. On Nexus/Pixel devices Google doesn't implemented HEVC on mkv container. If you just remux it to mp4 (I mean without re-encoding), the video can be played in HW. So, MX Player has nothing to do with HW decoder.
Sent from my Samsung Galaxy S5 using XDA Labs
Click to expand...
Click to collapse
Oh ok thanks for clarifying the HW issue.
Btw, if you could point me to a guide on how to collect logs from adb, I'd be happy to help.
Sent from my Pixel XL using Tapatalk

So what is the solution for this?
I myself having a OnePlus 3T and having same bug as crashing MX player and rebooting the device by itself when I play HEVC on mkv container.
What should I do?
How can I play that video file the ?

gakerot said:
So what is the solution for this?
I myself having a OnePlus 3T and having same bug as crashing MX player and rebooting the device by itself when I play HEVC on mkv container.
What should I do?
How can I play that video file the ?
Click to expand...
Click to collapse
Try again after enabling Alternative HW+.
Based on another report on another thread, It's basically a firmware issue & user has mentioned that leaked Nougat build has fixed the issue. Just be patient till the next system update.

InvalidDNA said:
Try again after enabling Alternative HW+.
Based on another report on another thread, It's basically a firmware issue & user has mentioned that leaked Nougat build has fixed the issue. Just be patient till the next system update.
Click to expand...
Click to collapse
Thankyou InvalidDNA

Related

[Bug Report] player hang when default set to hw+ on nexus 10 lollipop

i recently did a clean install of lollipop on my nexus 10 but noticed when in settings hw+ and hw decoder is enabled as default and when i play some xvid avi files, they show as hw+ or hw decoder at first but like in kitkat it used to switch to sw when hw+ or hw didnt work but in lollipop it doesnt switch and causes the player to be very laggy and after sometime crash. If i goto settings and disable hw+ or hw as default then it plays with sw at first and works fine. The switching from hw+ or hw to sw doesnt work as intended.
one more thing i noticed is under android developer options if i force gpu rendering for 2d drawings then it seems to switch from hw+ or hw to sw just fine without a hang so i guess that will give u a clue on where the bug is
khal_nayak said:
i recently did a clean install of lollipop on my nexus 10 but noticed when in settings hw+ and hw decoder is enabled as default and when i play some xvid avi files, they show as hw+ or hw decoder at first but like in kitkat it used to switch to sw when hw+ or hw didnt work but in lollipop it doesnt switch and causes the player to be very laggy and after sometime crash. If i goto settings and disable hw+ or hw as default then it plays with sw at first and works fine. The switching from hw+ or hw to sw doesnt work as intended.
one more thing i noticed is under android developer options if i force gpu rendering for 2d drawings then it seems to switch from hw+ or hw to sw just fine without a hang so i guess that will give u a clue on where the bug is
Click to expand...
Click to collapse
Can you collect the error logs right after the crash occurs, and post them here?
Pinned thread on how to collect error logs here: http://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144
CDB-Man said:
Can you collect the error logs right after the crash occurs, and post them here?
Pinned thread on how to collect error logs here: http://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144
Click to expand...
Click to collapse
here u go
CDB-Man said:
Can you collect the error logs right after the crash occurs, and post them here?
Pinned thread on how to collect error logs here: http://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144
Click to expand...
Click to collapse
one more in case if the first one is incomplete
khal_nayak said:
one more in case if the first one is incomplete
Click to expand...
Click to collapse
Nexus 10 5.0.2 looks like have some issues on media framework.
xvid avi is not the only format media framework crashes.
I hope newly released 5.1 firmware works better..
Please use HW decoder for the time being, at lease HW looks like work better than HW+ as of now.
bleu8888 said:
Nexus 10 5.0.2 looks like have some issues on media framework.
xvid avi is not the only format media framework crashes.
I hope newly released 5.1 firmware works better..
Please use HW decoder for the time being, at lease HW looks like work better than HW+ as of now.
Click to expand...
Click to collapse
i tried android 5.1 today, HW works but when i select that the seek lags a lot and HW+ still dead on a mkv file so i guess the player needs to be checked as well. Atleast now the decoder changes with message HW+ or HW not supported but still lags a lot and temporarily freezes the player

[Q] [CM12S] MX Player not playing in H/W+ anymore

Hello,
Since I have upgraded to Cyanogen OS 12S - or CM12S, as you prefer - MX Player is not able to play movies with H/W+ decoding.
I also noticed a bigger drain in battery over time with this combination (only H/W and CM12S).
Does anyone knows why is this happening?
Does anyone know how to fix it?
I also noticed that, with this update, playback of H.265 is much smoother now.
Thank you in advance.
I have the same issue
Does anyone have an answer for this? It use to work fine in CM11S
Same issue, but worse.
Got the same issue. But now HW stopped working as well. (Including recorded video playback from gallery). Only MX player SW works.
Don't know if it's related to xposed. Planning to do a system upgrade again and check.
SRChiP said:
Got the same issue. But now HW stopped working as well. (Including recorded video playback from gallery). Only MX player SW works.
Don't know if it's related to xposed. Planning to do a system upgrade again and check.
Click to expand...
Click to collapse
I updated and checked, it still didn't work. But HW worked after I disabled developer tools and enabled it back. However, HW+ is still not working.
I could only get S/W working in CM12S.
I'm running CM12.1 nightly now and H/W works, but still no H/W+
I have same problem mx player will not play many vids it used to play easily online especially 3gp and i have the backup players for mx player also they dont help just does loading and wont play all decoders dont work. would somebody please tell me what to do or mx player please fix the decoder issues
From what I read, the problem is not with MX Player, but with Android Media Library in COS12 - some changes that are incompatible with MX so we have to wait if it's fixed in COS12.1.

Sync audio

Hello
My Mx player is losing the synchrony of audio relative to video
how can I fix this problem?
thank you
Can someone help me?
Already tried the 3 codecs and did not work
use the hw usually
There is another way to solve this problem ?
bilico said:
Can someone help me?
Already tried the 3 codecs and did not work
use the hw usually
There is another way to solve this problem ?
Click to expand...
Click to collapse
Installing the unnecessary codecs won't fix the issue. It will just occupy your memory that's all.
If anything wrong in HW decoder, it's basically a ROM issue. In Simple words, HW decoder is nothing but android mediaplayer on MX Interface.
Kindly enable HW+ from Settings > Decoder & Play the video in HW+. In some device HW+ may not work. Than try to play the video in SW decoder.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Installing the unnecessary codecs won't fix the issue. It will just occupy your memory that's all.
If anything wrong in HW decoder, it's basically a ROM issue. In Simple words, HW decoder is nothing but android mediaplayer on MX Interface.
Kindly enable HW+ from Settings > Decoder & Play the video in HW+. In some device HW+ may not work. Than try to play the video in SW decoder.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Already tried the 3 decoders and does not work
there is another way to fix this problem ?
bilico said:
Already tried the 3 decoders and does not work
there is another way to fix this problem ?
Click to expand...
Click to collapse
Problem might be from the video itself.
Can you upload the logs?
Sent from my SM-G900H using Tapatalk

No hardware decoding on H96 Max

Hi.
Recently bought H96 Max TV-Box and installed MX Player Pro on it.
But player can't play HEVC H265 videos in HW mode.
When trying to switch to HW mode it says it is not supported.
HW+ option is greyed out(not available) at all.
Currently using SW method but video playback is very bad with this method and it is impossible to watch with this method.
TV-Box based on RK3399 processor that claims full H265 hardware decoding support and I know it does because built in players can handle this file without problem with smooth playback.
How can I get smooth hardware decoding in player at this device?
hi, I'm going to receive this TV Box as well,
have you solved this problem? I'm a bit afraid of that...
IevgenSobko said:
Hi.
Recently bought H96 Max TV-Box and installed MX Player Pro on it.
But player can't play HEVC H265 videos in HW mode.
When trying to switch to HW mode it says it is not supported.
HW+ option is greyed out(not available) at all.
Currently using SW method but video playback is very bad with this method and it is impossible to watch with this method.
TV-Box based on RK3399 processor that claims full H265 hardware decoding support and I know it does because built in players can handle this file without problem with smooth playback.
How can I get smooth hardware decoding in player at this device?
Click to expand...
Click to collapse
biobio76 said:
hi, I'm going to receive this TV Box as well,
have you solved this problem? I'm a bit afraid of that...
Click to expand...
Click to collapse
Kindly share the bug report collected from MX Player help menu.
until or unless you share the bug report collected from MX Player, it's very difficult to identify the actual issue.
Thirumalai.K said:
Kindly share the bug report collected from MX Player help menu.
until or unless you share the bug report collected from MX Player, it's very difficult to identify the actual issue.
Click to expand...
Click to collapse
See attached zip file
I've been trying to get Amazon Prime Video to run on mine but it crashes every time, Android 7.1..2
@Thirumalai.K any update on this?
IevgenSobko said:
@Thirumalai.K any update on this?
Click to expand...
Click to collapse
Hi,
Actually, the issue is that system decoders in your device do not report that they can support HEVC 10bit profiles. So, MX Player does not try the hardware accelerated playbacks as several devices are known to crash when force decoding 10bit HEVC & H.264.
Based on some feedbacks from the users like you, we have decided to make this logic as optional. From 1.9.19, even if the device doesn't explicitly report it's capabilities, MX Player will list the HEVC 10bit & H264 10bit on HW+ Video Codecs list on Settings > Decoder. It can be enabled with a warning. Once you enable the HEVC 10bit or H.264 10bit, it will be tried in both HW & HW+.
We have already started rolling out the new version in stages. If you haven't received yet, you can manually grab the apk from our wesite & try yourself. Kindly leave a feedback after testing the same in your device.
Thirumalai.K said:
Hi,
Actually, the issue is that system decoders in your device do not report that they can support HEVC 10bit profiles. So, MX Player does not try the hardware accelerated playbacks as several devices are known to crash when force decoding 10bit HEVC & H.264.
Based on some feedbacks from the users like you, we have decided to make this logic as optional. From 1.9.19, even if the device doesn't explicitly report it's capabilities, MX Player will list the HEVC 10bit & H264 10bit on HW+ Video Codecs list on Settings > Decoder. It can be enabled with a warning. Once you enable the HEVC 10bit or H.264 10bit, it will be tried in both HW & HW+.
We have already started rolling out the new version in stages. If you haven't received yet, you can manually grab the apk from our wesite & try yourself. Kindly leave a feedback after testing the same in your device.
Click to expand...
Click to collapse
Just tried 1.9.19 and it works Thanks for implementing this. Will wait it to appear in Google Play Store for Pro version that I have purchased.
IevgenSobko said:
Just tried 1.9.19 and it works Thanks for implementing this. Will wait it to appear in Google Play Store for Pro version that I have purchased.
Click to expand...
Click to collapse
As we are rolling out in a stages, it may take a while. If Google Play is not yet showing the update, youn download the same from our website (http://mx.j2inter.com)
Thirumalai.K said:
As we are rolling out in a stages, it may take a while. If Google Play is not yet showing the update, youn download the same from our website (http://mx.j2inter.com)
Click to expand...
Click to collapse
Many thanks. Somehow missed link to player web site in Google Application Store. Downloaded PRO beta from there. :good:

Low video quality unsing HW+ decoder

hi,
I have an Minix U9-H box (android 6.0) and when I play full HD streaming files from my ip tv provider using HW+ decoder, the video quality is poor. It's working fine with HW or SW decoder (The codec used by mx player is ARM V7 NEON).
I checked also in perfect player and when using HW+, it seems the player downgrade the video resolution to SD format.
Any clue ?
Chris
rusukof36 said:
hi,
I have an Minix U9-H box (android 6.0) and when I play full HD streaming files from my ip tv provider using HW+ decoder, the video quality is poor. It's working fine with HW or SW decoder (The codec used by mx player is ARM V7 NEON).
I checked also in perfect player and when using HW+, it seems the player downgrade the video resolution to SD format.
Any clue ?
Chris
Click to expand...
Click to collapse
It should be a bug in the system decoder. In HW+, MX Player passes the frames to the system decoders to directly decode. Probably, the resolution of the decoded frame might be low. We have encountered a similar issue in the past especially when the stream is interlaced. If it's the root cause, then it has to be fixed on the firmware. You will notice similar issues with all major video player apps which makes use of similar technology.
rusukof36 said:
hi,
I have an Minix U9-H box (android 6.0) and when I play full HD streaming files from my ip tv provider using HW+ decoder, the video quality is poor. It's working fine with HW or SW decoder (The codec used by mx player is ARM V7 NEON).
I checked also in perfect player and when using HW+, it seems the player downgrade the video resolution to SD format.
Any clue ?
Chris
Click to expand...
Click to collapse
HW and HW+ uses GPU for H.264 decoding. They performance much better from SW which uses CPU for decoding. HW can perform better than HW+ in most of the Cases, but there is a chance it does not work smoothly on many devices.
Same
Same problem. SW is better than HW and HW+. (Android tv 8.1 - Mibox 3s)
lighthousehn said:
Same problem. SW is better than HW and HW+. (Android tv 8.1 - Mibox 3s)
Click to expand...
Click to collapse
It may happen when the Hardware Accelerated Decoders implemented on the device itself is buggy. Can you please contact us with screenshots of the playback on HW/HW+ and SW along with a bug reported collected from MX right after playing the file? It will help us to confirm the same.
There is no error, just low quality. HW and HW+ is same. SW is good.
The problem only occurs when viewing iptv (multicast - udp), watching the file on the hard disk is ok
lighthousehn said:
There is no error, just low quality. HW and HW+ is same. SW is good.
The problem only occurs when viewing iptv (multicast - udp), watching the file on the hard disk is ok
Click to expand...
Click to collapse
It is one of the known issues on Xiaomi's TV boxes with Oreo and Nougat firmware. Based on our past investigation, it has been found that the hardware accelerated decoder's output resolution of the video frames is much lower than the actual frame size. As both HW and HW+ relies on the decoders shipped with the device, you can notice the issues on both. Request you to contact the device manufacturer so that they can fix the same on their firmware.
If it is possible, kindly share a link with us on PM or at [email protected] so that we can also escalate the same from our end.
I also tried on my phone (Mi Mix 2s - Android 9, MIUI 10) and it gave same results.
multicast links on private network, so you can not access it: https://textuploader.com/dlohs/raw
lighthousehn said:
I also tried on my phone (Mi Mix 2s - Android 9, MIUI 10) and it gave same results.
multicast links on private network, so you can not access it: https://textuploader.com/dlohs/raw
Click to expand...
Click to collapse
Can you please try any non-xiaomi device and check again? Can you also check whether it happens if you copy the stream to a file using FFmpeg? Without a sample clip or a link, we may not be able to seek the assistance of the Xiaomi team.
MXPlayer said:
Can you please try any non-xiaomi device and check again? Can you also check whether it happens if you copy the stream to a file using FFmpeg? Without a sample clip or a link, we may not be able to seek the assistance of the Xiaomi team.
Click to expand...
Click to collapse
I don't have a non-xiaomi device. These are sample files. I saved them with VLC
http://www.mediafire.com/file/71cnwgwzsgw674b/test.ts/file
https://www.mediafire.com/file/wjhcmec367uhwxr/test1.ts/file
Let me guess a bit: The format of the service provider is 1080i, this issue relates to the deinterlacing algorithm. With HW decoder, resolution halved.
maybe recode your video?

Categories

Resources