videoFrameAt

fun videoFrameAt(context: Context, item: MediaRef, atMs: Long, maxSide: Int): Bitmap?(source)

The video frame showing at atMs (the exact one, not the nearest keyframe), at most maxSide on its long side. Plain videos and the host's own (LumenAiHost.videoSource) alike; HDR comes out tone mapped, which reads fine.