Ask Your Question
0

opencv with pixord ip camera ( p600 or p600e)

asked 2013-06-23 07:06:07 -0600

ghsoftco gravatar image

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
-1

answered 2013-06-23 17:48:24 -0600

See these questions: question 1 question 2. It seems its working only under Linux. If you make a quick search on that forum, you will find other answers...

edit flag offensive delete link more

Comments

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

ghsoftco gravatar imageghsoftco ( 2013-06-23 18:06:38 -0600 )edit

Question Tools

Stats

Asked: 2013-06-23 07:06:07 -0600

Seen: 653 times

Last updated: Jun 23 '13