-
Notifications
You must be signed in to change notification settings - Fork 53
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
Generation of scenes mixing via API in high traffic #23
Comments
I might know what's happening here, i tried building exactly that last year... force_output_as_scene_name = True in manim. i literally ctrl-clicked my way from Scene->CairoRenderer->SceneFileWriter, ctrl-f "force" and you should find it. i didn't look at your code too closely, but having built this before, it seems like that kind of issue, since you are likely running in docker you will have to find a smarter way to do this... |
Hi @LucaM185!, thank you so much!, I've thought about rewriting the scene name to make it different before. |
Yes, if you reuse the same scene name it intelligently reuses previous partial_movie_files if they have the same hash. This is obviously not useful if you have completely different scenes, so I don't see a performance penalty in using different names... Just make sure you delete the folders after a while because of storage costs |
Great, thanks a lot @LucaM185, we will start implementing the |
In some cases, the scenes returned by the API can be mixed when there are multiple requests.
Example:
Code:
Video:
video-GenScene-GenScene-338.1.mp4
The text was updated successfully, but these errors were encountered: