can you use any other of their callbacks?
that one is purely for encoded video, and expects you to write it to a file or send it onto the network. it’s a video stream, which requires context. there are no individual “pictures”. it’s video frames. it would require an actual video codec to decode.
there is absolutely no sense in the camera compressing this, only for you to decompress it right away.
look for an API that gives you plain video frames, as bitmaps. not bitmap files. bitmaps. uncompressed (never compressed).
you’d really want to ask them about their API.