Can i capture movie using only python api?

Is it possible to render a scene like “video.mp4” with just a python script without using the user interface at all? Thank you in advance.

Hello @ismet! This is a question for the development team! Let me see if I can wrangle up someone who can help you here!

@ismet yes you can take advantage of the omni.kit.capture.viewport extension. It provides APIs for you to capture a movie for a scene. The Movie Capture user interface you mentioned uses it to do viewport image capture and video encoding so you can look into the Movie Capture source (extension name omni.kit.window.movie_capture) to check how to use the omni.kit.capture.viewport extension. Hope this help a bit.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.