Page 1 of 1

Capture Frames uncoded and coded with Decklink Duo 2

PostPosted: Fri May 14, 2021 8:06 am
by MattisH
Hello all,

I want to develop a program to capture Videostreams with a Decklink Duo 2 and the C++ SDK.

The stream needs to be written to disk (compressed, to save diskspace) but the frames also need to be processed, therefore I also need the uncompressed Stream to process the Frames.
It looks like the Decklink SDK has the possibility to do both, with the Capture and the Streaming Encoder functionalities. Is there a possibility to access the Stream both as encoded and not encoded Stream?

I know that I could just access the frames and encode them to write to disk (or the other way around, capture an encoded stream, write it to disk and decode it) but the encoding on the CPU would take a lot of memory, so I rather would rather let the Duo 2 do the encoding work.

Any advice on how to solve that problem is appreciated.