Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF MediaElement white color is shown as gray

I try to show a MP4-Video using the MediaElement in WPF. Playing the video works just fine. However, the white colors are displayed grayish. When I open the video file in some other video player, the white color is shown as it should. Has anyone else experienced this?

<MediaElement LoadedBehavior="Play"
              Source="Resources/Videos/TestVideo.mp4" />

Video played as WPF MediaElement: enter image description here

Same video played in Windows Media Player: enter image description here

like image 965
Auraner Avatar asked Sep 11 '18 07:09

Auraner


1 Answers

Changing the dynamic range to "Full (0-255)" in NVIDIA Settings solved this issue.

NVIDIA Settings - Adjust video colour settings

like image 96
Auraner Avatar answered Oct 20 '22 09:10

Auraner