OK, the format you are using in the sample is Bgra32. I am using winforms and there is no definition for a bgra PixelFormat in System.Drawing.Imaging.PixelFormat.
In any event, I'm using:
Bitmap copy = new Bitmap(_width, _height, System.Drawing.Imaging.PixelFormat.Format32bppArgb);
using Graphics g = Graphics.FromImage(copy);
g.DrawImage(bitmap, 0, 0, _width, _height);
My understanding is that this should convert the format "automagically". Presumably Winforms just isn't able to handle the format you are outputting. I guess I could use skia to convert the bitmap? I'm not that familiar with it, but I can look into it.
None of my cameras are using VP9. They are all just plain old H264, most highprofile.