Tiago Magalhães wrote:The buffer you get form GetBytes contains the raw pixel data for that single frame.
Thanks Tiago, I spent couple days and finally figured out how to convert those data to correct images.
Cameron Nichols wrote:Hi Zicheng,
The IDeckLinkVideoFrame::GetBytes method provides raw pixel data as per the captured pixel format (See 2.7.4 Pixel Formats in the DeckLink SDK manual).
In the most recent DeckLink SDK 10.10, there is a sample StillsCSharp as an example for using GetBytes to convert captured frame to bitmap.
I hope this is useful to you.
Regards
Cameron
Hi Cameron, I just checked out this example in the new SDK, which is really helpful to me. I will start working on this example, thank you!