Play a video player without affecting its performance due to functions

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By gamer1998

Topic related to the problem

I have a video player node and I put a webm video in it and it works fine, but when I run a function like loading an image, the video is getting low framerate.

Is there a way to make the video player work without being affected by other functions?

Please put a script on how to do this, as I am a newbie and new to godot.

Sorry to bother you with my request

:bust_in_silhouette: Reply From: the_maven

Perhaps you problem is related to this one:
[4.0] very slow upload of video frames in GPU · Issue #57147 · godotengine/godot · GitHub.

You could post a report their, so the devs could have a look in this issue.

The link does not work.

I was thinking about making the video run in a separate thread or something like that.

gamer1998 | 2022-07-23 07:08