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

[Video playback] Video player's colors are off from file version #6573

Open
gm-bug-reporter bot opened this issue Jul 8, 2024 · 5 comments
Open

[Video playback] Video player's colors are off from file version #6573

gm-bug-reporter bot opened this issue Jul 8, 2024 · 5 comments
Labels
project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes

Comments

@gm-bug-reporter
Copy link

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

@gm-bug-reporter gm-bug-reporter bot added project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes labels Jul 8, 2024
@stuckie stuckie moved this from Triage to Backlog in Team Workload Jul 9, 2024
@4321louis
Copy link

gamemaker colour distortion in mp4
An example may be helpful, here's the same png as an asset/sprite vs played as a video after conversion to mp4

@nicholaskraak
Copy link

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.

BarsOriginal
BarsGameMaker

@chubigans
Copy link

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.

@4321louis
Copy link

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

@ricardocostaza
Copy link

This seems to have been fixed in runtime 2024.11.0.227 (tested on Windows and macOS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project This issue has a sample project attached runner-bug In-game bugs with the "GameMaker Studio 2" runtimes
Projects
Status: Backlog
Development

No branches or pull requests

4 participants