Skip to content

MPV not working as expected #645

@ciaens

Description

@ciaens

Describe the bug
Depending on the configuration, the MPV backend doesn't work, or exhibit color shift, color banding, compression, and fails to display an HDR image.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a movie encoded in HEVC 10 bit with HDR10 (main).
  2. Click on play
  3. See error (black screen or wrong playback).

Expected behavior
Normal playback of the movie, as done with the default backend (Exoplayer).

Screenshots
Screenshot_20240131-201215
Screenshot_20240131-201246

First image is MPV, second is ExoPlayer. You may need to increase brightness as it was captured on an HDR screen. Very noticeable in person.

Device info (please complete the following information):

  • Device: Google Pixel 8 Pro
  • Android version: 14 / UQ1A.240105
  • App version: v0.13.1 / versionCode 22 / targetSDK 34
  • Jellyfin version: not relevant

Additional context
Here are some logs where I start by using MPV, and then switch to ExoPlayer.
In this first log, I'm using first MPV with gpu-next and mediacodec-copy, then ExoPlayer
E dev.jdtech.jellyfin: PIXEL: ioctl err: 1 is spammed during MPV playback. See complete verbose logs below:
Findroid log 8242f4cf56ba.txt

In this second log, I'm first using MPV with no mediacopy / hardware encoding, then switching to mediacodec-copy.
Related issue: #537
When disabling hardware acceleration, I only get a black screen. When using the hardware encoding mediacodec or mediacodec-copy, I have an image (it's not displaying correctly thus why I'm making this issue).
Findroid log 6c1e37110e7e.txt

About this: #574
I've sometime encountered this issue, but this was either weird encoded movies, or solved by clearing the cache of the application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions