[GUIDE] Playing HEVC x265 movies/videos fluently on the Moto G 2014 (Second Gen.) - G 2014 General

Hi, here is a guide to play HEVC H.265 movies/videos fluently on the Moto G 2014. (HEVC on Wikipedia: https://goo.gl/9xFc3).
As you might know, the new HEVC H.265 video encoding standard is a quite CPU intensive codec and the Moto G 2014 doesn't support hardware HEVC H.265 decoding, resulting in choppy video playback with frequent frame drops, freezes, and so on. All software implementations with all optimizations enabled I've tried so far are not even able to play fluently 720p videos.
But I found out that there is a configuration which enables fluent HEVC H.265 playback (At at least [email protected] colors).
By using MX Player (https://goo.gl/GQPa7) + a custom optimized codec from XDA (http://goo.gl/S98AnH), I got 720p movies working fluently (And MX Player says that the video is being Hardware decoded??).
It has even better artifact filtering than switching it to SW decoding.
I was surprised how well this is working, and I really don't know how they achieve Hardware decoding (must be some kind of partial acceleration I guess).
Stuff to note:
- 10 bit color videos won't work and are just viewable using SW decoding which is too slow. If I'm not wrong not even 10 bit H.264 videos are supported natively.
- I only tried 720p videos with 8 bit color. Not sure how well it works with 1080p videos with 8 bit color.
GUIDE:
1. Install MX Player from the Google Play store: https://goo.gl/GQPa7
2. Download this optimized codec from XDA: http://goo.gl/S98AnH
3. Extract the codec to you phone SD.
4. In MX Player, go to Settings > Decoder > Custom Codec. Click on it and find the custom codec on your SD.
5. Enjoy.
Hope this guide will be useful to somebody. I took me some time to figure this out, and I found this basically out by surprise.
Greetings.

I don't know if its right but maybe HW support is already there
Video
Up to 1080p capture and playback
H.264 (AVC)
H.265 (HEVC)
Click to expand...
Click to collapse
source:https://www.qualcomm.com/products/snapdragon/processors/400

I did everything like you said but I'm still getting SW decoder with HEVC videos :crying:
[G 2014 • XT1068 • 6.0]

aplusp said:
I did everything like you said but I'm still getting SW decoder with HEVC videos :crying:
[G 2014 • XT1068 • 6.0]
Click to expand...
Click to collapse
I guess you are on stock ROM change ROM .

aplusp said:
I did everything like you said but I'm still getting SW decoder with HEVC videos :crying:
[G 2014 • XT1068 • 6.0]
Click to expand...
Click to collapse
HW works for me on cm13 with x265 files.

me_ankit said:
HW works for me on cm13 with x265 files.
Click to expand...
Click to collapse
Coincidentally just a few days back, I saw another post from you saying that it works on CM13 and I already made the switch. It works great! Thx :good:

me_ankit said:
HW works for me on cm13 with x265 files.
Click to expand...
Click to collapse
Meaning with the above MX Player + Custom Codec
or generally with video player/s on cm13?
P.S.: I would like to merge as much as possible to h265/opus/mkv video files.

ChriMo said:
Meaning with the above MX Player + Custom Codec
or generally with video player/s on cm13?
P.S.: I would like to merge as much as possible to h265/opus/mkv video files.
Click to expand...
Click to collapse
I did not try stock video player. it was working on mx player.

The link isn't working!

MX Player Custom Codec
rhp07 said:
custom optimized codec from XDA (http://goo.gl/S98AnH), I got 720p movies working fluently (And MX Player says that the video is being Hardware decoded??).
Click to expand...
Click to collapse
Here is the XDA thread of the codec: https://forum.xda-developers.com/devdb/project/?id=19112#downloads
But since MX Player has been sold, everyone wants to try the alternatives VLC or mpv-android.
https://play.google.com/store/apps/details?id=is.xyz.mpv
mpv-android is a video player for Android based on libmpv.
Features:
* Hardware and software video decoding
* Gesture-based seeking and volume/brightness control
* libass support for styled subtitles
* Play network streams with the "Open URL" function
Click to expand...
Click to collapse

Related

Official ICS supports 720p HD Video playback on the Nexus S

The Official ICS has got awesome Codecs that allows 720p hd video playback on the Nexus S on the stock player itself without lag.
But Video files with .mov extensions are not supported yet, ONLY .mp4
Try yourself
Here some 720p Movie Trailers
http://www.digital-digest.com/movies/movie_index.php
Press thanks if you like the post
Gingerbread supported h264 codec
Still missing important video like avi and ac3 dts audio codecs dice player still needed but atm not compatible with 4.0.3
Sent from my Nexus S using xda premium
Funny thing is (on GB with MX Player), that 720p mp4 video @ ~30fps plays with no lag at all. Simply beautifull. But video with same params but avi format lags like hell, or plays like slow slideshow...
Sent from my Nexus S using XDA App
Lordofminor said:
Funny thing is (on GB with MX Player), that 720p mp4 video @ ~30fps plays with no lag at all. Simply beautifull. But video with same params but avi format lags like hell, or plays like slow slideshow...
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
That's probably because it doesn't support hardware acceleration with other codecs than H.264.
Lordofminor said:
...But video with same params but avi format lags like hell, or plays like slow slideshow...
Click to expand...
Click to collapse
Which codec is the AVI using? There are h264 codecs that you can use in AVI files, but as stated, the usual h263 ones (divx, xvid, etc.) probably aren't hardware accelerated.
The new Vplayer offers 1080p video playback on the nexus s and galaxy nexus running ics
Sent from my Nexus S using xda premium
Try BSPlayer
720p video on a ~480p display?
I tried vplayer last night video playback with hardware acceleration were distorted but playback seemed smooth. Tested despicable me 720 MKV with DTS and RIO 720 AVI (old movies but great for showing off the SAMOLED)
but then again im using on icecream so maybe not supported and hardware acceleration is in experimental atm.
diceplayer has matured overtime also supports DTS a common audio format for MKV videos- offers everything you need for 5 buck. $5 is chump change considering the caliber of the app also the dev is great, really quick to fix problems and response quick to emails
also from what i hear BS player is also hardware but ATM don't work correctly on IC
also 1080 cool if can be played with hardware acceleration and playback is smooth. but not practical with only 16gb memory ..you might e ables to fit one movie with quality reduced since a decent quality MKV is like 9-12GB plus the SD is used for more than just media...its not worth it
Maximilian Mary said:
720p video on a ~480p display?
Click to expand...
Click to collapse
believe it or not it looks better than a 480x720 even if not running at 720P
also most HD movies online are at 1280x720 so it save the hassle of resizing and also reducing the quality of the video

Mkv playback

Guys im looking for an app that can play mkv file, which one do u prefer? With hardware acceleration
Sent from my GT-P6800 using XDA Premium App
emprize said:
Guys im looking for an app that can play mkv file, which one do u prefer? With hardware acceleration
Sent from my GT-P6800 using XDA Premium App
Click to expand...
Click to collapse
Mxvideoplayer can play mkv 1080p video with H/W , though it only works with 8-bit video, not 10-bit profile.
randomgent said:
Mxvideoplayer can play mkv 1080p video with H/W , though it only works with 8-bit video, not 10-bit profile.
Click to expand...
Click to collapse
how can i check my video is 8 or 10 bit?
emprize said:
how can i check my video is 8 or 10 bit?
Click to expand...
Click to collapse
You can check it by going to the video properties on your preferred video player on your pc,im pretty sure most mkv files are 8 bit.
is the 8bit restriction a limitation of the hardware, or of the (mxvideo)player?
wjharing said:
is the 8bit restriction a limitation of the hardware, or of the (mxvideo)player?
Click to expand...
Click to collapse
Im not really sure about that but whenever i tried to play 10 bit mkv video on mxvideoplayer with hardware decoding, it gave me a black screen.
Dice
You might want to try Dice player as well, i had loads of mkv rips that would not play audio on other players but dice has never failed me on mkv's
spiralz said:
You might want to try Dice player as well, i had loads of mkv rips that would not play audio on other players but dice has never failed me on mkv's
Click to expand...
Click to collapse
I tried dice player it doesnt work. so far mxvideoplayer, dice player and moboplayer doesnt work for 10 bit mkv with H/W.
I'm not sure if there are any players that can play 10bit files at the moment. For general mkv's I've been using Dice Player as it has been able to play all my files on my Asus transformer which other players weren't able to. But since the exynos processor is far superior to the tegra2 I would think any player that has hardware accelerated playback will suffice.
Most recently I've been using BS player as well for playing mkv's stored on my NAS streamed over wifi. This is the only player that seems to be able to play 720p video smoothly over wifi.
Stock Samsung player can't play MKV like Galaxy S and Galaxy SII?!? It's the best HW player for my SII...
Sent from my GT-I9100 using xda premium
I use MoboPlayer, it can play almost video formats well.
But I also got aneesoft video converter to help me do some conversions when need, and it let me to play HD, and AVCHD videos that shot by HD camcorder smoothly.
Aneesoft? Never heard of that. I'm looking for a .mov converter as the tablet converter had trouble with my .mov files.
Is that the best converter out there?
uncle_buckman said:
Aneesoft? Never heard of that. I'm looking for a .mov converter as the tablet converter had trouble with my .mov files.
Is that the best converter out there?
Click to expand...
Click to collapse
Well, aneesoft video converter can convert the .MOV video well for my tablet, it has a special output selection for tablet, so you just need to choose your tablet model as output.
I'll echo the mx player recommendation; I like its rendering options and subtitle support among other things. Lack of hi10p support is a hardware limitation. Video with 10-bit color profiles is just too new and (at least afaik) isn't supported by any current hardware. And of course mobile cpus lack the compute muscle to decode decent-quality x.264 smoothly. So as others have said, transcoding on your computer is your best bet. If you don't know anything about video encoding, try http://hi10ptranscoder.wordpress.com/. It's a simple program for this exact problem.
For me Dice-player had stuttering every 10 secs on some .mkv-files. The stock player doesn't stutter, but it also doesn't support movies with DTS-sound.
MX Player seems to work the best and it also has an option for SW-decoding the sound if a file has DTS-sound. (Have to change it from the default HW-decoding to hear sound.)
No need to worry about 8 or 10 bit - there are NO rips with 10bit of any movies, 720p, 1080p - all are OK...EXCEPT some crazy anime, seen them - I really don't get this 10 bit hype - just some ultra-grainy stuff...
Stock video player can play MKV smoothly , why bother to use another player ?
dreamxp said:
Stock video player can play MKV smoothly , why bother to use another player ?
Click to expand...
Click to collapse
Stock player doesnt play audio if the mkv contains DTS track.
MX Video player for me is the best. Without chainging the H/W decoding i just selecting the DTS audio track and plays it perfect.
I have done tests with heavy mkc samples with 20-40MBPS with DTS sound and it plays it so smooth. Smoother than my expensive O2 HMR-2000!
My oldest Galaxy S2 plays them perfect too but with same samples i have some frame drops some times even if i have it at 1.6GHz.
It seems tab 7.7 doesnt have excactly the same cpu/gpu. At papers it is the same. But not in real life. Maybe the memory or the controler or the chipset or the architecture? I dont know.
It plays PERFECT any mkv with DTS and it is an great media player. The only problem is to read NTFS HDD's. Because the fullHD / full length good quality movies is always bigger than 4GB's that the file system of TAB can read.
nectons2000 said:
Stock player doesnt play audio if the mkv contains DTS track.
MX Video player for me is the best. Without chainging the H/W decoding i just selecting the DTS audio track and plays it perfect.
I have done tests with heavy mkc samples with 20-40MBPS with DTS sound and it plays it so smooth. Smoother than my expensive O2 HMR-2000!
My oldest Galaxy S2 plays them perfect too but with same samples i have some frame drops some times even if i have it at 1.6GHz.
It seems tab 7.7 doesnt have excactly the same cpu/gpu. At papers it is the same. But not in real life. Maybe the memory or the controler or the chipset or the architecture? I dont know.
It plays PERFECT any mkv with DTS and it is an great media player. The only problem is to read NTFS HDD's. Because the fullHD / full length good quality movies is always bigger than 4GB's that the file system of TAB can read.
Click to expand...
Click to collapse
Ntfssd can read NTFS sdcard, Drive Mount can read OTG NTFS or EXT storage devices. These two app are free in Market.
I would have to chime in and say MX-Video player is the best especially on how it handles video stretching, the stock player cant really cover the entire screen and both dice and mvideo player zooms the image to fit the screen, only MX video player stretches it properly to cover the entire screen, pretty nice if your using a honeybar

[Q] HD Video is lagging

I bought me a Lenovo Tablet yesterday and wanted to try out to play HD Videos on it.
Sadly my videos are lagging and the audio is async... I tried it with MX Player and Mobo Player, both installed the ARMv7 Codec. What i'm curious about is, that the Tegra v2 Chip should to decoding of 1080p h.264 Material in Hardware (my video was h.264 720p in a MKV Container) and both players showed me that they decode the video in software...
Is there any player that can play my mkv videos without lagging around? Or do i just need to adjust something?
raph3ix said:
I bought me a Lenovo Tablet yesterday and wanted to try out to play HD Videos on it.
Sadly my videos are lagging and the audio is async... I tried it with MX Player and Mobo Player, both installed the ARMv7 Codec. What i'm curious about is, that the Tegra v2 Chip should to decoding of 1080p h.264 Material in Hardware (my video was h.264 720p in a MKV Container) and both players showed me that they decode the video in software...
Is there any player that can play my mkv videos without lagging around? Or do i just need to adjust something?
Click to expand...
Click to collapse
Try different players but it's def not capable of 1080 and even has issues with 720p main and high profile
Sent from my Galaxy Nexus
mhh but the nvidia site says something different...
so the chip itself should take care of that... maybe its just a firmware issue?
The screen is 1200x800 so there's really no way to play 1080p on it. Even 720p is going to be cropped. The only way to do 1080p is over HDMI without mirroring but apparently that isn't very smooth so 720p seems like a much better option.
Tried a reboot and/or turning Wifi off/on again? It's worked for me.
Basically the chip can do it. The Tegra 2 has some special HW IP inside that will do the decoding. Most of the Tegra 2 tables are unable to use it because the vendors are not supplying the codecs and filters that make use of the HW block. So you are somehow limited to the codecs and resolutions that are choosen by the manufacturer/Nvidia. You can't change anything and as far as I know Nvidia also isn't distributing this part open.
I'm also quiet disappointed seeing that chinese pads with Telechips MCU (ARM11 single-core) can playback almost everything up to full-HD and the Thinkpad Tablet can't.
Dice Player.
It is the ONLY working HW accelerated player in my experience....
mkv files, everything plays well on it....

[Q] 1080p playback in U8800

I am using 2.3.5 official update.
720p videos are working fine with MX player with hardware decoding on.
But 1080p videos are not working with hardware decoding. It plays with a lot of lag with software decoding in MX player.
I am wondering if I overclock the device will it play 1080p videos with software decoding.
Is there any other way I can play 1080p videos on this device.
tejas_ said:
I am using 2.3.5 official update.
720p videos are working fine with MX player with hardware decoding on.
But 1080p videos are not working with hardware decoding. It plays with a lot of lag with software decoding in MX player.
I am wondering if I overclock the device will it play 1080p videos with software decoding.
Is there any other way I can play 1080p videos on this device.
Click to expand...
Click to collapse
1080p videos are working well in MX player but with some slowness on CM7.2 (.32 kernel) and with overclocking to 1.8 Ghz. That's for me, maybe it'll be different for others.

Need help with HEVC playback

I wonder if there is a way to play a HEVC encoded video smoothly.
I have tried a several players like mx , vlc, bs player etc. I also tried to play with setting dorimanx "high performance" profile. But nothing made the video playback smooth. It keeps stuttering.
I know that SD800 doesn't support hevc officially. But there gotta be a way.
Plz suggest me something..
Android 6+ has hw playback of HEVC, you can play it with MX player on HW decoding, it's smooth and doesn't heat up like SW on 5.0.2
shaneel1491 said:
Android 6+ has hw playback of HEVC, you can play it with MX player on HW decoding, it's smooth and doesn't heat up like SW on 5.0.2
Click to expand...
Click to collapse
Oh really!
Will try that thanks
muhib471 said:
I wonder if there is a way to play a HEVC encoded video smoothly.
I have tried a several players like mx , vlc, bs player etc. I also tried to play with setting dorimanx "high performance" profile. But nothing made the video playback smooth. It keeps stuttering.
I know that SD800 doesn't support hevc officially. But there gotta be a way.
Plz suggest me something..
Click to expand...
Click to collapse
In Mx player pro, select SW decoder for video instead of HW after you play a HEVC video, it will run smooth. also check if your device requires a custom codec like neon.
MarshisnotMellow said:
In Mx player pro, select SW decoder for video instead of HW after you play a HEVC video, it will run smooth. also check if your device requires a custom codec like neon.
Click to expand...
Click to collapse
SW is CPU intensive, HW and HW+ is what you should be aiming for.
Anyways on Nougat I watched an HEVC encoded movie and got 1% drain every 6 mins, it's that's pretty good! So like 16% battery used for a full movie.
MarshisnotMellow said:
In Mx player pro, select SW decoder for video instead of HW after you play a HEVC video, it will run smooth. also check if your device requires a custom codec like neon.
Click to expand...
Click to collapse
Trust me, I tried all the possible ways. The culprit is 5.0.2
shaneel1491 said:
SW is CPU intensive, HW and HW+ is what you should be aiming for.
Anyways on Nougat I watched an HEVC encoded movie and got 1% drain every 6 mins, it's that's pretty good! So like 16% battery used for a full movie.
Click to expand...
Click to collapse
Yeah man, now I am running Ressurrection. Which is good too.
But the game-play becomes laggy sometime. Do you know any solution?
shaneel1491 said:
SW is CPU intensive, HW and HW+ is what you should be aiming for.
Anyways on Nougat I watched an HEVC encoded movie and got 1% drain every 6 mins, it's that's pretty good! So like 16% battery used for a full movie.
Click to expand...
Click to collapse
For me its other way around though. Every video/movie i watched on it worked smoother on SW decoder, whereas on HW decoder, some files didnt even show the video. Tried those same videos on SW decoder and worked without any stutter.
The only thing better i feel with HW decoder is it shows better quality than SW but stuttering playback, on SW, feels like slightly soft brushed version of that file but smoother.
Btw these experiences were in kitkat 4.4. for the G2. but even on my other devices i experience same thing, its always smoother on SW.
muhib471 said:
Trust me, I tried all the possible ways. The culprit is 5.0.2
Yeah man, now I am running Ressurrection. Which is good too.
But the game-play becomes laggy sometime. Do you know any solution?
Click to expand...
Click to collapse
Maybe install Lambda kernel then maybe under-clock a bit, sounds like you're overheating.

Categories

Resources