mpv-player / mpv-player/mpv

HDMI output defaulting to stereo in exclusive mode

Open
#10,668 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:win
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

Reproduction steps

Playback a multi channel audio file e.g. flac (sample attached) with a compatible HDMI output device.

Expected behavior

Playback layout should match the file layout if supported by the HDMI output device.

Actual behavior

Playback defaults to stereo.

Log file

htpc.log

Sample files

sample.zip

It's clear that this was an intentional change, but looking at the log it seems that it should be possible to select a compatible layout as the enumeration shows it does know what channel formats are supported.

As the commit which disables multichannel when exclusive mode is enabled was 6 years ago, I'm wondering if its now possible to do better?

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 reading commit b2e5eb13bc08a0286782fed29455a66a037b46e5 and the attached htpc.log, then compare the HDMI channel-layout enumeration with exclusive-mode selection. Done means playback chooses a compatible multichannel layout instead of defaulting to stereo when the output device supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.