HW and HW+ Support for Spreadtrum Processors - MX Player

Would it be possible to add HW and HW+ support for Spreadtrum processors? I use a Samsung Galaxy Tab A 7.0, which uses the Spreadtrum SC9830 processor, and due to lack of support for these features, the tablet struggles to play 1080p videos encoded in the .mkv format as the CPU is not fast enough for software decoding.
Thank you in advance.

acornkenya said:
Would it be possible to add HW and HW+ support for Spreadtrum processors? I use a Samsung Galaxy Tab A 7.0, which uses the Spreadtrum SC9830 processor, and due to lack of support for these features, the tablet struggles to play 1080p videos encoded in the .mkv format as the CPU is not fast enough for software decoding.
Thank you in advance.
Click to expand...
Click to collapse
HW basically uses standard mediaplayer api from Android. In simple words, MX Player acts as a framework of android mediaplayer API. So, if you device doesn't support anything it can't be played in HW.
HW+ is a hybrid method. But, it still utilizes the decoders available in order to play with hardware acceleration. It may play many videos that HW can't play.
Without any bug report we can't comment anything in general. Bug report will give better un sight to the issue.
Can you collect the logs immediately after playing the video in HW & HW+ .?
For more information about how to collect the logs & report bugs, Kindly read here.
http://forum.xda-developers.com/showthread.php?t=2843144
Sent from my Samsung Galaxy S5 using XDA Labs

Related

[Q] Cannot play HEVC files on my RK3288

Hi everyone,
Hoping someone can help
I just bought an Android TV Box featuring the RK3288 SoC and I cannot get MX Player to play the standard HEVC's (Sintel, Kazu, Tears of Steel etc).
They are just resulting in a black screen with audio only using the HW decoder, I tried activating the HW+ decoder but it says it's not available.
Any ideas? The files play fine in HW mode on Kodi.
Thanks,
Steve
I dont know about tv box. HW is not supported for HEVC. SW Decoder can play HEVC in my mobile. Have you switch to sw decoder?
SW is too stuttery to be of any use. The weird thing is I know that others can playback HEVC on theis SoC on MX Player so there is obviously something I'm missing...
It depends.
H/W decoder uses android's mediaplayer API to play the video. In short it will be similar to stock player. Some devices natively support HEVC. So, they can play HEVC in H/W decoder.
In some cases, the SOC may support HEVC decoding. But, the OEM may disable it to avoid patent issue or to save licensing fees.
If it's not natively supported, S/W decoder is the only option. But, in this entire decoding will be done on CPU. So, the performance will be purely depends on CPU power. It may be laggy on HEVC/HD videos.

[Q] Hevc

I want to play 720p HEVC H.265 in MX Player. Does it depends on mobile? Do I need to download any codecs? What are the minimum requirements to play HEVC in MX Player smoothly? Pleasy do reply.
awesomealpesh said:
I want to play 720p HEVC H.265 in MX Player. Does it depends on mobile? Do I need to download any codecs? What are the minimum requirements to play HEVC in MX Player smoothly? Pleasy do reply.
Click to expand...
Click to collapse
Yes, it's completely depends on device.
If the device natively supports HEVC, you can play HEVC in HW decoder. Else, SW decoder is the only option. But, it needs very powerful processor.
Sent from my SM-G900H using Tapatalk
Hevc
If I want to play it in SW, then how much powerful processor is needed?
It will be a great help if you mention minimum requirements for PC too.
Thanks
awesomealpesh said:
If I want to play it in SW, then how much powerful processor is needed?
It will be a great help if you mention minimum requirements for PC too.
Thanks
Click to expand...
Click to collapse
It depends upon the quality of the video.
Just try yourself. If SW is laggy, your processor is not powerful enough to play that video.
Sent from my SM-G900H using Tapatalk
awesomealpesh said:
If I want to play it in SW, then how much powerful processor is needed?
It will be a great help if you mention minimum requirements for PC too.
Thanks
Click to expand...
Click to collapse
Any Device, with CyanogenOS 12.1 / CyanogenMod 12.1 Can play smoothly in HW for 720p hevc/x265 8bit (10bit, not sure) @ 25fps.
With the same codec & resolution above 25fps, You need a device Display of 720p Resolution (Must).
For PC (Windows Platform Only), The Best of The Best - K-Lite Mega Codec Pack ( Much better than VLC ) URL :-
http://codecguide.com
Deblocking feature would be great for that. We can disable deblocking for highly compressed videos to achieve a better decoding.
** A - R ** said:
Any Device, with CyanogenOS 12.1 / CyanogenMod 12.1 Can play smoothly in HW for 720p hevc/x265 8bit (10bit, not sure) @ 25fps.
With the same codec & resolution above 25fps, You need a device Display of 720p Resolution (Must).
For PC (Windows Platform Only), The Best of The Best - K-Lite Mega Codec Pack ( Much better than VLC ) URL :-
http://codecguide.com
Click to expand...
Click to collapse
You are completely wrong...!
Eventhough rom configuration also plays a vital role in multimedia performance, it's mainly depends on the processor. If I am not wrong to implement HW acceleration for HEVC the chipset must support HEVC.
In device with unsupported chipset can't be HW accelerated even when you use Cyanogen(Mod/OS) 12.1.
Sent from my SM-G900H using Tapatalk
Hi i have wonderings, concerning HEVC on phones.
I can play my H265 videos on my phones enough smoothly (i used to have a Honor 6, and now it's a Oneplus X) - tryed VLC or MX Player Pro (+AC3&DTS Codec).
Yet i can't move inside any video. if i try to, the video always restart from the beginning. It's really annoying to me.
Concerning the HiSilicon processor, i thought there was some incompatibility, but with the OPX's SD801, everything should be fine, shouldn't it ?
Thanks in advance for your help
Lord_Babass said:
Hi i have wonderings, concerning HEVC on phones.
I can play my H265 videos on my phones enough smoothly (i used to have a Honor 6, and now it's a Oneplus X) - tryed VLC or MX Player Pro (+AC3&DTS Codec).
Yet i can't move inside any video. if i try to, the video always restart from the beginning. It's really annoying to me.
Concerning the HiSilicon processor, i thought there was some incompatibility, but with the OPX's SD801, everything should be fine, shouldn't it ?
Thanks in advance for your help
Click to expand...
Click to collapse
SW or HW decoder? Also, sounds like your video may have container wrapping issues, if you cannot seek.
OnePlus One should have more than enough power.
I've tried sw,hw, and hw+.
The behavior keeps the same.
As i mostly watch downloaded mangas, i've tried different ones, from different groups, but always impossible to seek inside a video...
What i understand from you is that it is not normal, and not a known issue... Crap!
ktsamy said:
You are completely wrong...!
Eventhough rom configuration also plays a vital role in multimedia performance, it's mainly depends on the processor. If I am not wrong to implement HW acceleration for HEVC the chipset must support HEVC.
In device with unsupported chipset can't be HW accelerated even when you use Cyanogen(Mod/OS) 12.1.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
@ktsamy, I Just Forgot That.
Thanks Mate.
@CDB-Man do you think it is something you can reproduce/investigate? (in OPX we have SD801 version aa i think...)
i truly believe that very few people use H265 for now, so such problem may keep marginal.
i haven't mentioned that i have tried every video reader i found on google play, all behave the same.
Or maybe does it come from the manufacturer's implementation/drivers in its rom ? (what about SD801 with samsung's S5 phone?)
I haven't encountered any seek issues specific to HEVC; what I have seen before are videos not in a proper MKV or other container, and therefore you cannot seek it.
A raw .hevc video stream file, you may not be able to seek.

4k playback and device support

Hello all,
I am trying to make my new Philips TV play 4k HEVC videos but am having no luck with smooth playback.
MX Player seems to do the best job but stalls eventually. HW+ decoder kicks in to do the playback.
Short version of TV specs:
SoC Mediatek MT5596A
CPU ARM Cortex-A53
GPU ARM Mali-T860 MP2
Android 6
I collected MX player logs while the video was choppy and can send if required.
Can anyone tell me if my device is supported or am I wasting time on MX Player ?
Thanks
sexy_lady said:
Hello all,
I am trying to make my new Philips TV play 4k HEVC videos but am having no luck with smooth playback.
MX Player seems to do the best job but stalls eventually. HW+ decoder kicks in to do the playback.
Short version of TV specs:
SoC Mediatek MT5596A
CPU ARM Cortex-A53
GPU ARM Mali-T860 MP2
Android 6
I collected MX player logs while the video was choppy and can send if required.
Can anyone tell me if my device is supported or am I wasting time on MX Player ?
Thanks
Click to expand...
Click to collapse
What about HW decoder?
HW & HW+ decoder basically uses system decoders which are built into the firmware.
If HW decoder doesn't work and HW+ lags, probably your system decoders couldn't decode the video at that particular encoding profile. Can you share the logs here? We may have to look at the logs in order to understand the issue better.
Thirumalai.K said:
What about HW decoder?
HW & HW+ decoder basically uses system decoders which are built into the firmware.
If HW decoder doesn't work and HW+ lags, probably your system decoders couldn't decode the video at that particular encoding profile. Can you share the logs here? We may have to look at the logs in order to understand the issue better.
Click to expand...
Click to collapse
Hello and thanks,
The thing is that built-in TV video player does not work with x265 videos. I have tried VLC which performs terribly. I guess it uses SW decocoding and can't even play 1080p smoothly with x265 encoding.
Archos is really slick and works well with 1080p x265 but lags on 4K. The speed of 4K playback with Archos is the same as for MX Player with HW decoder. Only HW+ will play smoothly but it eventually stalls to a point of 1 frame per seconds as if some error is encountered (always at the same point in movie). Any attempt to rewind will kill 4K playback smoothness and menu operations often result in MX Player crashing.
Here is my report file
*h*t*t*p*s://1drv.ms/u/s!Av9g--Caxs7ogzkI5M_WUWgfOp3D

MX Player Xiaomi Mi6

I sometimes watch movies on the phone, from my experience the best app to deal with video is MX player because the HW and HW+ support and tons of functionality options.
But the thing is when I play videos on my Mi6, the video output isn't smooth enough as I've played on other device when using HW decoder (Xiaomi note 4 for example). When the movie shows moving scene from side to side (panning), it feels like fps drop down and also HW or HW+ feature doesn't even make any difference compared to SD decoder.
What's wrong? Do you guys have same problem? Thanks for your replies..
I'm using:
Xiaomi Mi6
Snapdragon 835
RAM 6 GB/STORAGE 128 GB
MIUI Global 9.2 | Stable | 9.2.2.0 (NCAMIEK)
Android version 7.1.1 NMF26X
Up
E_plus_E said:
Up
Click to expand...
Click to collapse
Hey,
Thanks for your report. HW decoder basically uses the android Mediaplayer API. So, it could be a bug in the firmware. If the system decoders itself is buggy, it can affect both HW & HW+ decoders. It will be great if you can collect a bug report from MX Player help menu after reproducing the issues. It will help us to understand the issue better.
MXPlayer said:
Hey,
Thanks for your report. HW decoder basically uses the android Mediaplayer API. So, it could be a bug in the firmware. If the system decoders itself is buggy, it can affect both HW & HW+ decoders. It will be great if you can collect a bug report from MX Player help menu after reproducing the issues. It will help us to understand the issue better.
Click to expand...
Click to collapse
Thanks for your response, have sent bug report to you guys.
Want to update my firmware either, hope it will solve the issue.:fingers-crossed:
MXPlayer said:
Hey,
Thanks for your report. HW decoder basically uses the android Mediaplayer API. So, it could be a bug in the firmware. If the system decoders itself is buggy, it can affect both HW & HW+ decoders. It will be great if you can collect a bug report from MX Player help menu after reproducing the issues. It will help us to understand the issue better.
Click to expand...
Click to collapse
Umm I have updated my firmware to the newest one but still there is no difference, still my videos are not played smoothly.
Don't really know what happened but please help me out so I can get the best experience watching movies.
I know you guys are the best, your app is the best!
I have sent bug report after upgrade my firmware.
Thanks mate.. :good:
What about SW decoder? Is it smooth?
Will you mind to share a sample content with us?
MXPlayer said:
What about SW decoder? Is it smooth?
Will you mind to share a sample content with us?
Click to expand...
Click to collapse
No any complaint about SW decoder, also nothing special about it.
I have problem only with HW and HW+ decoder which is I can't find any benefit using it until now, there is no difference between HW/HW+ and SW decoder.
One thing I consider to be the cause of this problem is my phone maybe incompatible with ARMv7 codec.
When will you guys launch ARMv8 codec? Hope it will solve the problem..
E_plus_E said:
No any complaint about SW decoder, also nothing special about it.
I have problem only with HW and HW+ decoder which is I can't find any benefit using it until now, there is no difference between HW/HW+ and SW decoder.
One thing I consider to be the cause of this problem is my phone maybe incompatible with ARMv7 codec.
When will you guys launch ARMv8 codec? Hope it will solve the problem..
Click to expand...
Click to collapse
It is irrelevant to your issues. NEON instructions are fully compatible with ARMv8. Most of the modern devices are ARMv8 only. Even Redmi Note 4 has an ARMv8 processor. But, it doesn't have the issue in your case. There can be various reasons for this issue. One of the reason could be hardware accelerated system decoders are not returning the frames properly or it is slower than the SW decoder. Mi Box3 has similar issues with Oreo Firmware. Can you share the bug report with us? Since we are getting a large number of bug reports, it is very difficult to locate your one.

MX player not supporting hevc h265 and hw+ not working with h264 and h263 1080p video

Please create support for hevc(h265) which highly effective and efficient codec video format for video and has gain lots of popularity. There is also issue for hw+ not supporting and compatible with h264 and h263.
ragXcoder said:
Please create support for hevc(h265) which highly effective and efficient codec video format for video and has gain lots of popularity. There is also issue for hw+ not supporting and compatible with h264 and h263.
Click to expand...
Click to collapse
It depends on the device. Most of the modern devices can play HEVC Main profile videos in the HW & HW+ decoders. We will be able to assist you better if you can share a bug report from the MX Player help menu.
IN general, HW & HW+ decoders make use of the hardware acceleration provided by your device chipset. If the chipset doesn't support hardware acceleration of HEVC or it is not implemented by the manufacturer, there is no way to play the same in the HW or HW+ decoder. It is your hardware limitation. The only way to play is to use SW decoders. But, it may lag if your CPU is not powerful enough to handle the decoding load.
MXPlayer said:
It depends on the device. Most of the modern devices can play HEVC Main profile videos in the HW & HW+ decoders. We will be able to assist you better if you can share a bug report from the MX Player help menu.
IN general, HW & HW+ decoders make use of the hardware acceleration provided by your device chipset. If the chipset doesn't support hardware acceleration of HEVC or it is not implemented by the manufacturer, there is no way to play the same in the HW or HW+ decoder. It is your hardware limitation. The only way to play is to use SW decoders. But, it may lag if your CPU is not powerful enough to handle the decoding load.
Click to expand...
Click to collapse
Can you analyze my report file?
I think most devices now support h264 decoding. I know for sure my Fire Stick 4k supports 264 and 265 decoding by hardware, and it starts playback fine....but then after a while it jumps from HW to HW+ to SW, saying not supported.
I'm very happy to see that MX Player now streams 1080p HEVC 10-bit MKV flawlessly to my Samsung Galaxy Tab A 10.1 2016! I have literally tried to get it to work for years. HW+ option did not bring better results (stutters and hickups), heck, even transcoding from my Synology Disk Station was a pain in the a. I am curious to know what you changed in the recent version 1.10.51 (I will archive it forever and keep it in my heart) or if I was just too stupid or my device was too slow.

Categories

Resources