[Q] What is the best setting in MX Player to save maximum battery? - MX Player

Can anybody suggest me which setting should i use in MX Player so that it uses minimum battery while playing movies.
hw/sw decoder, audio/video setting etc

JerryGoyal said:
Can anybody suggest me which setting should i use in MX Player so that it uses minimum battery while playing movies.
hw/sw decoder, audio/video setting etc
Click to expand...
Click to collapse
clear mx data and import http://www.mediafire.com/view/m4y07txbx00611o/mx_player.xml

JerryGoyal said:
Can anybody suggest me which setting should i use in MX Player so that it uses minimum battery while playing movies.
hw/sw decoder, audio/video setting etc
Click to expand...
Click to collapse
Simple rule is that using Maximum utilization of Hardware Acceleration & Low Brightness will reduce the battery usage.
If you haven't touched anything on settings, by default mx uses H/W decoder (If it's natively supported) & H/W accelerated onscreen controls, subtitles which are battery efficient. Only thing you have to take care is Screen Brightness.

ktsamy said:
Simple rule is that using Maximum utilization of Hardware Acceleration & Low Brightness will reduce the battery usage.
If you haven't touched anything on settings, by default mx uses H/W decoder (If it's natively supported) & H/W accelerated onscreen controls, subtitles which are battery efficient. Only thing you have to take care is Screen Brightness.
Click to expand...
Click to collapse
thanks. Although mx player is playing video properly is there any need of custom codec?why do people use custom codec?

If you are talking about ktsamy's custom codec, that is only needed for DTS audio support.

Related

[Q] How can I Speed up S/W decoding on LOW-END Device

As the title "How can I Speed up S/W decoding on LOW-END Device"
I'm using HTC Desire 200 ( 1 GHz Single Core Processor, 512MB(414 actually) RAM)
I want play some 720p video on my phone, tried with few TWEAKS(V6 SuperCharger, Modified Build.prop)
the Video and Audio almost not synced all the time when play with MX player (But I can't find a better player for Android)
Please Help... and sorry for my bad English
This is a hardware issue, your phone doesnt have enough power to play these kind of videos.
Maybe if you reduce video bitrate, it will be playable.
Your only real option, is to reencode the video to a lower bitrate, and/or to a format that's hardware supported by your device. Handbrake is an easy to use reencoder.
Looking at GSMarena http://www.gsmarena.com/htc_desire_200-5536.php it seems your phone should be able to play H.264/AVC format.
dicks93277 said:
As the title "How can I Speed up S/W decoding on LOW-END Device"
I'm using HTC Desire 200 ( 1 GHz Single Core Processor, 512MB(414 actually) RAM)
I want play some 720p video on my phone, tried with few TWEAKS(V6 SuperCharger, Modified Build.prop)
the Video and Audio almost not synced all the time when play with MX player (But I can't find a better player for Android)
Please Help... and sorry for my bad English
Click to expand...
Click to collapse
First look how much cpu and RAM is consumed. You can use apps like lucky patcher or disable service to dissable unwanted running service, do not move mx player in sdcard, always keep some free space in internal memory, exit apps like viber.... while playing 720p videos in sw mode, do not create lot of widgets. I have same amount of hw in my ray and I can play any types of 720p videos smoothly with sw decoder. MX player uses internal modules so if mx can't play means other apps too cant
sumantaadk said:
First look how much cpu and RAM is consumed. You can use apps like lucky patcher or disable service to dissable unwanted running service, do not move mx player in sdcard, always keep some free space in internal memory, exit apps like viber.... while playing 720p videos in sw mode, do not create lot of widgets. I have same amount of hw in my ray and I can play any types of 720p videos smoothly with sw decoder. MX player uses internal modules so if mx can't play means other apps too cant
Click to expand...
Click to collapse
I guess I had done this, using greenify to close and make sure no unwanted and unnessccery apps running in background, checked my cpu is running on top speed (overclocking isn't available on my device for now), but still laggy (video and audio not synced)
dicks93277 said:
I guess I had done this, using greenify to close and make sure no unwanted and unnessccery apps running in background, checked my cpu is running on top speed (overclocking isn't available on my device for now), but still laggy (video and audio not synced)
Click to expand...
Click to collapse
It's because your cpu can't handle the load.
S/W mode will ffmpeg library & entire decoding will be done on CPU. So, there is no way to fix.
Goto Settings 》 Decoder & enable speed up tricks. It may affect video quality. But, may reduce the lagging.
Using SW, even with speedup tricks, will still drain your battery as your CPU's running at 100%. Reencoding to a HW supported format as I previously suggested, will increase performance and reduce battery drain.
CDB-Man said:
Using SW, even with speedup tricks, will still drain your battery as your CPU's running at 100%. Reencoding to a HW supported format as I previously suggested, will increase performance and reduce battery drain.
Click to expand...
Click to collapse
Try converting into 480p with handbrake
dicks93277 said:
As the title "How can I Speed up S/W decoding on LOW-END Device"
I'm using HTC Desire 200 ( 1 GHz Single Core Processor, 512MB(414 actually) RAM)
I want play some 720p video on my phone, tried with few TWEAKS(V6 SuperCharger, Modified Build.prop)
the Video and Audio almost not synced all the time when play with MX player (But I can't find a better player for Android)
Please Help... and sorry for my bad English
Click to expand...
Click to collapse
I have a motorola bravo that I bought in 2011 which is almost the same (1ghz TI OMAP, 512mb ram) and when I try playing 720p videos, it is really slow sometimes.
The only way I can play 720p videos, it is reducing bitrate else convert resolution to 480p or lower.
Else change your phone!
@josuearisty 720p at what codec?
CDB-Man said:
@josuearisty 720p at what codec?
Click to expand...
Click to collapse
Bitrate at 600kb or lower in h264.
There is a converter in the playstore which is really good, maybe the best because its based on ffmpeg and can be used some of original ffmpeg codecs
FFmpeg Media Encoder
https://play.google.com/store/apps/details?id=com.silentlexx.ffmpeggui
josuearisty said:
Bitrate at 600kb or lower in h264.
There is a converter in the playstore which is really good, maybe the best because its based on ffmpeg and can be used some of original ffmpeg codecs
FFmpeg Media Encoder
https://play.google.com/store/apps/details?id=com.silentlexx.ffmpeggui
Click to expand...
Click to collapse
If that's an 8-bit 600kbps H.264 video, then your phone probably doesn't support H.264 at a HW level, as hard as that is for me to believe considering the model year
CDB-Man said:
If that's an 8-bit 600kbps H.264 video, then your phone probably doesn't support H.264 at a HW level, as hard as that is for me to believe considering the model year
Click to expand...
Click to collapse
You mean the phone? Hehehe
No man, Motorola Bravo is a backup phone with a good support from devs for custom roms, Quarx is the best.
I have a Razr M and Droid Ultra and they can play even fullHD videos very well.
And Droid Razr for backup too and for playing videos connected to my TV via HDMI. I would like an app to control MX player using other phone, an app with PLAY PAUSE etc support. To connect via wifi or bluetooth. [emoji1] [emoji1] [emoji1] [emoji1] [emoji1]
CDB-Man said:
Your only real option, is to reencode the video to a lower bitrate, and/or to a format that's hardware supported by your device. Handbrake is an easy to use reencoder.
Looking at GSMarena http://www.gsmarena.com/htc_desire_200-5536.php it seems your phone should be able to play H.264/AVC format.
Click to expand...
Click to collapse
I'm having troubles IDing Handbrake on Play Store, could you send me a pic of the icon?
J.A.B. said:
I'm having troubles IDing Handbrake on Play Store, could you send me a pic of the icon?
Click to expand...
Click to collapse
Handbrake is a desktop program.
CDB-Man said:
Handbrake is a desktop program.
Click to expand...
Click to collapse
OK, thanks

[Q] Codec supported by HW/HW+ Decoder

I just wondered about some of my videos not being played by the HW decoder. I figured out the issue must lay upon the codec, so I thought I do some research, since some HD Videos are going well with the HW decoder.
I would be really glad if someone can actually give me some advices how to convert the videos and which codec I should use for the best outcome.
The SW decoder is such a batterie consuming beast, I wish all videos could make use of the HW decoder.
Which converter are you using?
Try using basic convertion. You can reduce bightness so battery can extend a little bit.
About supported codecs:
HW decoder should support all codecs that are supported by your device. The best (and most common) codec is AVC (H.264), it's supported by your device for sure. It's the only codec worth caring about (for now).
However this doesn't end at codecs, because codecs have profiles and levels. Basically they are set of restrictions (like "to be able to play this video you need to be able to do this"). They are needed to ensure that if decoder supports particular profile/level, then it would be able to play any video with that (or lower) profile/level.
I believe that your device should support at least High Profile L4.1, which means that it should be able to play most H.264 videos.
However there's one special case - videos that use High 10 Profile (hi10p, 10 bit depth). It's commonly used on anime sources, becauses it preserves gradients well. There're no hardware decoders that support it.
Unfortunately manufactures usually are very vague about codecs/profiles/level support ("1080p HD video" is all what qualcomm says, lol), so you should test by yourself to find it out.
The first thing you need to do if you want to know why you can or can't play some video using h/w decoder is to check it's codec, profile and level (using MediaInfo or any other similar tool, usually media players have it built-in).
About conversion:
Try Handbrake, by default it should produce files playable by your device (no need to touch presets). You can play with "x264 Preset" to control speed/size and Quality to control quality/size.
Converting with Handbrake into x264 mp4 would be the most universally acceptable format for all devices, and work with HW decoding.
That should be no problem with your stock Nexus 4.

[Feature Request] Full hardware acceleration

Hi,
@ forum moderator / developer
Many Video players use GPU to decode and then CPU for transmitting buffer to display on supported videos. I don't know how Mx player handle videos. Is it possible to use GPU for decoding and directly throw the buffers to display (instead of using cpu to carry buffer)? Currently I have seen this feature in Vlc for android. It would be really better for performance as well as less battery uses.
In HW mode MX player just asks system to play video and it should use the fastest way. Dunno what happens in HW+
Also I'm not sure if there's any difference - since there's no real VRAM CPU and GPU buffers are the same.
warvevo said:
Hi,
@ forum moderator / developer
Many Video players use GPU to decode and then CPU for transmitting buffer to display on supported videos. I don't know how Mx player handle videos. Is it possible to use GPU for decoding and directly throw the buffers to display (instead of using cpu to carry buffer)? Currently I have seen this feature in Vlc for android. It would be really better for performance as well as less battery uses.
Click to expand...
Click to collapse
vivan000 said:
In HW mode MX player just asks system to play video and it should use the fastest way. Dunno what happens in HW+
Also I'm not sure if there's any difference - since there's no real VRAM CPU and GPU buffers are the same.
Click to expand...
Click to collapse
As @vivan000 said, H/W decoder uses androids native mediaplayer interface. So, the video will be played using system decoders.
H/W+ uses the same system decoders. But, it uses MXPlayer's own media framework. So, it can support more formats.
So, Both H/W and H/W+ are most efficient decoders.
But, S/W decoder uses CPU for decoding. So, you will not get the benifit of hardware acceleration. It may need very fast cpu depending upon the video. So, it may not be as efficient as H/W or H/W+. But, only thing is you can play almost all formats.
Sent from my SM-G900H

[Bug]Color space and component range info ignored by decoders

Hello!
In videos (with any decoder selected - SW/HW/HW+) a wrong colorspace (bt.601 instead of bt.709) and component range (Limited instead of Full) are used at the same time when decoding (checked in VirtualDub2 by changing Decode Format settings respectively). It looks like information about them from video file is ignored. Video - mkv h264 high L5.1, yuv420p.
Color Format in options doesn't affect anything.
On a PC in MPC (all settings default, Enhanced Video Renderer (custom presenter)) the colors are correct.
Video was rendered with next x264 settings:
Code:
--range pc --colormatrix bt709
In mediainfo:
Code:
Color range : Full
Matrix coefficients : BT.709
Question: is there a way to force custom colorspace and component range for decoders?
vice2 said:
Hello!
In videos (with any decoder selected - SW/HW/HW+) a wrong colorspace (bt.601 instead of bt.709) and component range (Limited instead of Full) are used at the same time when decoding (checked in VirtualDub2 by changing Decode Format settings respectively). It looks like information about them from video file is ignored. Video - mkv h264 high L5.1, yuv420p.
Color Format in options doesn't affect anything.
On a PC in MPC (all settings default, Enhanced Video Renderer (custom presenter)) the colors are correct.
Video was rendered with next x264 settings:
In mediainfo:
Question: is there a way to force custom colorspace and component range for decoders?
Click to expand...
Click to collapse
HW decoder just makes use of android mediaplayer API. And, HW+ uses the same decoder component from the device, but in mx player's media framework. In both cases, color conversion is handled by the system.
SW decoder mainly relies on ffmpeg.
So, if you facing issues with all 3 decoders, it's less likely to be an issue with the app. Would you mind sharing a sample with us at [email protected]? It will hep us to investigate further.
Thank you.
Thirumalai.K said:
HW decoder just makes use of android mediaplayer API. And, HW+ uses the same decoder component from the device, but in mx player's media framework. In both cases, color conversion is handled by the system.
SW decoder mainly relies on ffmpeg.
So, if you facing issues with all 3 decoders, it's less likely to be an issue with the app. Would you mind sharing a sample with us at [email protected]? It will hep us to investigate further.
Thank you.
Click to expand...
Click to collapse
After some research, sadly, VLC and VLC-based players like MX player don't support full range rec.709 videos. I'll have to look for other software because all of my videos are rendered in full range. Expert's commenrary:
MPC is displaying the image correctly. VLC is displaying the video as limited range rec.601, darks are crushed, brights are blown out, and colors are off). But as mentioned, full range video is very uncommon. The industry standard for HD video is limited range rec.709.
Click to expand...
Click to collapse

Adaptive streams does not change resolution

Well recently I used mx player to stream some DASH and HLS streams,but one thing I noticed is that it won't change resolution no matter what the network speed is,other players do change resolution when the speed drops,is this a bug?
Jing Arjay87 said:
Well recently I used mx player to stream some DASH and HLS streams,but one thing I noticed is that it won't change resolution no matter what the network speed is,other players do change resolution when the speed drops,is this a bug?
Click to expand...
Click to collapse
We regret to inform you that adaptive streaming is not supported in HW+ and SW decoder at the moment. For HLS, we recommend you to use HW decoder whenever possible. It will fully support adaptive streaming. For Dash, unfortunately, android media framework doesn't support it natively. So, It can be played only with HW+ or SW.
However, we will highlight this with our relevant team and do our best to bring adaptive streaming support on HW+ and SW decoders.
Thank You.

Categories

Resources