I look forward to having Mission Planner be able to stream video from a network device.  Until that glorious day arrives, is there some Rube Goldberg way to have video from an IP camera show up in Mission Planner?

Views: 1607

Reply to This

Replies to This Discussion

let me know how it works, it try and pulls frames at the fastest speed posible, so the only limit will be network io.

I'll let you know as soon as I get it working.  I'm having trouble finding the address for the MJPEG stream on my camera.  I am open to any advice on how to determine this.

A couple things I've noticed so far:

1.  If you enter an invalid address, Mission Planner crashes.

2.  When using the default address (displaying the map), it will sometimes revert back to the artificial horizon on its own.

3.  If you enable the MJPEG stream and the video capture at the same time, the picture will flicker between the two.

I can't make this work for some reason.  I enter the JPEG stream address ( rtsp://192.168.1.56:554/12 ) in VLC and it works fine, but when I try it in Mission Planner it crashes.  When I was viewing in VLC it had about a 2 second lag, which is completely unacceptable.  Viewed in IE, lag is <0.1 second.  Am I doing something wrong?

idealy i need a sample of the video stream, to check it over. my first guess is that its not actualy a mjpeg stream.

Cody, worry about the delay, the issue is i implemented a http mjpeg stream, whereas you are uing a rtsp stream, so need to cater for that as well.

Cody can you try the this url
http://192.168.1.56/12 in the planner, vlc etc

it would be exactly the same for the internet.
check here as well.
http://vps.oborne.me/gcs/Mjpeg%20Video%20Source%20with%20VLC.htm

this allows you to proxy any video source into the mission planner.

Er, sorry, I was being really dumb above! I thought you had posted an example mjpg server. Glad to see the guide. Those steps are exactly what I followed, though, and I got the below error. I'll try again tonight though.

INFO ArdupilotMega.Utilities.CaptureMJPEG - System.IO.EndOfStreamException: Failed to read past end of stream.
  at System.IO.BinaryReader.ReadByte () [0x00000] in <filename unknown>:0
  at ArdupilotMega.Utilities.CaptureMJPEG.ReadLine (System.IO.BinaryReader br) [0x00000] in <filename unknown>:0
  at ArdupilotMega.Utilities.CaptureMJPEG.getUrl () [0x00000] in <filename unknown>:0

for seom reason either vlc stopped or the network connection was dropped.

Hi

Any progress on this project ?

Tommy

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service