Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

open rtsp 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!

How to open rtsp videostream from ip camcam?

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!

How to open rtsp videostream from ip cam?

my My OC AltLinux. AltLinux.

I want to open stream from the ip camera from rtsp. rtsp. Totem in my OS open rtsp good. but

CvCapture* capture = cvCreateFileCapture("rtsp://x.x.x.x:50xx/h264/");

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/'

'rtsp://x.x.x.x:50xx/h264/'

version opencv 2.2.0 from repository

help me please!