Open gm-bug-reporter[bot] opened 3 months ago
An example may be helpful, here's the same png as an asset/sprite vs played as a video after conversion to mp4
Yep, this is a serious problem. Here's a colour bars comparison. The first file is the original and the second is how GameMaker is rendering.
This is made with the most vanilla export humanly possible: 1080p h264 mp4 from Premiere with all standard settings.
Can confirm this issue, I'm hoping it's a simple enough fix to get this out of the backlog- I can also confirm the video works great in YUV formats on console, it's just the RGB playback that's bugged.
As a temporary fix for my stuff, I figured out the colour change that is being done and we have exported our video with another filter that reverses it. Ive put the equations for the rgb values here . They aren't exactly correct but generally they are close enough, this wont work for values that go out of the 0-255 range as well.
Hopefully it is useful for others
Description
When trying to play videos through the video player, everything seems to be fine but the colors are different from what I expected, oranges were really yellow while blues were darker. Images provided shows the expected version in image2 and the gamemaker version in image.
Here's other dev reporting the same issue: https://forum.gamemaker.io/index.php?threads/video-playback-colour-issue.105379/
Steps To Reproduce
Play the video (Included Files) inside GameMaker and in an external video player. Compare the colors differences. I've reproduced this on Windows 11, Android and macOS.
Which version of GameMaker are you reporting this issue for?
IDE v2024.6.0.157 Runtime v2024.6.0.205
Which operating system(s) are you seeing the problem on?
Windows 10.0.22621.0
Which platform(s) are you seeing the problem on?
Android, macOS, Windows
f0d3bc10-f835-4863-83ab-53c5ce53b626