http live stream to OpenCV
Hi im trying to get a video feed from a http page to OpenCV in Java i've tried the following
VideoCapture capture =new VideoCapture("http://192.168.1.100:8080/");
this is the feed string from the server side
$("#live_image").attr("src", basicURL + "stream/live.jpg?id=" + picCount);
I've tried alot of combinations but have had no luck..
Any help would be gratefully appreciated
Thanks
See these two link http://answers.opencv.org/question/24012/reading-video-stream-from-ip-camera-in-opencv-java/#24013http://answers.opencv.org/question/24154/how-to-using-opencv-api-get-web-video-stream/#24156 might be helpful
your server seems to send out a *single * picture only, and with a different url each time.
that's not a video stream.
read a bit, how to generate a proper mjpg feed.
Hi i have tried working with ip cam too where im also having problems im using the following VideoCapture capture =new VideoCapture("http://192.168.1.101:8080/videostream.cgi?user=admin&pwd=MYPASS&resolution=32"); the http address works in VLC but not when i use it for OpenCV im using Java for this..
Berek do you know of any tutorials i can follow to create a stream from android to http page .. the one im using is may not be right as you mentioned..Btw im new to opencv..
thanks