Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Remote camera post and replies

Return to the Remote camera thread
Login to post to this thread

Augmented reality with remote cammera - May 15, 2013 at 12:19PM
Diego Racero
11 Posts

I'm working with the augmented reality module with directly connected cammera and everything went ok, but I just can't  figure out how to configure the remote module in order to place the cammera connected through wired LAN.
Could someone help me to find a solution?

Thanks in advance


Replies to Augmented reality with remote cammera

Re: Augmented reality with remote cammera - May 16 2013 8:05AM
Andres Mejias
1 Posts

Diego,

you need an IP camera and, in the remore AR system (from the View 3D palette in EJS) , you must define the camera URL. For example, I use an Axis IP camera, and a valid URL could be:

http://127.0.0.1:8083/axis-cgi/mjpg/video.cgi

(change it with your IP address and port if you have one)

The URL depends on camera model and brand. If you don't have an IP camera, you need an streaming server in order to use an USB or local camera as an IP camera. For example, videoLan (VLC) is a good choice. This option is more complicated, because you use a camera, a computer and the streaming server. With an IP camera, you just need to connect it to the wired LAN.

Regards

Andres Mejias



Re: Re: Augmented reality with remote cammera - May 18 2013 11:52AM
Diego Racero
11 Posts

Andres, thank you for your help.

I haven't got an IP cammera, I'm was trying to use VLC, but a founf a problem because I don't know what codec I may use in order to get the image displayed.

Have you got any adavice.

Thanks in advance.



Re: Re: Re: Augmented reality with remote cammera - May 29 2013 10:42AM
Diego Racero
11 Posts

Finally we've gotten  EJS working with VLC as stream server.
The protocol that you must choose is HTTP and the encapsulation MJPEG, avoid the audio codec to assure only video streaming.



The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics