Closed odkrys closed 2 years ago
You could check device decoding capabilities of HEVC using https://github.com/Parseus/codecinfo
But if I change the videos to mkv using encoder they are playable.
Do you remux your MP4 file to MKV or reencode? Maybe you could remuxing back to MP4 just to make sure the file is valid.
Anyway, there's not much Just Player does about this so eventually the best course of actions would be replicating this issue in the ExoPlayer Demo and submitting this issue to ExoPlayer.
It's just a remux. I tested mp4 -> mkv -> mp4, but it still does not play in mp4. ( -f mp4 -c:v copy -c:a copy -sn -map_metadata -1 -map_chapters -1)
Codecinfo as far as I know this is reading the hardware acceleration profile specified in media_codecs.xml.
OMX.qcom.video.decoder.hevc / OMX.qcom.video.decoder.hevc.secure / OMX.qcom.video.decoder.vp9 / OMX.qcom.video.decoder.vp9.secure
All of them say 4K: 30.0 fps.
Does exoplayer depend on this information? I'm having trouble reverting to 480p when selecting 4k 60fps hdr video on recent youtube 17.x version. This was fine in the 16.x version. But 4k 60fps sdr video is also fine. It's really weird.
I know the hardware decoder has some resource margin, and should I see that this device has enough margin to be able to play 4k 60fps? But I don't know why it plays in mkv and not in mp4. These mp4 videos are played on mxplayer, and the difference is that 60fps video on mxplayer is played with hw+ decoder, not hw decoder.
In mkv, hevc 10bit 4k 60fps hdr video sample is played without frame drops on Justplayer.
I am testing several video applications on my Lenovo P11 pro (snapdragon 730G). Justplayer cannot play 4k 60fps hevc videos (8bit and 10bit) and 4k 60fps vp9 video in mp4 container. (This mp4 videos play fine on my Galaxy S10+ with Justplayer.)
But if I change the videos to mkv using encoder they are playable. It looks my 730G device cannot find hw decoder for mp4, but why is it successful in mkv?
Snapdragon 700 series products are known to only play 4k 30fps, so is it blacklisted? However, if I change videos to mkv and play them, there is no frame drop at all. I used perfdog ( https://perfdog.wetest.net ) to watch FPS and this tablet plays really well the 10bit 4k 60fps hdr video smoothly.
The error message is as follows.
Decoder init failed: OMX.qcom.video.decoder.hevc, Format(1, null, null, video/hevc, hvc1.2.4.H153.B0,-1, null,[3840,2160,59.939976],[-1,-1])
Attach mediainfo of hevc 10bit 4k 60fps sample.
MP4
MKV