Capture .mov video programmatically

Hi colleagues.
I managed capturing frames programatically by the BM SDK from a Decklink Studio 2 card.
I can preview captured frames, but I would like to save them into a .mov file. How should I continue?
I thing I coud "collect" and store frames by the frame->get bytes() method.
What i dont know whether the BM SDK is able to export the frames collection to .mov format, or I will need some other libraries to make the video file?
Thanks for reply
Best regards
I managed capturing frames programatically by the BM SDK from a Decklink Studio 2 card.
I can preview captured frames, but I would like to save them into a .mov file. How should I continue?
I thing I coud "collect" and store frames by the frame->get bytes() method.
What i dont know whether the BM SDK is able to export the frames collection to .mov format, or I will need some other libraries to make the video file?
Thanks for reply
Best regards