Ask Your Question

ghsoftco's profile - activity

2013-06-23 18:06:38 -0600 commented answer opencv with pixord ip camera ( p600 or p600e)

i am used open cv 2.4.2 under windows 7 sp1 , as now , example code

code:

include "cv.h"

include "highgui.h"

include <iostream>

int main(int, char**) { cv::VideoCapture vcap; cv::Mat image;

const std::string videoStreamAddress = "rtsp://admin:[email protected]:554/v00/live.sdp"; 
/* it may be an address of an mjpeg stream, 
e.g. "http://user:pass@cam_address:8081/cgi/mjpg/mjpg.cgi?.mjpg" */

//open the video stream and make sure it's opened
if(!vcap.open(videoStreamAddress)) {
    std::cout &lt;&lt; "Error opening video stream or file" &lt;&lt; std::endl;
    return -1;

error : [rtsp @ 003d3140] method SETUP failed: 455 Method Not Valid in this State [IMGUTILS @ 0038f55c] Picture size 0x0 is invalid [IMGUTILS @ 0038f56c] Picture size 0x0 is invalid

2013-06-23 17:58:54 -0600 received badge  Critic (source)
2013-06-23 07:06:07 -0600 asked a question opencv with pixord ip camera ( p600 or p600e)

Hi

I am using an open cv code to display video from network camera I used all of version open cv (2.1 , 2.2 ,... and emgu cv) but I can't get frame my ip camera model is p600 of pixord company , i read manual camera , but it's not working.

(rtsp://admin:[email protected]:554/v00) it's working in vlc player but it's not working opencv

thanks.