Hi everyone.

I'd like to know if it would be possible to record several videos, one after the other, with the SDK, but without having to close the camera, and opening it again.
At the moment, the only way I can achieve this is if I run oak.create_camera(), then oak.record() and then oak.start() in a loop.
But that adds a significant delay.

If I try to leave the camera created after oak.create_camera() and loop over record() and start() methods, I get an error for using the same file name.
Even if I try renaming that last video recorded before the loop starts again, I get the same error.

I would like to continue working with the SDK and not the API, if at all possible.

Can this be done?

Thank you very much in advance.

Lucas

    Hi Lucas
    It's not currently possible, at least not without some hacky code. You might be able to restart the recording, but you'd need to check through SDK source to see how recordings are created.

    Thanks,
    Jaka

    13 days later

    Thank you Jaka for your response.
    Back to API then.

    Cheers