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

[QUESTION] Export to Mp4? #340

Open
rrzhang139 opened this issue Nov 5, 2024 · 1 comment
Open

[QUESTION] Export to Mp4? #340

rrzhang139 opened this issue Nov 5, 2024 · 1 comment
Assignees
Labels
question The issue author requires information

Comments

@rrzhang139
Copy link

Are there options to export to mp4 and defining camera parameters like Blender? What is an alternative to this? Thanks!

@rrzhang139 rrzhang139 added the question The issue author requires information label Nov 5, 2024
@christophercrouzet
Copy link
Member

Hi @rrzhang139, if you look at our examples, most of them export the result as a USD scene using warp.render.UsdRenderer. From there, you should be able to import it in Blender or any other 3D software and render it however you like.

An alternative could be to use warp.render.OpenGLRenderer instead and using its get_pixels() method to store each frame as an image. Then you could use ffmpeg to convert these as mp4, or maybe even use Matplotlib's FuncAnimation class.

@christophercrouzet christophercrouzet self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue author requires information
Projects
None yet
Development

No branches or pull requests

2 participants