Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaPlayerElement does not support DolbyVision #9238

Open
kingcean opened this issue Nov 21, 2023 · 2 comments
Open

MediaPlayerElement does not support DolbyVision #9238

kingcean opened this issue Nov 21, 2023 · 2 comments
Labels
area-MediaPlayerElement team-Rendering Issue for the Rendering team

Comments

@kingcean
Copy link

Describe the bug

There is no HDR effect on MediaPlayerElement.

Steps to reproduce the bug

Play a DolbyVision encoded video.

<MediaPlayerElement Source="dolbyvisionsample.mp4" AutoPlay="True" AreTransportControlsEnabled="True" Stretch="Uniform" />

But no effect. But it works well in Media Player app.

Expected behavior

Supports HDR (including DolbyVision).

Screenshots

No response

NuGet package version

Windows App SDK 1.4.3: 1.4.231115000

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

The test device should be Dolby Vision certificated, e.g. Surface Pro 9.

@codendone codendone transferred this issue from microsoft/WindowsAppSDK Jan 11, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Jan 11, 2024
@codendone codendone added area-MediaPlayerElement team-Rendering Issue for the Rendering team and removed needs-triage Issue needs to be triaged by the area owners labels Jan 11, 2024
@codendone
Copy link
Contributor

Thanks for reporting this. In UWP, MediaPlayer automatically figures out whether it can/should use HDR by looking at the monitor the CoreWindow is on. There is no CoreWindow in WinAppSDK apps so a different mechanism will be needed to communicate this information.

@lolametro
Copy link

Was this fixed in Windows App SDK 1.5?
To be frank, I don't see a difference between WinUI 2 and WinUI 3 (or the Windows media player app) using a HDR10 video file on my HDR monitor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-MediaPlayerElement team-Rendering Issue for the Rendering team
Projects
None yet
Development

No branches or pull requests

3 participants