eth-ait / aitviewer

A set of tools to visualize and interact with sequences of 3D data.
MIT License
553 stars 49 forks source link

Is it Possible to Save Videos Without Displaying in Viewer? #46

Closed drlxj closed 8 months ago

drlxj commented 10 months ago

I am using the aitviewer for training and evaluating models with the SMPL sequence on a server that does not have a GUI. This setup prevents me from viewing or saving video outputs through the interactive interface. I am inquiring whether aitviewer supports off-screen video saving to overcome this limitation?

kaufManu commented 10 months ago

Yes, aitviewer supports headless rendering. You can simply instantiate a HeadlessRenderer instead of a Viewer and then call save_video on the renderer instead of run. There is an example available here. Also note that this assumes that your server is able to render in headless mode. Check out issue #10 how to fake a display.

kaufManu commented 8 months ago

Closing this due to inactivity - feel free to open again if something pops up.