Python Open CV image streaming without decoding and reencoding?
No. OpenCV is not a media library. Its video I/O is not intended or made for this.
I would advise to use PyAV, which is the only proper python wrapper around ffmpeg's libraries that I know of. PyAV comes with a few examples to give you a feel for how it works.
the basic problem then is how to use ffmpeg's libraries to enumerate available video devices, query their modes, select the mode you want, and move packets around.
Is it possible in python with the latest CV2 to use CV2 to directly bind mjpeg output from the camera to a stream without having to do source -> cv2.read() -> numpy array -> cv2.imencode(".jpg") -> mjpeg? I am looking to do source -> mjpeg in a pythonic way.
Latency is a major issue so any advice including options beyond CV2 would be appreciated.