Asked — Edited
Resolved Resolved by CochranRobotics!

Ip Camera Feed From ARC

I need some help to get the camera feed out of ARC. I've looked through the documentation and tutorials and nothing is working for me.

Back in the day the HTTP Server was the method to get at least jpg images via an IP address.

This does is not working for me, at least not with an ezBv4 JD with JD's camera. I can add the HTTP Server to my project following the tutorial linked above, but the provided IP address in the HTTP Server module nor the IP address of JD provide the HTTP interface that I used to get with a v3 setup. If I use the IP address of JD I get the maintenance interface, which I assume is correct.

And to qualify this questions, my JD works fine, it connects fine, I get video in my ARC project just fine. All the standard stuff works.

Is there a better way now to get the camera feed from an EZbv4? I'd prefer to get a live video stream rather than a live static image.


ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

#1  

Justin,

I have a video of how this works with RoboRealm right now. It should be the same for you in that it shows how to setup the http custom server port, and then how RoboRealm is configured to catch the camera feed. I hope it helps you out.

#4  

Yes I agree, I do believe RoboRealm is taking snap shots to create a video effect. If you try the URL in IE it will fail because IE is a hateful creature. In Chrome, if everything is configured correctly and you apply the user id in the url like this : http://admin: @127.0.0.1:8010/CameraImage.jpg?c=Camera I got it to work, for a snap shot. Which is the minimum I needed.

I could have swore I read a blip somewhere in a release note a while back that DJ added a live video feature with the v4. Did I dream that?

#5  

Its feeding jpg images I believe and the images are then interpreted as video. try this, try to go to http://127.0.0.1:8010 from your browser. This is what is being passed. if you inspect the element in Chrome, you will see what is happening. There is a d=(NUMBER) value that is constantly changing. I am not the best with HTML 5 by any means, so I dont know, but I suspect that images are being written that are then being fed to the control in the webpage. The webpage is then displaying them quickly and loading the next.

I think this is how IP cameras work though. I haven't dug into it.

PRO
Synthiam
#6  

All video is individual snapshots:) hence frame which is a single image. The frame rate is the number of frames over a period of time - which is usually in seconds.

Video "streams" are many frames embedded I to a single stream. For example, a motion JPEG is called mjpeg and is many jpegs.

Perhaps your http server connection is not working because you are not connected to the network? Perhaps the ezb is in adhoc mode and your other computer can't see the pc.

Also, when you press start on the web server, check that there are no errors or warnings in the debug log. Perhaps your port 80 is already in use.

Thirdly, the url example is incorrect and misses the user authentication. The examole of url for video is in the http server. Please connect to the http server once you have repaired any errors and obtain the assistance you need to get the jpg

#7  

DJ, Thanks for responding. He is trying to figure out how to get the stream of images instead of just the single image that is displayed at that point in time. Do you know of a control in .Net that he can use to catch these?