[Q][Resolved] MX player and HEVC/H265 codec - MX Player

when this app will support a 4K videos?
thanks:laugh:

The app can already play 4K video and HEVC. MX Player uses ffmpeg as a base decoder, so whatever ffmpeg can play, MX can play. Of course, 4K and HEVC support isn't optimal by anyone right now, so don't expect stellar results.

Expect hardware-decode of HEVC/X265
CDB-Man said:
The app can already play 4K video and HEVC. MX Player uses ffmpeg as a base decoder, so whatever ffmpeg can play, MX can play. Of course, 4K and HEVC support isn't optimal by anyone right now, so don't expect stellar results.
Click to expand...
Click to collapse
When I play a 1080p vedio of HEVC/X265 movie with mxplayer 1.7.32, the player just only can play it using software decode, and the playing is very slowly.
I try to enable hw/+ mode but it failed to play.
So, expect that hard-decode can implement quickly~~~~

Hardware and/or hardware+ decode is not possible until manufacturers make chipsets that support HEVC. Those won't come for at least another year.
You can find a planned production timetable by Qualcomm here: http://forum.xda-developers.com/showpost.php?p=57336946&postcount=119

Well, I have Qualcomm 801 that should support HEVC decoding (at 1080p), but it doesn't work. MX can't use HW(+) on HEVC videos, and it's not even in the list that I can get using Android API (MediaCodecList).
It seems that even if you have chipset with HEVC support you still may need to wait for manufacturer to get it supported. So player developers can't do anything about it.

Indeed, thank you vivan for the clarification!

Learned how to solve the slow film problem
you can solve the slow playing problem by going to this address on your phone : settings-developer settings - advanced settings - Enable OpenGL traces - systrace (graphics)
and its done , and your welcome

Leo_tm said:
you can solve the slow playing problem by going to this address on your phone : settings-developer settings - advanced settings - Enable OpenGL traces - systrace (graphics)
and its done , and your welcome
Click to expand...
Click to collapse
I tried this, but it made no difference. The video playback is still slow, and periodically the sound stops playing for a few seconds while the video catches up.

Mistake
RashaMatt said:
I tried this, but it made no difference. The video playback is still slow, and periodically the sound stops playing for a few seconds while the video catches up.
Click to expand...
Click to collapse
Yeah you're right it wasn't it
but i think it's supposed to be like this , i mean if you pay attention movies go slow when it's not that important , like when a conversation is going on it's good and when it ends and it shows for example "a house from a distance" it goes slow , you know what I meann ?!!!

Leo_tm said:
you can solve the slow playing problem by going to this address on your phone : settings-developer settings - advanced settings - Enable OpenGL traces - systrace (graphics)
and its done , and your welcome
Click to expand...
Click to collapse
Dumping or enabled trace, live log etc will slow down system. You must know what you are saying man!

warvevo said:
Dumping or enabled trace, live log etc will slow down system. You must know what you are saying man!
Click to expand...
Click to collapse
I just learned , thank you for telling me .

changed settings my Elephone P8000
phone : settings-developer settings - advanced settings - Enable OpenGL traces - systrace (graphics)
HEVC
now much smoother, but still slows

thank you very much

I found setting the number of cores to use (in MX player's settings) to match the number of cores in my device processor worked. Video was very jumpy and audio/video sync failed before, now 265 plays perfect. (Samsung Galaxy Tab S 8)

jlparsons2 said:
I found setting the number of cores to use (in MX player's settings) to match the number of cores in my device processor worked. Video was very jumpy and audio/video sync failed before, now 265 plays perfect. (Samsung Galaxy Tab S 8)
Click to expand...
Click to collapse
perfect... I change the number of core to use, so it finally work with H265 HVEC codec

If didnt work, try in MX player play with settings there, for example what works for me (lenovo tab yoga 3 pro) was: limit CPU core to 8, YUV colours, and use tricks for faster play -> any one from these not set = video playback fail, all of them = absolute superb (even in battery saving mode); so keep trying, the hope is there

I tried everything above mentioned. I have OnePlus 2 and a custom RR 6.0 ROM, version of Android is 8.1. HEVC (×265) lag in mxplayer or any other player in my phone. So please someone give me solution for this. My phone has a SD 810 and SD 810 support HEVC but mxplayer doesn't use HW or HW+ at all it only use SW. So any developer develop any app that use HW to play ×265 or just they use software decoder for that.

patelDarshan said:
I tried everything above mentioned. I have OnePlus 2 and a custom RR 6.0 ROM, version of Android is 8.1. HEVC (×265) lag in mxplayer or any other player in my phone. So please someone give me solution for this. My phone has a SD 810 and SD 810 support HEVC but mxplayer doesn't use HW or HW+ at all it only use SW. So any developer develop any app that use HW to play ×265 or just they use software decoder for that.
Click to expand...
Click to collapse
Please collect a bug report from the help menu right after playing the file that has issues & share with us here. It may help us to understand the issue better.

Thirumalai.K said:
Please collect a bug report from the help menu right after playing the file that has issues & share with us here. It may help us to understand the issue better.
Click to expand...
Click to collapse
I want to attach a zip file of bug report but it shows bad request, I tried with separate file too. But it shows bad request. What should I do?
I can't share drive link too.

patelDarshan said:
I want to attach a zip file of bug report but it shows bad request, I tried with separate file too. But it shows bad request. What should I do?
I can't share drive link too.
Click to expand...
Click to collapse
Looks it's due to the post count limitations. But, you can still share the drive link by simply masking to prevent the URL detection.
eg: use h**p://www.google.com instead of http://www.google.com

Related

Videocam illusion

Hi,
I'm the developer of Videocam illusion app. I have just checked a problem with SE X10 audio recording speed (supports only 48.000 Hz recording). I will release a fix ASAP.
Regards,
Mobileillusion
EDIT 2:
I have just released version 1.5 of "Videocam illusion". I hope the audio recording problem of the previous version was fixed for the Xperia X10.
I have upload the apk, but I would prefer that you download it (and rate if you like) from the Android Market:
https://market.android.com/details?id=com.androidillusion.videocamillusion
Thanks for your support!
What's new on version 1.5
- New user interface
- Optimized video player
- New retro filter: Chicago
- Animated mask: 8mm
- More filters/effects/masks: color, blur & white border
- Adjustable filters & effects
- Front camera support (Android 2.3+ required)
- Zoom (if supported)
- Ready for Tablet
EDIT: Here the SE X10 bugfix release (with 48 KHz recording)
Thanks, I guess most of us have been wondering why the sound sounds like chipmunk/accelerated and so does the video.
excuse my English. take this opportunity to ask if there a way to increase the recording frames. In fact, when I started recording 15 fps, but after a few seconds down to 5-6 .... tanks
Hi,
Thanks for your application encd for your replay ....
I just wonder if it would be possible to have the video encoded not only in MOV but in MP4 and/or 3gp formats in order to be also enclosed in MMS ?
Regards
Hi again,
thanks for the feedback. I have changed the recording freq to 44.100 Hz.
Could you tell me if now is working propertly?
About the questions...
The app records MOV files (MJPEG format). I have developed the MJPEG encoder/decoder. The frame rate drops while recording because each frame must be encoded. I think I could speed up a little, but not a lot.
About MP4/3GP format Android Multimedia API doesn't support direct frame encoding to video. :-(
I'm working on a MP4 encoder, but right now speed sucks. I will try to optimize.
Regards,
Mobileillusion
Hi
I will test it in few minutes and let you know what are my impression
Regards
Is this the latest version? I just download videocam illusion from market today...it show version 1.o..
Getting between 7-13fps only 640x480
Sound still abit chipmunky but it's better than before. Hopefully you can update it again
Hi,
the atached file is a "SE X10 bugfix" version (1.0.1). I will release a new version in the Market with audio recording freq selector (not only 44.100 Hz) the next week.
Feel free to let us test out your pre-release and provide feedback to you
Dev, thank you for working on this. Much appreciated
Sent from my X10i using XDA App
Mobileillusion said:
Hi again,
thanks for the feedback. I have changed the recording freq to 44.100 Hz.
Could you tell me if now is working propertly?
About the questions...
The app records MOV files (MJPEG format). I have developed the MJPEG encoder/decoder. The frame rate drops while recording because each frame must be encoded. I think I could speed up a little, but not a lot.
About MP4/3GP format Android Multimedia API doesn't support direct frame encoding to video. :-(
I'm working on a MP4 encoder, but right now speed sucks. I will try to optimize.
Regards,
Mobileillusion
Click to expand...
Click to collapse
Tested
frame rate around 10-15 at 640x480
sound not perfect but much better
Thanks ...
as said an MPEG encoder would be much apreciated
Is this a patch which makes the free and pro version better or is it just a new free version?
ffortissimo said:
Is this a patch which makes the free and pro version better or is it just a new free version?
Click to expand...
Click to collapse
it is only a 44.100 Hz recording patch free version. I will update the Market versions (free/pro) with frequency selection ASAP.
Thanks for all the feedback!!!
X10 is screaming "i'm aliveeeee!!!!!"
thanks bro!
Well, you said Android's framework for 3rd party apps doesn't support direct frame encoding. Right?
Then what about using superuser to get over this framework?
All firmwares here are pre-rooted, so this wouldn't be a problem.
Adolf1994 said:
Well, you said Android's framework for 3rd party apps doesn't support direct frame encoding. Right?
Then what about using superuser to get over this framework?
All firmwares here are pre-rooted, so this wouldn't be a problem.
Click to expand...
Click to collapse
Hi Adolf1994,
you're right, direct frame video encoding is not available for 3rd party apps.
I have to investigate the Android source code to see how to directly access the encoder.If anyone can help me would be fine.
Regards
Much better, but it still takes the sound up a bit, maybe go up to 44.1Khz? Unless thats what was making it go up. Then i guess take it down.
Sent from my X10a running cm 6.1.3 V4.3 with included arc launcher.
Realorasz said:
Much better, but it still takes the sound up a bit, maybe go up to 44.1Khz? Unless thats what was making it go up. Then i guess take it down.
Sent from my X10a running cm 6.1.3 V4.3 with included arc launcher.
Click to expand...
Click to collapse
Hi Realorasz,
I have checked the problem and you're right. I think 8000 Hz works better (with no speed up), but also 48 KHz.
I will release a "quick version" soon.
Thanks!
PS: I'm right now also working on a full resolution image viewer "Gallery illusion HD" that supports big "jpgs" and displays pictures with no quality loss. Now is in public beta and can be download free on the Android Market. Any feedback would be appreciated.
Good to know
Hopefully make full use of the 720p camcorder once you're able to fully use the encorder, hopefully the ROM devs here can help you out.

[SOLVED] Video performance issues

Am I being unrealistic in my expectations WRT playback of video on the Transformer? (NB After some of the replies below, I've added this comment to emphasise my point - I am NOT talking about high-def video here [e.g. 720p], just normal PAL or NTSC video taken from standard DVDs.)
I've ripped some DVDs using Handbrake on my Mac, using the default High Profile settings. The resulting h.264 files play smoothly and nicely on the Mac.
However, on the Transformer, the playback is juddery.
These are standard-resolution DVD rips, from TV shows and movies.
I wouldn't have been surprised for HD content to be a bit dodgy, but I was surprised not to be able to play SD content smoothly.
Has anyone else got good video playback (i.e. do I have a dodgy tablet) or is the Transformer with its Tegra 2 really not up to playing full-screen SD video?
Don't use high profile. Search before you post - there is many threads about video issues of Tegra2 devices here and in Xoom forum.
Why do people keep doing this, you have a Google tablet, Google this.
The Tegra 2 has a strange limitation, it doesn't play high profile. Before you make the mistake everyone else does, high profile is not a measure of quality, its the measure of compression. The bit rate is the quality.
Put it on high profile go to advanced, turn off 8x8 transform and Weighted P Frames and Subpixel ME to 6, use MP4.
Don't bother with other peoples presets, just use Moboplayer and you will be good with this setup.
Thanks
OK, thanks to you both for sorting me out with this. I did (contrary to appearances) try to find a thread on this topic but failed. Clearly I must brush up on my searching skills.
What about YouTube playback? Even this works terrible on my transformer. It keeps droping how of frames with latest firmware update.
Sent from my Transformer TF101 using Tapatalk
ivan.volosyuk said:
What about YouTube playback? Even this works terrible on my transformer. It keeps droping how of frames with latest firmware update.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
there will be an update for this, also the browser player works fine for me.
Settings that work
OK. After some testing with the first chapter of the Matrix DVD (because I have it to hand and it's got some nice pans and action to check the juddering against), I have found that the following settings in Handbrake give me acceptable performance on my Transformer with the h.264 codec. This is standard-definition video, please note, NOT high-def.
Note that sorting this out is far from as simple as "Google it" because there are a great many mutually contradictory sets of advice out there!
I took the Normal profile, then went to the Advanced tab and disabled CABAC and set the max B frames to 0.
This was the least dramatic setting that gave smooth playback on my Transformer. So I guess I should repeat my original question - given that my tablet appears to require much lower video settings than generally advised AFAICS in order to get smooth video playback (it's hard to measure this but this is my preception), should I worry? Or is this pretty much what everyone finds with the Transformer?
(The easiest way to get smooth video seems to be just to switch to the MPEG-4 codec and to increase the quality to about 3 to compensate. However, this gives files that are 40-50% larger, so I wanted to avoid that if possible.)
I usually use Handbrake for everything but I was in a hurry so I tried Freemake Video Converter. I converted a few downloaded x264 MMA videos. It has built in settings for Android. I was surprised how well it looked.
I'll still probably go back to Handbrake as soon as I have time to setup and test various suggested settings listed here and some other forums.
FtL1776 said:
Why do people keep doing this, you have a Google tablet, Google this.
The Tegra 2 has a strange limitation, it doesn't play high profile. Before you make the mistake everyone else does, high profile is not a measure of quality, its the measure of compression. The bit rate is the quality.
Put it on high profile go to advanced, turn off 8x8 transform and Weighted P Frames and Subpixel ME to 6, use MP4.
Don't bother with other peoples presets, just use Moboplayer and you will be good with this setup.
Click to expand...
Click to collapse
Thanks for the info.
Are you using handbrake? If so, are you using constant quality, bitrate or target size for your encode?
The Tegra 2 supports 720p High Profile Hardware Decoding, but Honeycomb can't utilize it yet. 3.1 or something later should address this.
frosty5689 said:
The Tegra 2 supports 720p High Profile Hardware Decoding, but Honeycomb can't utilize it yet. 3.1 or something later should address this.
Click to expand...
Click to collapse
Link please?
NOT about high-def content
Can I reiterate that my query is NOT about high-def content (e.g. 720p)? I'm talking here about being able to view simple SD content from a DVD I've bought, without juddering.
Can other folks view standard DVD rips on their Transformers using standard Handbrake settings, with no juddering during whole-screen update sections (e.g. pans or action sequences)?
I just used Adobe Media Encoder CS5 (part of the Creative Suite) to encode a file and it played flawlessly on my xformer. I used the Apple TV Preset as a base then modified the profile from main to baseline.
Sent from my Transformer TF101 using XDA Premium App
cd419 said:
I used the Apple TV Preset as a base then modified the profile from main to baseline.
Click to expand...
Click to collapse
Could you share which modifications you made? As I don't have access to CS5, I'd need to reproduce the settings on my software.
Thanks!
there's a handbrake profile for video encoding for the transformer. search for it.
seshmaru:
Unless you know something is there then you don't know to search for it. Now I know, I have searched and found that what I posted above is basically the situation - no B frames, no CABAC.
That being said, all the discussion I have seen has been based on 720p content rather than standard def so it's not clear to a newcomer to video issues that tthe same restrictions necessarily apply.
Anyhow, that seems to be the answer so thanks to all for the help.

Get Lag free 1080P (MX Player) Uber Guide ;)

Hello there folks!
My first thread so bear the simplicity I try to keep things minimalistic.
Here we go, I am a total video junkie got this 3TB hard drive full of HD Movies , HD TV series and what not, thing is when am away from my beloved Asus LED or on the move my Canvas 2 can't play the full 1080p properly while 720p runs just fine, so as I have all the content true1080p it was really frustrating.
Now no need to convert or wrestle with time or frame rate, with the following MX Player settings you can load up any content upto 1080p even Bluray source!
First things first you guys need the latest MX Player use Play Store if possible get the pro for no clutter ads.
You need:
MX Player 1.7.19 ARMv7 NEON
(Pro for no Ads rest is same)
Now just go to settings and then decoder set as follow:
0. Don't check H/w+ leave it unchecked
1. Uncheck correct aspect ratio
2. Check S/w decoder local,
3. Set CPU core limit to 2
4. Now the real deal, select 'Color Format' option and set 'YUV' it's experimental but it really does the trick!
(Using RGB 32 bit or 16 bit is more resource hungry and our device can't handle it so the
playback slutters)
5. Leave everything as it is I.e unchecked . Period!
All set now, fire up some eye candy and gaze through.
Tip: Go in settings then player check 'Quit Button' option every time you leave you should quit MX player to get it off the RAM otherwise if you leave by pressing back it lulls in the background.
Check some attachments, all content is full HD there is no single lag, voice drop, audio glitch whatsoever
whole deal is the new 'YUV' color format!
Enjoy ! Mucha gracias
Hit thanks, if you find my guide helpful. (It certainly is)
Will. Try n let u know...
it helped 50%
it helped much beter than before i did what you told but then too some of my mp4 vids lags any more setting u can tell me
i used 32 bit colour depth
jesuinodsa said:
it helped much beter than before i did what you told but then too some of my mp4 vids lags any more setting u can tell me
i used 32 bit colour depth
Click to expand...
Click to collapse
You missed the most important step, set the color format to "YUV' using 32 bits stresses out the CPU its more resource hungry you will find this new color format setting only in the latest version I mentioned latter versions don't have it ..
Settings=Decoder=Color Format=YUV
In 4.2.1 m installed mx player pro but its say unsupported android version
Anybody help me plz m very confused????
Edit: prblm solve now
Anas6538 said:
In 4.2.1 m installed mx player pro but its say unsupported android version
Anybody help me plz m very confused????
Edit: prblm solve now
Click to expand...
Click to collapse
if you must know the paid version check for registration if not found it gives u this error install free version from playstore
---------- Post added at 12:22 PM ---------- Previous post was at 12:17 PM ----------
Skyrazor said:
You missed the most important step, set the color format to "YUV' using 32 bits stresses out the CPU its more resource hungry you will find this new color format setting only in the latest version I mentioned latter versions don't have it ..
Settings=Decoder=Color Format=YUV
Click to expand...
Click to collapse
thanks @Skyrazor helped alot
Anas6538 said:
In 4.2.1 m installed mx player pro but its say unsupported android version
Anybody help me plz m very confused????
Edit: prblm solve now
Click to expand...
Click to collapse
Well, that sounds weird make sure you installed the correct version, for our device use 'ARM V7 Neon' check the OP for screen shots, I can't say about the WAREZ use store!
Spread the word mate, @jesuinodsa
Nice finding, will try this tonight..
Is it compulsory to have the pro version?..
shreyas.kelshikar said:
Is it compulsory to have the pro version?..
Click to expand...
Click to collapse
Nope use free version but ads will pop up if u pause the video when data or WiFi is on
Sent from my Micromax A110 using XDA Premium 4 mobile app
Well.. i have an ad-blocker installed.. .. anyways thanks for the reply..
will surely check...........
---------- Post added at 04:14 PM ---------- Previous post was at 04:14 PM ----------
will surely check...........good one
Not working mate...... Volume is still missing..... Any solution???
Mine is also sound is missing!!!
Any solution ?
it wont work..
Skyrazor said:
Hello there folks!
My first thread so bear the simplicity I try to keep things minimalistic.
Here we go, I am a total video junkie got this 3TB hard drive full of HD Movies , HD TV series and what not, thing is when am away from my beloved Asus LED or on the move my Canvas 2 can't play the full 1080p properly while 720p runs just fine, so as I have all the content true1080p it was really frustrating.
Now no need to convert or wrestle with time or frame rate, with the following MX Player settings you can load up any content upto 1080p even Bluray source!
First things first you guys need the latest MX Player use Play Store if possible get the pro for no clutter ads.
You need:
MX Player 1.7.19 ARMv7 NEON
(Pro for no Ads rest is same)
Now just go to settings and then decoder set as follow:
0. Don't check H/w+ leave it unchecked
1. Uncheck correct aspect ratio
2. Check S/w decoder local,
3. Set CPU core limit to 2
4. Now the real deal, select 'Color Format' option and set 'YUV' it's experimental but it really does the trick!
(Using RGB 32 bit or 16 bit is more resource hungry and our device can't handle it so the
playback slutters)
5. Leave everything as it is I.e unchecked . Period!
All set now, fire up some eye candy and gaze through.
Tip: Go in settings then player check 'Quit Button' option every time you leave you should quit MX player to get it off the RAM otherwise if you leave by pressing back it lulls in the background.
Check some attachments, all content is full HD there is no single lag, voice drop, audio glitch whatsoever
whole deal is the new 'YUV' color format!
Enjoy ! Mucha gracias
Hit thanks, if you find my guide helpful. (It certainly is)
Click to expand...
Click to collapse
as u said changing rgb to yuv has no difference in c2 ,mk65xx devices are not basically 1080p video playback supported , only thing it can do is by reducing frame rate by 15. and yuv is a color model for a display device as our canvas 2 is basically 16m colors , and 480p res. dnt need to change to yuv . rgb is good and fine.finally 720p - 30fps / 1080p - 15fps is the default seting for all mk65xx devices .to check for urself google it , u will see all devices supports 1080p video playback in only low FPS
Anas6538 said:
Mine is also sound is missing!!!
Any solution ?
Click to expand...
Click to collapse
Well, that is weird make sure you don't have S/w audio checked in decoder settings also make sure only thing checked in decoder settings is s/w decoder (local) color format set to YUV and CPU core limit set to 2 it works I can guarantee, I didn't post without toatally testing and figuring out also am on stock 4.1 are you on any custom ROM?
X_GOD said:
as u said changing rgb to yuv has no difference in c2 ,mk65xx devices are not basically 1080p video playback supported , only thing it can do is by reducing frame rate by 15. and yuv is a color model for a display device as our canvas 2 is basically 16m colors , and 480p res. dnt need to change to yuv . rgb is good and fine.finally 720p - 30fps / 1080p - 15fps is the default seting for all mk65xx devices .to check for urself google it , u will see all devices supports 1080p video playback in only low FPS
Click to expand...
Click to collapse
Agreed I am also aware of mt6577 artitecture supporting 720p playback only, but using YUV to render vedios instead of RGB is helpful, RGB format does produce fine quality but is more intense on CPU and expenses RAM to a larger quantity and perhaps, I don't see any noticeable difference in rendering with YUV, On the other hand FPS of vedio can be different depending on the source , give it try though it works for me.
Skyrazor said:
Well, that is weird make sure you don't have S/w audio checked in decoder settings also make sure only thing checked in decoder settings is s/w decoder (local) color format set to YUV and CPU core limit set to 2 it works I can guarantee, I didn't post without toatally testing and figuring out also am on stock 4.1 are you on any custom ROM?
Click to expand...
Click to collapse
M using typhoon rom 4.2.1 n its stock rom
Excellent !!!!!
Many many many many many many many
Thanx thanx thanx thanx thanx thanx
This thing I was searching from last one year
Really a very important thing u have come up with for canvas 2 users:laugh:
It is working for me on turbov3.1

[Feature Request] Debanding filter / Custom Shader support

Most of 8-bit encoded anime suffers from banding. Debanding filter is supposed to improve such videos.
About a year ago shader-based debanding was implemented in madVR. I was using it since then and now it's hard to watch video without it With fastest settings ("High preset") it takes about 5ms to process 720p frame on Intel HD 3000, I believe that modern devices are fast enough to handle something similar to it.
Examples of what I'm talking about:
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK_MX.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK_madVR_original.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK_madVR_debanded.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK.mkv
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK2_MX.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK2_madVR_original.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK2_madVR_debanded.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/AgK2.mkv
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/GnK_MX.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/GnK_madVR_original.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/GnK_madVR_debanded.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/GnK.mkv
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/ssW_MX.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/ssW_madVR_original.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/ssW_madVR_debanded.png
https://dl.dropboxusercontent.com/u/16254258/android/mx/banding/ssW.mkv
P.s. I've noticed that colors are a bit off, presumably wrong colormatrix (BT.601 instead of BT.709) was used in MX case. I'll check it and will make a proper report in a sepate topic regarding this issue.
This is interesting. I'd like to see where this issues goes, or if @bleu8888 has any comments.
EDIT: Very marginally somewhat related: https://groups.google.com/forum/#!topic/mx-videoplayer/76p1PxVy08I/discussion
CDB-Man said:
EDIT: Very marginally somewhat related: https://groups.google.com/forum/#!topic/mx-videoplayer/76p1PxVy08I/discussion
Click to expand...
Click to collapse
Hmmm, actually adding custom shaders support (instead of specific filters) seems to be a much better idea. That way anyone will be able to write/use any such filter.
It would be possible to port already exisiting shaders too, they're written in hlsl which is similar to glsl that Android supports.
Indeed, I'd like to see this feature implemented as well.
Forgot to mention before, but this has been added to the feature requests list: http://forum.xda-developers.com/apps/mx-player/sticky-running-list-feature-requests-t2718297
@vivan000 @CDB-Man
If I am not wrong, video processing filters are not possible in either H/W or H/W+ since both use native decoders.
It may be possible in S/W, but will lead to lot of performance related issues. As of now even most modern devices are struggling to play full hd video in S/W decoder without any filters. Adding filters will add further load to cpu. It will lead to freeze or ANR issues.
ktsamy said:
If I am not wrong, video processing filters are not possible in either H/W or H/W+ since both use native decoders.
Click to expand...
Click to collapse
Well, it might be impossible to copy video texture to the cpu (or what you get from HW decoder), but it should be possible to process them with opengl (just like DXVA on windows - decoded image can't leave gpu*, but you can do some processing there)
OpenGL can be used to render the MediaCodec output to screen. It is also useful to add some video effect when doing playback. The key is SurfaceTexture class.
SurfaceTexture is included in API Level 15 (Android 4.0.3). Developers can use it to stream images to a given OpenGL texture. So, if configuring MediaCodec with SurfaceTexture, the output buffer will be rendered to an OpenGL texture but not to the device screen. Thus, video post-processing is required.
Click to expand...
Click to collapse
ktsamy said:
It may be possible in S/W, but will lead to lot of performance related issues. As of now even most modern devices are struggling to play full hd video in S/W decoder without any filters. Adding filters will add further load to cpu. It will lead to freeze or ANR issues.
Click to expand...
Click to collapse
But filters (shaders) run purely on gpu, and currently gpu is doing almost nothing during playback.
(*actually it could, but only with DXVA 2.0).
That's very interesting to hear.

[Bug]. Wrong stretching in case of playing portrait video

Hi,
Recently I've faced with landscape and portrait issue. If I shot a video on my device in portrait mode. MX-Player stratched this video in wrong way. It tries to represent it as landscape.
Actually, it starts playing all portrait video in wrong way. It's very annoying.
Screenshots attached.
- Samsung Galaxy S4 mini
- Android 4.2.2
- MX-Player v. 1.7.33 (ARMv7 NEON)
Could you take a look?
DiffeRT said:
Hi,
Recently I've faced with landscape and portrait issue. If I shot a video on my device in portrait mode. MX-Player stratched this video in wrong way. It tries to represent it as landscape.
Actually, it starts playing all portrait video in wrong way. It's very annoying.
Screenshots attached.
- Samsung Galaxy S4 mini
- Android 4.2.2
- MX-Player v. 1.7.33 (ARMv7 NEON)
Could you take a look?
Click to expand...
Click to collapse
Goto settings | Decoder
Disable "Correct Aspact Ratio" under H/W decoder.
Check whether your problem is fixed or not.
ktsamy said:
Goto settings | Decoder
Disable "Correct Aspact Ratio" under H/W decoder.
Check whether your problem is fixed or not.
Click to expand...
Click to collapse
Hi,
Thank you very much! Your advice has solved the problem.
Sorry for screaming, may be this is as designed, just new item in options But I didn't change this options before and it was working.
Does it means that my device works fine with hardware decoder and I don't need that option enabled?
My be it is useful to disable this one by default?
Thanks, again!
P.S. You can edit the title or that thread if it is not a bug.
Disabling "Correct Aspect Ratio" worked for me on my Note 4. As DiffeRT said, this option should be turned off by default. There are a lot of complaints on the Play Store of people having the same problem and they don't know what to do.
DiffeRT said:
Hi,
Recently I've faced with landscape and portrait issue. If I shot a video on my device in portrait mode. MX-Player stratched this video in wrong way. It tries to represent it as landscape.
Actually, it starts playing all portrait video in wrong way. It's very annoying.
Screenshots attached.
- Samsung Galaxy S4 mini
- Android 4.2.2
- MX-Player v. 1.7.33 (ARMv7 NEON)
Could you take a look?
Click to expand...
Click to collapse
I am also having the same issue on my Note 5. Recorded a 15 second video to send to real estate clients and it is completely stretched when I send it. I cant find the hardware decoder or aspect ratio settings. Please help!
---------- Post added at 06:40 PM ---------- Previous post was at 06:39 PM ----------
ktsamy said:
Goto settings | Decoder
Disable "Correct Aspact Ratio" under H/W decoder.
Check whether your problem is fixed or not.
Click to expand...
Click to collapse
Where can I find the hardware decoder settings or aspect ratio on a Note 5 Pleaseeee??
djcohiba1 said:
I am also having the same issue on my Note 5. Recorded a 15 second video to send to real estate clients and it is completely stretched when I send it. I cant find the hardware decoder or aspect ratio settings. Please help!
---------- Post added at 06:40 PM ---------- Previous post was at 06:39 PM ----------
Where can I find the hardware decoder settings or aspect ratio on a Note 5 Pleaseeee??
Click to expand...
Click to collapse
I think my post is self explanatory.
From menu goto Settings, then Decoder. Under Hardware Decoder you can find "correct aspect ratio". Just disable it.
If you need manual override, when you play a file, open menu, goto display & open aspect ratio. You can select the commonly used settings as presets there or you can use your own as custom
Sent from my SM-G900H using Tapatalk
ktsamy said:
I think my post is self explanatory.
From menu goto Settings, then Decoder. Under Hardware Decoder you can find "correct aspect ratio". Just disable it.
If you need manual override, when you play a file, open menu, goto display & open aspect ratio. You can select the commonly used settings as presets there or you can use your own as custom
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Im looking for and have even searched decoder in settings. There is not a decoder option anywhere. Frustrated.
djcohiba1 said:
Im looking for and have even searched decoder in settings. There is not a decoder option anywhere. Frustrated.
Click to expand...
Click to collapse
Are you searching in Android's System Settings..?
I am taking about MX Player's Settings option
Sent from my SM-G900H using Tapatalk
ktsamy said:
Are you searching in Android's System Settings..?
I am taking about MX Player's Settings option
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Apologies, yes I was talking about android system settings. My issue is not personal playback instead my concern is what will happen when someone I send the video to receives it. I work with Realtors and send videos inviting them to events. If I make a 15 sec video and send it via mms it is stretched, just to be a bit more specific. Thanks
djcohiba1 said:
Apologies, yes I was talking about android system settings. My issue is not personal playback instead my concern is what will happen when someone I send the video to receives it. I work with Realtors and send videos inviting them to events. If I make a 15 sec video and send it via mms it is stretched, just to be a bit more specific. Thanks
Click to expand...
Click to collapse
Can you share a sample clip in which you have issues..?
It will be helpful to diagnosing the issue.
Sent from my SM-G900H using Tapatalk

Categories

Resources