Package Media

I use OCC for robotics, how can I use the Package Media to record the motion in V3d_View, I know the view can be dumped to an image. The package is based on FFmpeg, but it seems like to be designed for a video player. I can't find any output API in it.

Kirill Gavrilov's picture

Indeed, package Media is mostly for video playback.
Take a look onto Image_VideoRecorder class (it has been placed in Image package because video playback has been added later).

In Draw Harness, this class can be tested via command vanimation (see -record parameter description in command help).