mpv-player / mpv-player/mpv

vo=gpu-next has no effect on DV format files with hwdec=mediacodec-copy

Open
#10,287 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

down-upstream
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Screenshot_20220613-175619_mpv

Reproduction steps

I'm using a custom build mpv-android with the latest libplacebo (> 4.192.0) and ffmpeg (>5.0). The build is from the following locations:

https://www.reddit.com/r/AV1/comments/v55ukc/custom_build_the_endgame_is_approaching_leading/
https://github.com/Quackdoc/mpv-android/tree/testvk

I'm using the following config:

vo=gpu-next
gpu-api=vulkan
vd-lavc-film-grain=gpu

Only when using software decoding the color tone mapping is correct for a DV format file. Once I changed to hardware decoding (mediacodec-copy), the color tone is still incorrect. I'm using a samsung Snapdragon 8 Gen 1 device with no DV license.

Expected behavior

The color tone should be normal same as using software decoding.
Screenshot_20220613-175927_mpv

Actual behavior

Instead the color is still purple or green.
Screenshot_20220613-175947_mpv

Log file
Sample files

Any dolby vision format files.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported configuration with vo=gpu-next, gpu-api=vulkan, and hwdec=mediacodec-copy, comparing it with software decoding on a Dolby Vision sample. Collect the missing log and determine whether the color output matches the expected software-decoding result; done means DV colors render normally with mediacodec-copy.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
cli, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.