Page 1 of 1

How to grab a Still Frame

PostPosted: Thu Aug 03, 2017 2:22 pm
by Antonio Spalluto
Hi all,

I am quite new to the Decklink Micro Recorder and the SDK API and I really need your help for giving me the right direction for my project. I need only to capture a single image on a fixed time period and ideally the Grab Still Frame function into MediaExpress would fit it but I need to integrate into my C++ server.

Can you suggest me what is the best way to Grab a Still Frame using the Decklick SDK?

Thanks

Re: How to grab a Still Frame

PostPosted: Thu Aug 03, 2017 9:24 pm
by Bob Luo
you can grab one still frame by set up you frameArrived callback. VideoInputFrameArrived(IDeckLinkVideoInputFrame * videoFrame, IDeckLinkAudioInputPacket * audioPacket)

But my concern is, when I'm reading videoFrame, can I assume it is still(no incoming data overriding the videoFrame's data)