See this [Medium post](https://pub.towardsai.net/efficient-camera-stream-with-python-b6adf93fab32) that uses ffmpeg with pipes to read video frames.
See this Medium post that uses ffmpeg with pipes to read video frames.