There is a risk of crash when the grabber restarts and closes, if the pixel format is set to BGRA `grabber.setPixelFormat(avutil.AV_PIX_FMT_BGRA)`