Hi,
Since upgrading my Nexus 7 to 4.4.3 and upgrading to paid v1.7.27 of MX Player I am seeing some weird behaviour playing .AVI files.
During say a 45min video, I will get 5-6 instances where the screen blanks for a second or so, then the video resumes from where it had left off without any intervention from me.
The video files are encoded the same format as others I watched before the upgrade and I never encountered this problem. I can watch the same video files with say BS Player free and there is no problem.
The files are .avi, 720x416 MPEG-4 Part 2, with 2 audio streams (MP3 48000Hz, stereo, 109.3 kbits/sec). They are 45mins long and approx 400mb in size.
I also tried a MKV file H264/AVC/ MPEG4 AVC / MPEG4 Part 10 with a 711x400 resolution with a 24fps and that stuttered in playback and I had to switch to BS Player in order to watch it. I have watched other files of this nature just fine before the upgrade.
I have tried switching H/W+ decoding on and off - does not appear to make a difference.
Hi,
Not so many things are changed on 1.7.27 in video playback module.
Does it also happen on all three decoders -- hw, hw+, sw?
And does it happen with other videos or only with one video in your description?
Thanks
a) try it on HW and SW decoders as well.
b) could you post the mediainfo of the files that cause problems?
Hi, Recently I've downloaded video 1080p from youtube but when playing it, the video laggy but the audio just playing properly fine...
I thought it because the decoder set to H/W, but when switched to S/W both video & audio become laggy, then try switched to H/W+ it become worse (doesn't support this kind video it says...).
When I see media info of video, it use VP9 format video.
Here is the video: www[dot]youtube[dot]com/watch?v=aE2GCa-_nyU
I've tried on 3 devices; Asus Zenfone 6, Samsung Galaxy Note 10.1, and LG G2, all of it have the same issues...
And tried on PC to check if the video has errors or something, but the video is playing perfectly fine.
Is it something like bugs so the video didn't play properly? Or android can't play video with format VP9 properly?
Because I've tried other video 1080p, it can be played properly.
Oh FYI, I've tried using few other video player, and none of its can play the video as good as MX Player. That's why I've been using MX Player as default video player.
Hope there will be improvement on the next update so the video VP9 1080p can be played properly
MX Player is the best
All 1080p videos are not same.
It may lag at various parameters like higher frame rate, bitrate, color depth,....etc.
For example if you consider a video 1080p @ 30fps inorder to display 1 sec of videos it needs to decode 30 frames. Where as in 1080p @ 60 fps it requires 60 frames to be decoded. So, It will require the double power. Like wise various encoding parameters matters in video playback.
Second, H/W uses your hardware's native decoder . If the codec is natively supported by your device, H/W decoder will be the best option.
In case of S/W decoder, it supports more video formats since it depends on the ffmpeg. But, decoding will be completely done one CPU. So, it needs very high cpu power. That's why it's more laggy.
Night.Lurker said:
Hi, Recently I've downloaded video 1080p from youtube but when playing it, the video laggy but the audio just playing properly fine...
I thought it because the decoder set to H/W, but when switched to S/W both video & audio become laggy, then try switched to H/W+ it become worse (doesn't support this kind video it says...).
When I see media info of video, it use VP9 format video.
Here is the video: www[dot]youtube[dot]com/watch?v=aE2GCa-_nyU
I've tried on 3 devices; Asus Zenfone 6, Samsung Galaxy Note 10.1, and LG G2, all of it have the same issues...
And tried on PC to check if the video has errors or something, but the video is playing perfectly fine.
Is it something like bugs so the video didn't play properly? Or android can't play video with format VP9 properly?
Because I've tried other video 1080p, it can be played properly.
Oh FYI, I've tried using few other video player, and none of its can play the video as good as MX Player. That's why I've been using MX Player as default video player.
Hope there will be improvement on the next update so the video VP9 1080p can be played properly
MX Player is the best
Click to expand...
Click to collapse
VP9 isn't a widely supported format. That's likely why HW and HW+ don't work well with it; most devices don't have VP9 hardware acceleration.
SW rendering of a 1080p video is very demanding. Even on the most powerful devices, since there's no hardware acceleration, expect performance to be sub-par. Currently, devices on the market can only SW render 720p smoothly.
This being said, for SW mode, try Settings > Decoder > use speedup tricks. See if that helps a little bit on SW.
Ultimately, the best option is to reencode the video to something like H264/AVC mp4.
VP9 on KitKat+
I've tried on 3 devices; Asus Zenfone 6, Samsung Galaxy Note 10.1, and LG G2, all of it have the same issues...
And tried on PC to check if the video has errors or something, but the video is playing perfectly fine.
Click to expand...
Click to collapse
Can you explain more where you're trying to playback the video? VP9 support is built in to Android from KitKat+ and should not have an issue playing back. Additionally, can you try playing back the video on Chrome on Android and see if there are still decode issues?
Thanks.
ktsamy said:
All 1080p videos are not same.
It may lag at various parameters like higher frame rate, bitrate, color depth,....etc.
For example if you consider a video 1080p @ 30fps inorder to display 1 sec of videos it needs to decode 30 frames. Where as in 1080p @ 60 fps it requires 60 frames to be decoded. So, It will require the double power. Like wise various encoding parameters matters in video playback.
Second, H/W uses your hardware's native decoder . If the codec is natively supported by your device, H/W decoder will be the best option.
In case of S/W decoder, it supports more video formats since it depends on the ffmpeg. But, decoding will be completely done one CPU. So, it needs very high cpu power. That's why it's more laggy.
Click to expand...
Click to collapse
CDB-Man said:
VP9 isn't a widely supported format. That's likely why HW and HW+ don't work well with it; most devices don't have VP9 hardware acceleration.
SW rendering of a 1080p video is very demanding. Even on the most powerful devices, since there's no hardware acceleration, expect performance to be sub-par. Currently, devices on the market can only SW render 720p smoothly.
This being said, for SW mode, try Settings > Decoder > use speedup tricks. See if that helps a little bit on SW.
Ultimately, the best option is to reencode the video to something like H264/AVC mp4.
Click to expand...
Click to collapse
I see... So the point is the problem because most devices don't have VP9 hardware accelaration yet, especially for 1080p VP9...
Well... I've tried using SW speed up trick, it didn't much help...
Yeah...maybe the best option is to reencode the video to H264...or download 720p version..., cause the 720p VP9 can be played perfectly fine.
Still... I hope the MX Player developer team has plan to improve playback for 1080p VP9 video
Btw thanks for your answer bro
gurupanguji said:
Can you explain more where you're trying to playback the video? VP9 support is built in to Android from KitKat+ and should not have an issue playing back. Additionally, can you try playing back the video on Chrome on Android and see if there are still decode issues?
Thanks.
Click to expand...
Click to collapse
As I said before, I'm trying to play 1080p VP9 video (that I've downloaded from youtube using IDM on computer) on my Asus Zenfone 6, Samsung Galaxy Note 10.1, & LG G2 using MX Player.
But when I playing it, the video is laggy on all devices...
Surely you can streaming it using youtube app & chrome android and it plays well till the end cause the available quality option in those apps is up to 720p (the 1080p quality option is hidden on those apps so I can't select it to test if it plays well or not).
Night.Lurker said:
Still... I hope the MX Player developer team has plan to improve playback for 1080p VP9 video
Click to expand...
Click to collapse
That would be something you would have to ask the ffmpeg team to do, since MX uses their codecs. Unless the MX dev has a magic trick up his sleeve, I don't think there's much else MX can do to further improve SW playback performance for a video that exceeds the CPU's capabilities...
Likewise, on a hardware acceleration, it's limited by the hardwaree put in place by the manufacturer... so this aspect would need a new device.
Hi, i bumping this thread because i encountered the issue on some youtube vids too, but it's mostly playing fine, i think that with a few updates it will be good my phone is getting hot fast though.. (oneplus one)
VP9 1440p https://www.youtube.com/watch?v=mNNfZuIA1GQ : fine
VP9 1080p with a lot of "motion" https://www.youtube.com/watch?v=KGyZY4HNumw a bit laggy
I think I have already answered.
Read the second post. Video encoding parameters matters.
If you can't play in H/W or H/W+ decoder, Don't expect the smooth playback on S/W. It fully depends on CPU. If is laggy then your processor is not powerful enough. Sometime enabling the speed up tricks may reduce the lagging.
One more thing, using CPU will drain your battery faster than H/W. When CPU runs it's maximum speed for long time it will emit more heat which may lead to issues.
ktsamy said:
I think I have already answered.
Read the second post. Video encoding parameters matters.
If you can't play in H/W or H/W+ decoder, Don't expect the smooth playback on S/W. It fully depends on CPU. If is laggy then your processor is not powerful enough. Sometime enabling the speed up tricks may reduce the lagging.
One more thing, using CPU will drain your battery faster than H/W. When CPU runs it's maximum speed for long time it will emit more heat which may lead to issues.
Click to expand...
Click to collapse
Okay thank you. Then i hope new processors will have vp9 decoding h/w
coc014 said:
Okay thank you. Then i hope new processors will have vp9 decoding h/w
Click to expand...
Click to collapse
The chance of that happening, I can't see to be high. The MPEG consortium probably pays a lot to lobby chipset makers to only support MPEG formats, such as H.264 and H.265.
CDB-Man said:
The MPEG consortium probably pays a lot to lobby chipset makers to only support MPEG formats, such as H.264 and H.265.
Click to expand...
Click to collapse
Lolno, it's just that industry is not interested in VP9. Even if they don't have to pay royalties they still have to develop asics (and h/w engineers are saying that it's not h/w friendly) and include them into the chip. It still costs a lot.
And what is the point of supporting vp9? It's an ugly google toy that they're ready to abandon (say hello to vp10 in 2015).
Ah yes, ASICs. I don't think manufacturers would be very happy at making more dies for new ICs. They already aren't happy with being forced to support Hi10p in H.265.
Forced? I would be happy if they were forced, but, at least Qualcomm, have no plans whatsoever
vivan000 said:
Forced? I would be happy if they were forced, but, at least Qualcomm, have no plans whatsoever
Click to expand...
Click to collapse
Well, this sucks. Looks like we'll be waiting another generation... Where did you find that support chart?
Edit: We should move this discussion to the 10-bit thread. I'm going to quote you over there. http://forum.xda-developers.com/app...layer-10-bit-video-discussion-t2725241/page12
abput supporting vp9 1080p and undeleting files in mx player p higher andrpid version
first of all:
"Most probably you’re on Android marshmallow 6.0 API. If you’re trying to delete a video that is located on the external storage then its not possible due to some bug in the file system and mx player.
If you’re on the internal storage then MX player has only read only rights on the directory on which you’re currently on."
or just delete on your internal system file manager application.
Second answer about playng videos vp9
becayse you can't play vp9 if you download youtube videos with IDM (internet download manager)
because it is bull**** and its newer versions used idmmkvlib.01 codec.so when downloadimg it not only download andit convert into ist bull**** special format.so won't play withx pr others.try another downloader or manual download yt videos i recomend.
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.
I love using MX Player to watch shows on my Android devices. However I'm watching Psycho-Pass right now and noticed that only software decoder works for .mkv files, probably because of the way fansub groups encode their anime. Are there any intentions to add in a hardware decoder support for .mkv files in the future? Would help a lot with regards to how smooth the show is when I try to watch it on my phone, especially if it is 1080P. Would also help with battery life too.
Or is this more related with Hi10P? It seems that way but I am not sure since I know some of the anime I watch encode using Hi10P while others don't.
.mkv is just a container. What matters is video codec. H.264 will be decoded using h/w decoder (unless something in f/w is badly broken), 10-bit H.264 ("Hi10P") can't be decoded using h/w decoder and nobody can do anything about it.
(you can check the profile using MediaInfo on PC)
I have a 2015 model of sony bravia android tv, and it has a MT5890 CPU and a mali T-624 GPU. I installed the latest version of mx player and armv7 neon codec.
I am able to play x265 coded videos with built-in video player without any problem, it's very smooth, and I can skip forward or backward or just jump to whenever I wish to.
However when using mx player, it's also very smooth, but I can only play from the beginning, if I try to skip forward or backward, or jump to a certain time point, it starts to act very weird. Sometimes video speeds up 2x or 3x, sometimes it slows down, like it's catching up or slowing down to wait audio to be synchronized. And it can take from couple of minutes to half an hour to go back to normal.
This only applies to x265 coded videos, I have other video that are coded with x264 or HEVC, and they work just fine in both built-in player and mx player.
I have tried other video players like spmc, kodi or VLC, they all stutter, VLC is probably the best among these but it is still dropping frames left and right. But most of them don't have problem with skipping or jumping.
Can someone please explain the reason? Could it be fixed?
Much appreciated!
terrytw said:
I have a 2015 model of sony bravia android tv, and it has a MT5890 CPU and a mali T-624 GPU. I installed the latest version of mx player and armv7 neon codec.
I am able to play x265 coded videos with built-in video player without any problem, it's very smooth, and I can skip forward or backward or just jump to whenever I wish to.
However when using mx player, it's also very smooth, but I can only play from the beginning, if I try to skip forward or backward, or jump to a certain time point, it starts to act very weird. Sometimes video speeds up 2x or 3x, sometimes it slows down, like it's catching up or slowing down to wait audio to be synchronized. And it can take from couple of minutes to half an hour to go back to normal.
This only applies to x265 coded videos, I have other video that are coded with x264 or HEVC, and they work just fine in both built-in player and mx player.
I have tried other video players like spmc, kodi or VLC, they all stutter, VLC is probably the best among these but it is still dropping frames left and right. But most of them don't have problem with skipping or jumping.
Can someone please explain the reason? Could it be fixed?
Much appreciated!
Click to expand...
Click to collapse
Basically, x265 is an encoder for HEVC. So, both are same.
Maybe some particular HEVC profile has issues. Can you try HW+ decoder?
Thirumalai.K said:
Basically, x265 is an encoder for HEVC. So, both are same.
Maybe some particular HEVC profile has issues. Can you try HW+ decoder?
Click to expand...
Click to collapse
In fact I am using HW+ decoder, and it's the only way I can play those videos smoothly. Switching to HW or SW would make the video either completely unplayable or stutter very heavily.
To sum it up, I CAN play any videos with built-in player smoothly and drag or jump or skip however I want to.
I CAN play x265 coded files smoothly with mx player in HW+ mode, but I CANNOT jump or skip. I CAN play any other videos with mx player without any problem.
I CAN play x265 coded files with some level of stutter with other players like spmc and VLC, but I CAN drag or jump however I want to.
The videos that I am having problem with have these kind of parameters:
Format : HEVC
Format Info : High Efficiency Video Coding
Format profile : Main [email protected]@High
Codec ID : V_MPEGH/ISO/HEVC
Writing library : x265 2.5+4-b4a5bcfe29c7:[Windows][GCC 4.9.3][64 bit] 10bit
If the writing library is x264 or ATEME Titan KFE or ATEME Titan file, or if the codec ID is hev1, or if the format profile is Main [email protected]@Main, I don't have a problem.
This is so weird....
To the TC - Did you ever get this sorted?
I am having the same issue on my Sony Bravia. Whilst the actual player is exactly what I wanted, I get exactly the same issue when fast forwarding or rewinding.
I have played around with the different codec settings but it doesn't seem to make any differences.
Did you end up finding a solution?
Cheers
littlelostkiwi said:
To the TC - Did you ever get this sorted?
I am having the same issue on my Sony Bravia. Whilst the actual player is exactly what I wanted, I get exactly the same issue when fast forwarding or rewinding.
I have played around with the different codec settings but it doesn't seem to make any differences.
Did you end up finding a solution?
Cheers
Click to expand...
Click to collapse
Glad to see that I am not alone. But unfortunately I did not find any solution and had given up on this.
After all, it is only a tiny fraction of all the videos have this kind of behavior.
Thank you for the confirmation