How to open rtsp videostream from ip cam?
My OC AltLinux.
I want to open stream from the ip camera from rtsp. Totem in my OS open rtsp good. but
CvCapture* capture = cvCreateFileCapture("rtsp://x.x.x.x:50xx/h264/");
get the error
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
[rtsp @ 0x80b5a40] method DESCRIBE failed: 404 Stream Not Found
warning: Error opening file (/usr/src/RPM/BUILD/libopencv2.2-2.2.0/modules/highgui/src/cap_ffmpeg.cpp:457)
(DEBUG) icvOpenAVI_XINE ... start
input_bluray: (bluray_class_get_instance:1454) bluray_class_get_instance
input_bluray: (bluray_class_get_instance:1454) bluray_class_get_instance
(ERROR)icvOpenAVI_XINE(): Unable to open source 'rtsp://x.x.x.x:50xx/h264/'
version opencv 2.2.0 from repository
help me please!
You might also check this: http://answers.opencv.org/question/3664/ip-network-camera-access/