Get videos from the API

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Pierre Kibleur
Posts: 19
Joined: Tue Sep 19, 2017 2:16 am

Get videos from the API

Post by Pierre Kibleur » Tue May 15, 2018 2:43 am

Hello,

I wanted to know if it was possible to output a video file from the simulation, directly from the API. I have the issue that I cannot make the Visualizer work properly with my model (though it works with the example here: https://github.com/opensim-org/opensim-core). I am not too bothered by that, but it would really save time if I could export the video directly when I run a tool, instead of rebooting under windows, converting CMC's state file to OpenSim 3.3's format, and exporting the video.

Thank you for your time,
Pierre

User avatar
Christopher Dembia
Posts: 506
Joined: Fri Oct 12, 2012 4:09 pm

Re: Get videos from the API

Post by Christopher Dembia » Tue May 15, 2018 11:55 am

The Simbody Visualizer that you spawn from the API allows you to "Save Movie" (this saves frames to a folder in your current directory, which you can combine into a video).

User avatar
Pierre Kibleur
Posts: 19
Joined: Tue Sep 19, 2017 2:16 am

Re: Get videos from the API

Post by Pierre Kibleur » Sat May 19, 2018 4:03 am

Hello Christopher, and sorry for the late answer...
Thank you very much for the reply. So I'll try to find a way to make the visualizer work again then!
Best,
Pierre

POST REPLY