Related
Hi all,
I seems to have a little problem when it comes to reading h.265 encoded files. I'm on MX Player and while the software decoder works (but with stutters on the image, except for very low size files) the hardware decoding option gives me a black image at all times. I don't understand why i can't seem to decode h.265 since qualcomm affirms that snapdragon is able to decode it.
Any idea where this is coming from ?
I'm on stock LP rom with the last update.
Thank you
djona12
Try a different player - BS Player for example (or VLC Player).
Tried a whole bunch of player but none is working unfortunatly
All failed too decode smoothly with software (either video lagging and getting out of sync with audio or partialy grey image). Our 801 isn't powerful enough to decode h.265 with some software...
What i don't get is why no player seems to be able to use hardware support to decode the video since qualcomm said that we got h.265 support Could it be rom related ?
djona12 said:
.... Could it be rom related ?
Click to expand...
Click to collapse
Well, I'm on OmniROM and have the exact same behaviour...
AngryHapposai said:
Well, I'm on OmniROM and have the exact same behaviour...
Click to expand...
Click to collapse
That doesn't sound good
I also tried to change the screen resolution (to FHD and HD) while playing a video but same issue, i get the sound but no image in hardware mode...
I'm starting to think that h.265 support from the snapdragon 801 isn't real :/
Update!
I'm actually running a test drive on the SlimSaber LP ROM, and I'm totally able to smoothly play HEVC /h265 files using MX Player and the HW decoder.... :victory:
However, it complains that the HW+ decoder isn't supported.
That's some good news
Gonna give it a try, thanks for the update
About, HW+ decoder, i can't get it to work on any of my devices... Doesn't really matter when we already have HW i guess^^
EDIT : Little update here ! Tried SlimSaber to see about the hw decoding support (thax to AngryHapposai), worked fine, then went back to Color OS and hw decodinf was still supported ! Problem was the kernel on stock wasn't able to give us hw but the kernel from slimsaber (Linux 3.4.x) was... Restore with TWRP didn't reset kernel and after 3 days of use everything seems to work like a charm, hardware decoding included !
Hi guys, moto g4 plus using Snapdragon 617 Processor, this processor support 1080P 60fps record but g4 plus have to feature 1080p 30fps. Will be 1080p 60fps mod ? because as g4 plus same power too phones recording [email protected], for example samsung galaxy S5
https://www.qualcomm.com/products/snapdragon/processors/617
I think the camera sensor is not compatible
But it's just my thinking
mgedik said:
Hi guys, moto g4 plus using Snapdragon 617 Processor, this processor support 1080P 60fps record but g4 plus have to feature 1080p 30fps. Will be 1080p 60fps mod ? because as g4 plus same power too phones recording [email protected], for example samsung galaxy S5
https://www.qualcomm.com/products/snapdragon/processors/617
Click to expand...
Click to collapse
There are 3 things you have to look at when deciding what resolution & speed a phone records a video...
1. Camera sensor
2. The ISP
3. The software implementation
1. Camera sensor - Omnivison OV16860
A quick look at the OmniVision site tells me that the G4 Plus sensor "supports high-quality slow motion video capture with full field of view (FOV). The sensor can capture 16-megapixel images and video at 45 fps, ultra-high resolution 4K2K video at 60 fps, and 1080p high definition (HD) video at 120 fps via high speed D-PHY and C-PHY interfaces"
What does this mean? It means that yes, our phone CAN record 1080p60 videos, & actually a lot more....
2. ISP - Snapdragon 617
It is very well known that this is a decent mid-tier SoC and has good capabilities.... But how much exactly...?
Multiple google searches led me to this -
"14.9GB/s b/w GPU Adreno 405 Adreno 405 "Next-gen" Adreno "Next-gen" Adreno Encode/
Decode 1080p H.264
1080p30 HEVC, decode 1080p H.264
1080p60 HEVC, decode 2160p30, 1080p120
H.264 & HEVC 2160p30, 1080p120
H.264 & HEVC Camera/ISP 21MP Dual ISP"
Which means yes, our phone can decode 1080p60 videos (seems to be HEVC only)
3. Software implementation -
Now this is where your answer is... Motorola has to develop (or fork) device drivers & libraries for the particular sensor & ISP. Now, on a mid-range phone for the masses, why would you spend so many development hours on trying to get 1080p60, only for it to eat away its high-range market's share. The G4 Plus is already more than capable to disrupt high range phones (ex - Moto Z Play), and if you add extra features, it'll either be costlier or everybody will buy ONLY this phone.
Long story short, Motorola hasn't included the SW implementation and/or device libs required for 1080p60. If you want it, you have to develop it yourself from Motorola's device libs & kernel.... Parts of which are closed source... Which means you can't.
Only solution is to reverse engineer/ get open source device libs for the sensor, make your changes, integrate it back into the kernel (& the system) & HOPE it works.
Similar discussion was held in the Moto G2 forums, that device was capable of 1080p recording, whereas it only had 720p in SW... Similar conclusion in the end.
Very interesting.
aditya.upadhyaya said:
There are 3 things you have to look at when deciding what resolution & speed a phone records a video...
1. Camera sensor
2. The ISP
3. The software implementation
Click to expand...
Click to collapse
Thank you, that was a great summary. Much appreciated.
try oxygen for android "ABS TWEAKS" BEST APP EVER! and you'll get your 60fps, you'll need busybox, and terminal on your phone, and Int. n your phone. theres a thread on xda about it. good luck champs!!!
p.s. i take no credit for ABS TWEAKS.
Dr.who? said:
try oxygen for android "ABS TWEAKS" BEST APP EVER! and you'll get your 60fps, you'll need busybox, and terminal on your phone, and Int. n your phone. theres a thread on xda about it. good luck champs!!!
p.s. i take no credit for ABS TWEAKS.
Click to expand...
Click to collapse
Even if that abs tweak work ,It doesn't support nougat.
I think ABS TWEAK is for 60 fps playback and not camera mod. IMHO
aditya.upadhyaya said:
Which means yes, our phone can decode 1080p60 videos (seems to be HEVC only)
Click to expand...
Click to collapse
That is DECODING - processing video files to send data to the LCD screen.
You need to look at the ENCODING process - making data files from data from the image sensor. That is a different hardware block on the chip. All I could find is that SD617 supports: "Up to 1080p video capture @60 FPS".
Datasheet doesn't say more, it's even more confusing because it says [email protected]: https://www.qualcomm.com/media/documents/files/snapdragon-617-processor-product-brief.pdf
Also, remember that, if you save on the external SD card, it's speed might not be enough to keep up with writing the video file. Some cheap cards have horrible writing performance.
It requires driver and HALs
I am looking for a Video player app that supports effect/filter/post processing mainly Sharpening. possibly other options like contrast, saturation/hue etc.
VLC for desktop and many other PC player apps support this, but I have yet to see one for mobile.
I've used MX Player Pro for long time, but i has no way to tweak the actual video it plays...any suggestions?
EDIT: MPV
That does it all if u setup a .conf.
Now use it for Android and PC.
https://mpv.io/manual/stable/
Sharpening while playing is a Hardware based ability
Hi there,
Unfortunately, for now, Sharpening while playing, is a mere Hardware ability (in contrast to HUE, SATURATION, BRIGHTNESS, CONTRAST etc which are software depended).
Sharpening works on its best with PCs hardware architecture, but on mobile platform you should go for proper hardware, not all SOCs support SHARPENING. for instance some MEDIATEK SOCs support it and the ability is called MIRAVISION by MediaTek. i had your problem, and finally bought a midrange tablet with MEDIATEK MTK MT8783 chipset which supports Sharpening and other MiraVision abilities very well, satisfied me with crystal clear and crisp video playing on FullHD IPS screen, far better than any TV.
Amir1975 said:
Hi there,
Unfortunately, for now, Sharpening while playing, is a mere Hardware ability (in contrast to HUE, SATURATION, BRIGHTNESS, CONTRAST etc which are software depended).
Sharpening works on its best with PCs hardware architecture, but on mobile platform you should go for proper hardware, not all SOCs support SHARPENING. for instance some MEDIATEK SOCs support it and the ability is called MIRAVISION by MediaTek. i had your problem, and finally bought a midrange tablet with MEDIATEK MTK MT8783 chipset which supports Sharpening and other MiraVision abilities very well, satisfied me with crystal clear and crisp video playing on FullHD IPS screen, far better than any TV.
Click to expand...
Click to collapse
WOW....really...reply to 2yr old thread.....mods will probably ban u for that....they very picky here.....
And your very wrong......
Discovered over a year ago...no thanks to anyone here on XDA.....that MPV player app has everything u can set via its .conf file. Sharpness, brightness,contrast, scalers, etc. I now use it on Android and PC. Even find it much better then MPC-HC i was using on PC.
tnx for your reply, i tried it but never works correctly bro, at least i couldnt make it to work like miravision. if you have a config file please upload it here and share.
Amir1975 said:
tnx for your reply, i tried it but never works correctly bro, at least i couldnt make it to work like miravision. if you have a config file please upload it here and share.
Click to expand...
Click to collapse
What u mean "never works correctly". What device and source file are you playing?
By default, it should work just fine to play pretty much anything. Works fine on my Pixel 3
If u fuss with the settings, and your devices does not support those settings, or the hardware is not strong enough, then things will have issues.
MPV has extensive documentation on how to use each syntax command and what scalers, and hw accel/decode modes support what etc.
The .conf would be unique to each device/platfourm etc.
The only things i have in my mpv.conf on my phone is:
sharpen=1.18
saturation=10
I also use ewa_lanczossharp for up and downscaling filter. I have noticed that using Interpolation makes the video look wonky, but that is very device specific experience, screen refresh rate and gpu power etc.
wow!!
thats great pal, really great. i used your config and then changed it, changed sharpness to 5! though uses more system resources but works great. now i can use my abandoned android box on tv too, it doesnt have battery so no worries about battery drainage.
also found some instructions on net, so complicated for me to read and use it all, but at least learned how to use cfg file.
tnx again
unfortunately, it doesnt work with my Amlogic s905 CPU of Android box. player runs well but commands like sharpen never get to work with any parameter. i tried it again on my Mate9 phone and worked well with KIRIN chip, so about Amlogic, it needs more development.
Why is it that despite of having same configuration as OnePlus3, ZUK can't play 4KHDR @60fps as smooth as OP3? Though it can, after some tweaks, but not as efficiently & smooth as OP3(unrooted). I used same Version of MXPlayer and same file for comparison.
I tried all custom kernels available (Heliox,Jaguar,Darkmoon) and Latest versions of major ROMs(RR,AEX,ViperOS). And still didn't match the playback quality of OP3.
Please tell me if there are more kernels or ROMs yet to be tried, which can bring substantial step-up in performance, or which will just Play 4KHDR @ 60fps.
Overall, the User Experience is super-smooth but
this small thing is eating my brain :crying:
d3vyarth said:
Why is it that despite of having same configuration as OnePlus3, ZUK can't play 4KHDR @60fps as smooth as OP3? Though it can, after some tweaks, but not as efficiently & smooth as OP3(unrooted). I used same Version of MXPlayer and same file for comparison.
I tried all custom kernels available (Heliox,Jaguar,Darkmoon) and Latest versions of major ROMs(RR,AEX,ViperOS). And still didn't match the playback quality of OP3.
Please tell me if there are more kernels or ROMs yet to be tried, which can bring substantial step-up in performance, or which will just Play 4KHDR @ 60fps.
Overall, the User Experience is super-smooth but
this small thing is eating my brain :crying:
Click to expand...
Click to collapse
First of all, You are comparing "THE BEST" SD820 phone with probably the 3rd or 4th best SD820 phone (antutu wise). Secondly, even on the OP3, why would you choose to play 60fps 4K videos that too HDR ones?! That's ridiculous for anyone. I'm hoping the logical explanation to why you're doing this is to kinda benchmark the phone. But even then a lot of SD653 and SD810 phones can breeze through this benchmark easily. It's even more ridiculous that you've tried almost all roms and kernel combos just for a luxury video playback.
Anyways coming to the point, I tried the Sony 4K 60fps HDR Swordsmith video on my Z2+ (AEX4.6 Official with HelioX 3.18.80) via MX with HW (not plus) decocer and the video was running smooth AF. Infact, compared to playback my friend's OP3 running OxyOS 5.0, my Z2+ had zero hiccups throughout the video while the OP3 had 2 or 3 towards the middle. The interesting thing is that I achieved these results while running CPU underclocked to 1996 & 1401. But technically speaking that shouldn't be a problem in the video playback coz HW decoder runs exclusively on the GPU. Concluding my point, don't watch ridiculously high quality videos on phone and don't change roms and kernels to achieve desired playback, just adjust and optimize them.
Incrovantilist said:
First of all, You are comparing "THE BEST" SD820 phone with probably the 3rd or 4th best SD820 phone (antutu wise). Secondly, even on the OP3, why would you choose to play 60fps 4K videos that too HDR ones?! That's ridiculous for anyone. I'm hoping the logical explanation to why you're doing this is to kinda benchmark the phone. But even then a lot of SD653 and SD810 phones can breeze through this benchmark easily. It's even more ridiculous that you've tried almost all roms and kernel combos just for a luxury video playback.
Anyways coming to the point, I tried the Sony 4K 60fps HDR Swordsmith video on my Z2+ (AEX4.6 Official with HelioX 3.18.80) via MX with HW (not plus) decocer and the video was running smooth AF. Infact, compared to playback my friend's OP3 running OxyOS 5.0, my Z2+ had zero hiccups throughout the video while the OP3 had 2 or 3 towards the middle. The interesting thing is that I achieved these results while running CPU underclocked to 1996 & 1401. But technically speaking that shouldn't be a problem in the video playback coz HW decoder runs exclusively on the GPU. Concluding my point, don't watch ridiculously high quality videos on phone and don't change roms and kernels to achieve desired playback, just adjust and optimize them.
Click to expand...
Click to collapse
My point on playing the best video quality I have, bcz ZUK can, why not. I tried LG Cymatic Jazz HDR to test the playback(details attached).
Back when I had ZUI, it could not play the video at 60 fps. But when I flashed first RR, I was surprised by the result. In MX Player Pro with HW+, it could play super smooth with absolute 0 lag.
Then came updates and further more I flashed many ROMs but never got that playback. Changing kernels didn't help. And now I've same ROM and kernel as you do, because you know.
The fact that you can play 4KHDR @ 60fps, may be bcz ur video isn't having 10 bit color depth. Please attach your video details, I wanna see. If our videos are of same quality, then I may be having some other issue.
Its strange however, you're playing 4KHDR on HW.
Also, do you have Substratum theme or Xposed modules installed? Just curious if these affect performance in any way.
d3vyarth said:
The fact that you can play 4KHDR @ 60fps, may be bcz ur video isn't having 10 bit color depth. Please attach your video details, I wanna see. If our videos are of same quality, then I may be having some other issue.
Its strange however, you're playing 4KHDR on HW.
Also, do you have Substratum theme or Xposed modules installed? Just curious if these affect performance in any way.
Click to expand...
Click to collapse
No Substratum No Xposed. And the video I tried has same video specs as yours (attached).
Incrovantilist said:
No Substratum No Xposed. And the video I tried has same video specs as yours (attached).
Click to expand...
Click to collapse
Is it possible that Xposed and Substratum are somewhere causing pain to the system?
Also, I once changed some screen values through Kernel auditor and tried to undo that. I don't know if they're default now, I'm attaching SS just tell me if they're same. I'll try uninstalling Substratum and Xposed and keep system as Lite as possible and then check.
Thanks for your attention and help
d3vyarth said:
Is it possible that Xposed and Substratum are somewhere causing pain to the system?
Also, I once changed some screen values through Kernel auditor and tried to undo that. I don't know if they're default now, I'm attaching SS just tell me if they're same. I'll try uninstalling Substratum and Xposed and keep system as Lite as possible and then check.
Thanks for your attention and help
Click to expand...
Click to collapse
Substratum can have some slowing effect on GPU due to its theme engine but that'll be possibly unnoticeable in a SD820. Xposed should be harmless (afaik with my previous phones) unless you are running GPU affecting modules. I don't use substratum because I was perfectly happy with CM theme engine and now that it's gone, I'm not so keen for a replacement. Xposed went meaningless after Lollipop & the birth of Magisk (for me atleast). And lastly about Screen values in KA, they don't have any effect on GPU unless ofcourse you're running grayscale which might actually save you some power (but might be unstable). If you want to reset the values, just uncheck apply on boot under screen settings and reboot. FYI, I ran almost all KCAL profiles I found online and "Perfection" (that's the name of the KCAL profile) for OP2 is giving the best visuals in my perspective. Try it if you want. Happy to have helped you ?✌?
Imo the zuk z2 is not as good at playback than I expected. Even 1080p60 video drop frames constantly at 2x playback speed
Also the phone dont have a hdr screen so why even try to play hdr content anyway
pipyakas said:
Imo the zuk z2 is not as good at playback than I expected. Even 1080p60 video drop frames constantly at 2x playback speed
Also the phone dont have a hdr screen so why even try to play hdr content anyway
Click to expand...
Click to collapse
Playing a 60fps video at 2x speed would mean 120fps, that's out of our screen limit. For that purpose display needs 120Hz refresh rate as in New Razer phone, or some frames will get skipped(frame drops) as you noticed.
And the reason why I wanna play that, I search of playing that thing smoothly, I've learned many things. It simply gives me satisfaction.
Incrovantilist said:
Substratum can have some slowing effect on GPU due to its theme engine but that'll be possibly unnoticeable in a SD820. Xposed should be harmless (afaik with my previous phones) unless you are running GPU affecting modules. I don't use substratum because I was perfectly happy with CM theme engine and now that it's gone, I'm not so keen for a replacement. Xposed went meaningless after Lollipop & the birth of Magisk (for me atleast). And lastly about Screen values in KA, they don't have any effect on GPU unless ofcourse you're running grayscale which might actually save you some power (but might be unstable). If you want to reset the values, just uncheck apply on boot under screen settings and reboot. FYI, I ran almost all KCAL profiles I found online and "Perfection" (that's the name of the KCAL profile) for OP2 is giving the best visuals in my perspective. Try it if you want. Happy to have helped you ?✌?
Click to expand...
Click to collapse
I removed Substratum and Xposed, even Shox audio mod, but result was same.
Though Performance as CPU Governor gives 100% results, but you said you've Under-Clocked ur CPU to 1996MHz, that did surprise me.
Which CPU & GPU governor do you use? Also which I/O Scheduler? I'm curious.
d3vyarth said:
I removed Substratum and Xposed, even Shox audio mod, but result was same.
Though Performance as CPU Governor gives 100% results, but you said you've Under-Clocked ur CPU to 1996MHz, that did surprise me.
Which CPU & GPU governor do you use? Also which I/O Scheduler? I'm curious.
Click to expand...
Click to collapse
Fiops scheduler.
CPU Governor is Interactive. (default on HelioX)
GPU Governor is Msm-adreno-tz. (default on HelioX)
Incrovantilist said:
Fiops scheduler.
CPU Governor is Interactive. (default on HelioX)
GPU Governor is Msm-adreno-tz. (default on HelioX)
Click to expand...
Click to collapse
I use same settings
I think I need to do more research on this.
Updating to Oreo smoothed everything out :fingers-crossed:
I know that the Snapdragon 821 SoC the Pixel XL has supports 10-bit HEVC hardware decoding, but Google has not enabled it. Note that it seems to have been temporarily enabled in developer preview 4 according to a thread on Google's "Pixel Phone Help", which is why I believe it is possible a software or OS patch would be sufficient to enable HEVC hardware decoding.
Is there any way to enable the 10-bit HEVC hardware decoding capabilities of the Snapdragon 821 in the Pixel XL (e.g. through a custom ROM or root)?