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

Use multi-threading for rendering #42

Open
lassepe opened this issue Nov 20, 2020 · 2 comments
Open

Use multi-threading for rendering #42

lassepe opened this issue Nov 20, 2020 · 2 comments

Comments

@lassepe
Copy link

lassepe commented Nov 20, 2020

It would be nice to support multi-threaded rendering. Candidates for Threads.@spawn may be the render(t, dt) call in roll and (perhaps even more importantly) the call to writeframe. This might require some more restructuring since the push!(frames,...) design requires things to be rather sequential.

@lassepe
Copy link
Author

lassepe commented Nov 20, 2020

I'd be happy to work on this and create a PR. However, first, I wanted to figure out whether there have been already some thought on this.

@MaximeBouton
Copy link
Collaborator

I have not thought about this but that would be great!
I thought the ffmpeg call was the bottleneck most of the time though.

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