View Single Post
  #2   Spotlight this post!  
Unread 04-01-2013, 18:10
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Axis Cam transport layer?

You can access a MJPG stream over HTTP. Basically the way this works is you handle a request for the stream URI, and immediately return the full jpeg including header. You then send a divider string (which you specify in the HTTP header as content type multipart/x-mixed-replace;boundary=<boundary-name>) and repeat the process with a new frame.

You can google around to find some Python+gstreamer implementations. Switching out the gstreamer backend for an OpenCV webcam source is relatively easy.

Last edited by Tom Bottiglieri : 04-01-2013 at 18:16.