video – Is it possible to record MJPEG directly on Android?

Is it possible to record video from an android camera directly as MJPEG? I am interested in MJPEG for quality purposes. I don’t want to record video via default android settings and then convert to MJPEG, but directly from the camera device as MJPEG. Is this possible? I can’t find any information suggesting this is possible.