microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.16k stars 666 forks source link

DolbyVision - WinUI2 on UWP #9746

Closed reece-white closed 2 weeks ago

reece-white commented 2 weeks ago

Describe the bug

Playing DolbyVision using MSE on WinUI2 on UWP fails on first playback with error:

PIPELINE_ERROR_DECODE: MediaFoundationRenderer error: kOnPlaybackError (The data specified for the media type is invalid, inconsistent, or not supported by this object.

Interestingly, HDR10 playout works as expected.

Previously on UWP we would call Windows.Graphics.Display.Core.HdmiDisplayInformation.GetSupportedDisplayModes() to get the hdmi supported display modes then Windows.Graphics.Display.Core.HdmiDisplayInformation.GetForCurrentView().RequestSetCurrentDisplayModeAsync(...) to set the display mode.

I don't see any such documentation for this

Steps to reproduce the bug

Try playout of a DolbyVision encoded with dvhe.08.09 codec.

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 2 - Microsoft.UI.Xaml 2.8.2

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

github-actions[bot] commented 2 weeks ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Open similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.