anilbeesetti / nextplayer

An Android native video player
GNU General Public License v3.0
1.26k stars 58 forks source link

[BUG] Can't play video with device decoders on ChromeOS #955

Open lescx opened 1 month ago

lescx commented 1 month ago

Describe the bug

Next Player cannot use the device decoder on ChromeOS. This means that decoding files is very resource-intensive and videos won't play smoothly. Attempting to play with the automatically selected decoder will stutter instead.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings > Decoder'
  2. Set 'Decoder priority' to Device decoders only
  3. Open an "archived" video file of your choice

Expected behavior

Videos should use the device decoder and play as smooth as on VLC.

Error message

Error: Can't play video

MediaCodecVideoRenderer error, index=0, format=Format(1, null, null, video/hevc, hvc1.2.4.L120.90, -1, null, [1920, 1036, 23.932562, ColorInfo(Unset color space, Unset color range, Unset color transfer, false, 10bit Luma, 10bit Chroma)], [-1, -1]), format_supported=NO_EXCEEDS_CAPABILITIES

Screenshots

image

Device info

Additional context

Upon testing, I noticed an issue on Just Player. I don't know if it's related or even the same in the end.

image

At the same time, VLC works just fine with hardware decoding.