Hello,
at home I wanted to show my family a movie made with my new Sony a6000 (NEX-6 like) camera.
I copied the movie on to the micro-sd of my lg gpad 8.3 (running cm11) and started to play the video file using mx player. The video started just fine, but right after about 2 seconds the viedeo stopped and just the audio continues.
Jumping to any other time gives me the same result.
Even after recoding the video the playback had problems, too.
I use hardware decoding:
I filmed in:
50fps (Europe)
1920x1080
AVCHD (Sony)
recoded into: .mp4 (H265 @ 3000bits)
Maybe you guys could find a solution.
Here is a link to a short (22MB) video file that has the same problem:
https://www.dropbox.com/s/g1ut3izih3mcgkm/20140706132825.MTS
@cybercrash
I have faced some frame freeze very rarely on HW mode. In HW+ decoder I have noticed some frame distortion on the beginning of the playback. I think it's because of Higher frame rate.
Have you tried on SW mode?
SW decoder uses mxplayer's internal ffmpeg library. It's works fine for me without any problem.
ktsamy said:
@cybercrash
I have faced some frame freeze very rarely on HW mode. In HW+ decoder I have noticed some frame distortion on the beginning of the playback. I think it's because of Higher frame rate.
Have you tried on SW mode?
SW decoder uses mxplayer's internal ffmpeg library. It's works fine for me without any problem.
Click to expand...
Click to collapse
Hello,
thanks for your feedback.
I've just tried without HW+ and it works...kind of.
The video is played all the way, but at a much lower framerate. The video seems to stutter.
Which device you are using?
SW decoder uses CPU to decode. It need more power to run. When it's not enough the frame will fall behind audio. To avoid audio video sync frame will be dropped.
ktsamy said:
Which device you are using?
SW decoder uses CPU to decode. It need more power to run. When it's not enough the frame will fall behind audio. To avoid audio video sync frame will be dropped.
Click to expand...
Click to collapse
I use the LG Gpad 8.3 with the CyanogenMod 11 Android 4.4.4
Snapdragon 600 CPU
Qualcomm Adreno 320 GPU
2GB of RAM
To me this seems powerful enough, or am I wrong?
cybercrash said:
I use the LG Gpad 8.3 with the CyanogenMod 11 Android 4.4.4
Snapdragon 600 CPU
Qualcomm Adreno 320 GPU
2GB of RAM
To me this seems powerful enough, or am I wrong?
Click to expand...
Click to collapse
Have you tried in SW mode?
ktsamy said:
Have you tried in SW mode?
Click to expand...
Click to collapse
I've just tried without HW+ and it works...kind of.
The video is played all the way, but at a much lower framerate. The video seems to stutter.
@cybercrash
It depends upon the hardware.
I have tried the same video on my another device with 1 GB ram & MTK 6589 @ 1.2 GHz quad core. In HW decoder mode video plays well. But, in SW decoder I can see the effect like low frame rate. In HW mode it uses native hardware decoders. That's why it's play well. In SW decoder CPU will be used for decoding. MT6589 @ 1.2GHz Quad core is not enough to decode. That's why it's fall behinds.
Where as In my first test S5 has exynos 5 octa core processor, which has more power & working well.
If you still have any problem kindly run mx log collector after playback & post the logs here. So, the developer can look at your problem.
Can you tell me how I can save this log?
cybercrash said:
Hello,
at home I wanted to show my family a movie made with my new Sony a6000 (NEX-6 like) camera.
I copied the movie on to the micro-sd of my lg gpad 8.3 (running cm11) and started to play the video file using mx player. The video started just fine, but right after about 2 seconds the viedeo stopped and just the audio continues.
Jumping to any other time gives me the same result.
Even after recoding the video the playback had problems, too.
I use hardware decoding:
I filmed in:
50fps (Europe)
1920x1080
AVCHD (Sony)
recoded into: .mp4 (H265 @ 3000bits)
Maybe you guys could find a solution.
Here is a link to a short (22MB) video file that has the same problem:
https://www.dropbox.com/s/g1ut3izih3mcgkm/20140706132825.MTS
Click to expand...
Click to collapse
I tested your video on my Nexus 5. It suffers lags with sw decoder but not with hw+ decoder.
Are you sure there is lags even with hw+ decoder?
If so, check following settings;
1) Turn off subtitle in the subtitle selection window. (Click speech balloon button on the right upper side of the screen)
2) Turn off software audio in the audio track selection windows.
bleu8888 said:
I tested your video on my Nexus 5. It suffers lags with sw decoder but not with hw+ decoder.
Are you sure there is lags even with hw+ decoder?
If so, check following settings;
1) Turn off subtitle in the subtitle selection window. (Click speech balloon button on the right upper side of the screen)
2) Turn off software audio in the audio track selection windows.
Click to expand...
Click to collapse
Did all that. Still stuck video.
My problem is lag during SW decoder and a video stop (paused) video while audio is still going.
HW decoder gives me an error message:"This video can not decoded using HW...". Then it switches back to HW+ and after 0,5-1sec the video stops/lags again.
Same problem with VLC.
I guess 50fps is too much.
I just tried that sample with a snapdragon 400 SoC (xperia m2) and for me it plays fine with h/w+. No stuttering/hang, no a/v desync. S/w mode is stuttering though.
Crim Soukyuu said:
I just tried that sample with a snapdragon 400 SoC (xperia m2) and for me it plays fine with h/w+. No stuttering/hang, no a/v desync. S/w mode is stuttering though.
Click to expand...
Click to collapse
This looks like CPU computing power limit. Which means CPU is not fast enough to play this video.
Typically 1080p 50fps video is too heavy to decode with SW decoder in current mobile CPUs.
Crim Soukyuu said:
I just tried that sample with a snapdragon 400 SoC (xperia m2) and for me it plays fine with h/w+. No stuttering/hang, no a/v desync. S/w mode is stuttering though.
Click to expand...
Click to collapse
Your video is 1080p mpeg4/h264. Most of the modern device can natively play 1080p @50fps. So, I think your device can play the video in HW mode. There might be a problem with your custom rom.
Can you post the log?
It will be helpful to identify the problem.
(You can easily collect the log either by Menu> Help > Report bug or by running the seperate mx log collecter app after playing the file. As of now there is no way to save it. When it asks save the log in your mail. Then you can easily download & attach here)
bleu8888 said:
This looks like CPU computing power limit. Which means CPU is not fast enough to play this video.
Typically 1080p 50fps video is too heavy to decode with SW decoder in current mobile CPUs.
Click to expand...
Click to collapse
ktsamy said:
Your video is 1080p mpeg4/h264. Most of the modern device can natively play 1080p @50fps. So, I think your device can play the video in HW mode. There might be a problem with your custom rom.
Can you post the log?
It will be helpful to identify the problem.
(You can easily collect the log either by Menu> Help > Report bug or by running the seperate mx log collecter app after playing the file. As of now there is no way to save it. When it asks save the log in your mail. Then you can easily download & attach here)
Click to expand...
Click to collapse
What I was meaning to say is that if my snapdragon 400 can play it with h/w+ (plus downscaling it to my 960 x 540 resolution), then @cybercrash's snapdragon 600 should be easily able to play it back at the native 1920x1200 resolution. I prefer to use the h/w+ decoder anyway, so I'm not worried about my CPU not being strong enough to decode it in s/w mode.
@Crim Soukyuu
I have wrongly quoted you instead of original poster
@cybercrash
Your video is 1080p mpeg4/h264. Most of the modern device can natively play 1080p @50fps. So, I think your device can play the video in HW mode. There might be a problem with your custom rom (CM11) which is leading to problem.
Can you post the log?
It will be helpful to identify the problem.
(You can easily collect the log either by Menu> Help > Report bug or by running the seperate mx log collecter app after playing the file. As of now there is no way to save it. When it asks save the log in your mail. Then you can easily download & attach here)
Thanks for all your help and suggestions.
I've got the solution. It was a fault in the cm11 version.
After updating today to the latest nightly the video plays smoothly using HW+. No framerat dropping or stuck video.
I was just about to go back to the original LG firmware.
Right after it worked just fine a mxplayer update came out and after installing it the video hangs again.
cybercrash said:
Right after it worked just fine a mxplayer update came out and after installing it the video hangs again.
Click to expand...
Click to collapse
If you are still using CM11 try again after switching to LG stock rom...
Has anyone tried 10 bit video yet? How does the shield perform?
It works fine for me. I've played the Video in XBMC, MX Player and VLC. All of them are able to play my highest quality stuff (2GB MKV with a length of about 24 minutes) with SSA subtitles with no lag. However, in XBMC and MX Player there is noticeable corruption in the image and discoloration as well. It is worse the higher the bitrate with it being most unnoticeable with 10bit 720p video. There is a hint of it with 8bit, so much so I'm not sure if it is an optical illusion or not. For whatever reason I did not see this with VLC. I think it is because it was using software codec versus hardware codec. I'm not entirely sure because VLC would crash if I took it Auto for which Codec to use. Also the H/W+ codec in MX Player would crash no matter what video I tried to play (resolution or 8/10bit). Also XBMC would crash if I limited the codec to only Stagefright. The other Hardware Codec and Software Rendering worked just fine.
Dear trowgundam,
did you try the version v1.7.31 of MX Player Pro? It now supports natively the K1 but it isn't so stable...
sev7en said:
Dear trowgundam,
did you try the version v1.7.31 of MX Player Pro? It now supports natively the K1 but it isn't so stable...
Click to expand...
Click to collapse
Just to clarify that I'm using v1.7.31 of MX Player Pro and the colour corruption\pixelation is still present with HW+ or HW decoder used. SW decoder works fine for most purposes. I see the same problem in XBMC (latest nightly) with Hardware acceleration used.
I did find the performance suffers a little bit with the SW decoder (got a lot of dropped frames on a very high bitrate version of Psycho-Pass I was watching but everything else seemed fine, nowhere near as bad as my old Nexus 10 however which is a massive plus). The tablet gets quite hot and battery life really suffers as I'm guessing only the CPU is being utilized?
It's a damn shame because the HW decoder works fine with 10-bit video apart from this problem but it can get so bad in certain scenes that it's not really usable.
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.
Hello all,
I am trying to make my new Philips TV play 4k HEVC videos but am having no luck with smooth playback.
MX Player seems to do the best job but stalls eventually. HW+ decoder kicks in to do the playback.
Short version of TV specs:
SoC Mediatek MT5596A
CPU ARM Cortex-A53
GPU ARM Mali-T860 MP2
Android 6
I collected MX player logs while the video was choppy and can send if required.
Can anyone tell me if my device is supported or am I wasting time on MX Player ?
Thanks
sexy_lady said:
Hello all,
I am trying to make my new Philips TV play 4k HEVC videos but am having no luck with smooth playback.
MX Player seems to do the best job but stalls eventually. HW+ decoder kicks in to do the playback.
Short version of TV specs:
SoC Mediatek MT5596A
CPU ARM Cortex-A53
GPU ARM Mali-T860 MP2
Android 6
I collected MX player logs while the video was choppy and can send if required.
Can anyone tell me if my device is supported or am I wasting time on MX Player ?
Thanks
Click to expand...
Click to collapse
What about HW decoder?
HW & HW+ decoder basically uses system decoders which are built into the firmware.
If HW decoder doesn't work and HW+ lags, probably your system decoders couldn't decode the video at that particular encoding profile. Can you share the logs here? We may have to look at the logs in order to understand the issue better.
Thirumalai.K said:
What about HW decoder?
HW & HW+ decoder basically uses system decoders which are built into the firmware.
If HW decoder doesn't work and HW+ lags, probably your system decoders couldn't decode the video at that particular encoding profile. Can you share the logs here? We may have to look at the logs in order to understand the issue better.
Click to expand...
Click to collapse
Hello and thanks,
The thing is that built-in TV video player does not work with x265 videos. I have tried VLC which performs terribly. I guess it uses SW decocoding and can't even play 1080p smoothly with x265 encoding.
Archos is really slick and works well with 1080p x265 but lags on 4K. The speed of 4K playback with Archos is the same as for MX Player with HW decoder. Only HW+ will play smoothly but it eventually stalls to a point of 1 frame per seconds as if some error is encountered (always at the same point in movie). Any attempt to rewind will kill 4K playback smoothness and menu operations often result in MX Player crashing.
Here is my report file
*h*t*t*p*s://1drv.ms/u/s!Av9g--Caxs7ogzkI5M_WUWgfOp3D