Dropping frames when writing SKimage async to ssd

Thx for your input, guys!

@bjoern Yes I would prefere bmp for speed, but the skia texture renderer just supports a quite awkward range of formats. I have to stay compatible to ffmpeg for merging and encoding the frames.
@tonfilm a bmp option and a “on completed” output on the imageWriter would be nice to have.

Yes, I could go skia-> stride → texturewriter. The texture conversion might waste less time than the encoding when writing the texture.

I tried to do the rendering in the async thread, but this is really slow so I think this has to stay in the main thread. I am aware that the renderer needs to know if it is allowed to render the next frame. Since both image writers are not able to send a signal when they are done - is it possible to “name” the background threads somehow? Or another method to check if a certain texture got written?

cheers