Quote:
Originally Posted by jreneew2
Alright, thanks. I'm not sure what you mean when you said "If you're connecting to the stream separately then that would work too". Are you saying that over a web browser?
So, running the vision code with mjpg streamer on the roboRIO is out of the question at the moment? If so, would the next logical step to have vision run on the driver station computer? If so, how would I go about doing that?
Thanks again,
Drew
|
Well, you said you could connect to an Axis stream? If you can connect to that, then the mjpg-streamer stream should work too, if you have the right URL.
When I say "separately", I mean roll your own code to make the HTTP connection.
Like this python code. It's pretty easy in python because it's fairly easy to create http connections... I'm not sure what I would use in C++, it's been too long.
FWIW, the last time that I used OpenCV to connect to an mjpg stream (an Axis, actually) via ffmpeg, I ran into this bug:
https://trac.ffmpeg.org/ticket/2343