RTSP-stream und OpenCV (Python)

Ich habe eine IP-Kamera-streaming auf Linux über rtsp-Protokoll und h264 linux-Treiber. Ich bin in der Lage zu sehen, das video in VLC mit der folgenden Adresse und port:

rtsp://192.168.1.2:8080/out.h264

Jedoch wenn ich versuche das video OpenCV-Verarbeitung in Python 2.7.5 (MacOS X 10.9):

import cv
video = cv.CaptureFromFile('rtsp://192.168.1.2:8080/out.h264')

Bekomme ich die folgende Fehlermeldung:

WARNING: Couldn't read movie file rtsp://192.168.1.2:8080/out.h264

Scheint es, etwas einfaches, aber ich komme nicht weiter. Danke.

InformationsquelleAutor Guadancil11 | 2014-01-02

Schreibe einen Kommentar