bitmapToVideoFrame

fun bitmapToVideoFrame(bitmap: Bitmap, rotation: Int = 0): VideoFrame