4K video on 1080p - CPU usage - General Topics

I've just tried a 4K h264 video on MX Player with HW+ acceleration and everything goes fine. The doubt is: what about CPU and downsampling?
I mean, my doubt is about what happens. When the HW computates the 4K video, does it render it directly in 1080p or it renders it in 4k and than it downsamples it to 1080p? Because in the first case the CPU and HW usage would be a lot lower than the second case.

Related

[Q] Laggy when playing video 1080p with VP9 video format

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.

4k playback and device support

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

video tests for 8.4" tablet

Just received it - before ordering it, I saw some mixed messages on media playback, so I decided to conduct my own semi-scientific tests - meaning grab a bunch of samples of typical media I consume (tv/movie/anime) with some key differences (264/265 8/10 bit, 1080p/2160p) just to see what this tablet could handle. I was actually pleasantly surprised. My test bed was MX Player with the all-in-one decoder pack.
Smooth Playback via HW/HW+
- h.264 8bit 1080p
- x.265 8bit 1080p
- x.264 8bit 2160p (was a 120mbit file as well - zero chop)
Smooth Playback via SW (not supported by HW)
- h.264 10bit 1080p
- x.265 10bit 1080p
- AVC 10bit 1080p
Not-at-all smooth Playback via SW (Not supported by HW)
- x.265 10bit 4K (this is by far the most popular 4k format)
Not tested
- 4k/264/10bit, 4k/265/8bit (couldn't find any)
- anything above 24/30 FPS (I don't personally care about that for movies/tv/anime, but it did play 60fps/1080p in youtube just fine)
Conclusions
Yeah - lack of 10bit hardware decoding is a minor bummer, all but eliminating this as a 4K personal media consumption device, but its spiffy CPU seems to handle anything 1080p/10bit just fine, making it adequate for my demands.

What are the best settings for SD interlaced video playback?

Hello!
I have a Q10 Pro Android Player connected to a FHD TV and would like to use MX Player only for SD video playback. These are most often 720X576 resolution interlaced videos with 25fps (that is actually 50fps due the deinterlace). Variously coded in MPEG, xVid or x.264 codecs.
I can see some options in MX Player that could probably impact the Picture Quality of the playback, like the options to choose from HW, HW+ and SW decoders, then choose 3 different kind of Deinterlace method, an also 3 option regarding the colorspace.
Regardless if it would be working fine on my Box or not, what would be the theoretically best setting for each upper option to get the best possible Picture Quality with these kind of videos?
Thanks!
No one?

8k video playback on PC

Hello, so I found out that my PC (2700x/Vega64/nvme) is not able to play 8k video from this phone.
Now I know that Vega doesn't have 8k video decoder but I thought that 16T would be able to SW decode the video. My T430 with 3820QM can play 4k 100mbps just fine even though the HD4000 is 4k not ready.
Tried MPC HC and VLC but both have extreme lags with only about 10-20% utilization on both GPU and CPU.
Any tips?
Are you on Windows or Linux or another OS?
Normally your PC should be able to play those videos fine. I never really heard about something like an 8k decoder. 8k is just the resolution of the video and not the codec. the phone saves the videos in H.264 or H.265 codec and that should be no problem for this pc i think. But maybe change the the Codec in the video settings on your phone and try it out again. Or try to change how your video player on the pc encodes the video. change it from cpu to gpu if that is possible somehow. should be in the settings options somewhere. Dont have amd so i cant help you there sry. in VLC it should be in the settings and codecs and there the hardware acceleration i think
Windows 10 2004, there is encoder/decoder on GPUs that supports in my Vega case up to h26x 4k60 HW decoding. And since this is 8k video it should automatically fall back to SW decoder (CPU) and even if I manually select SW it still lags, it is true that this was with h265 and I didn't try h264 will do when I get home.
Funny I have the same issue, thought my GPU wasn't good enough. Ryzen 3600, gtx 970, m2
It's not but it shouldn't matter as long as you have good enough CPU

Categories

Resources