-
Notifications
You must be signed in to change notification settings - Fork 8
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
In Game: [Windows] MP4 video playback is affected by game_set_speed() and can cause freezes/crashes at certain values #8451
Comments
https://github.com/user-attachments/assets/b42eba1e-b0ed-4a87-95f3-46f3ecf81079 |
Hi @shichen85 I can't reproduce this, it plays just fine in Windows VM and YYC for me. What are the machine specs that you are running it on? |
@jackerley Hello, I have the issue on the following two Windows machines:
On the 2.80GHz machine, I am also noticing that the first few seconds of the MP4 video is played with stuttering. In the following recording, you can see that 00:01 - 00:08 plays with stuttering, but 00:09 onwards plays with normal speed, until it freezes at 00:21 : Crashlands_2_-_2024-11-19_9-45-01_AM.mp4 |
Running the YYC through Visual Studio, I can see that shortly before the freeze, the Output logs shows the following message: The full log is attached. video_debug.txt Running the minimal project from #8450 in YYC, which was able to play the mp4 without freeze, does not display this error message, which suggests the error message is related to the freeze. |
On coworkers' machines, the video plays with decreased speed but does not freeze. Their specs are:
2024-11-20.09-13-11.-.Trim.mp4 |
This is from another coworker:
For them, running the project from the IDE for Windows VM run also plays video with decreased speed, but it does not freeze. For YYC run, the video plays at normal speed when the game window is focused, but if it is in the background, it plays with decreased speed. |
@jackerley We've found the reason for different people getting different results! Video playback seems tied to the frame rate the game is running at. We got the following results on my 144hz monitor, while using game_set_speed() to control the game's FPS:
|
Thanks @BscotchSeth that helps a lot. I have some changes that I was working on and it's nice to be able to confirm they fix this issue under these circumstances. |
verified as of IDE v2024.1100.0.703 Runtime v2024.1100.0.719 |
Description
Might be related to what's going on in #8450, but this is for the Windows export.
We are noticing that the MP4 video we have is freezing in the latest runtime 2024.1100.0.708.
Steps To Reproduce
gamepipe_test
configopening.mp4
2024.800.0.642
plays fine, but with runtime2024.1100.0.708
, the video plays with choppy start and then freezes.Which version of GameMaker are you reporting this issue for?
IDE v2024.1100.0.687 Runtime v2024.1100.0.708
Which operating system(s) are you seeing the problem on?
Windows 10.0.22000.0
238197fb-3246-4a62-9b44-5cec6f9d898f
The text was updated successfully, but these errors were encountered: