I want to know if there is any method of Python or probably from python-opencv that allows me to extract frames from a rtsp streaming. I know that such task can be done easily using a ffmpeg library but ffmpeg uses a lot of my CPU.
Asked
Active
Viewed 639 times
0
-
You can try to use PyAv https://mikeboers.github.io/PyAV/ it's a ffmpeg libav binding. – Leandro Moreira Nov 08 '17 at 15:52
-
You can just use OpenCV: `cap = cv2.VideoCapture("rtsp://link_to_stream")`. – Quang Hoang Nov 08 '17 at 16:41
-
Possible duplicate of [RTSP stream and OpenCV (Python)](https://stackoverflow.com/questions/20891936/rtsp-stream-and-opencv-python) – Ollie Graham Oct 24 '19 at 05:12