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

Playback speed in create movie mode is a bit faster. #36

Open
rakzin opened this issue Oct 10, 2024 · 2 comments
Open

Playback speed in create movie mode is a bit faster. #36

rakzin opened this issue Oct 10, 2024 · 2 comments

Comments

@rakzin
Copy link

rakzin commented Oct 10, 2024

When I play a video in create movie mode.

the playback speed is a bit faster.

I think maybe because the time in movie mode is not the same from the physics_process's time

the accurate time should sum from the _physics_process's _delta, the 'Time.get_ticks_msec' is not correct.

@EIREXE
Copy link
Contributor

EIREXE commented Nov 17, 2024

Hi, sorry for the massive delay.

Can you reproduce this using godot's built-in theora decoder? We do not use get_ticks_msec or anything like that, just the delta value that is passed by the video stream player.

@rakzin
Copy link
Author

rakzin commented Nov 24, 2024

Well, I found the playback speed unsync in movie-mode is caused by godot's
VideoStreamPlayer doesn't take Engine.time_scale into account
see godotengine/godot#69965
So I don't use godot to record videos, I use OBS to record it.
In that way, Things works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants