RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
233 stars 28 forks source link

Mac: Video colors are incorrect, "washed out" #658

Closed TheloTheGreat closed 3 years ago

TheloTheGreat commented 3 years ago

When I play a video in AVPro on Mac (but not on Windows), its colors look incorrect, "washed out". They look different from playing the same video file in Unity VideoPlayer, or in Quicktime or VLC, where the colors appear correctly.

Example from the Demo_MediaPlayer scene (in AVPro 2.0.8) playing a short example video, with AVPro on the left (incorrect) and Quicktime on the right (correct): https://thelo.ca/AVPro-Quicktime-Mac-colors.png

That short video file is: https://thelo.ca/spiderman_featured_anim.mp4

(One thing I noticed is that when playing that video file in the demo scene, AppleMediaPlayer.PlayerSupportsLinearColorSpace returns false. Is that correct? The underlying OS certainly has no problem playing that video file correctly outside of AVPro.)

kahnivore commented 3 years ago

Which version of Unity are you using?

TheloTheGreat commented 3 years ago

Unity 2020.2.1

MorrisRH commented 3 years ago

There was an issue with the BT.709 colour space conversion, a fix will be in the next release.

TheloTheGreat commented 3 years ago

Fix confirmed in 2.0.9, thanks.