wiki:RemoteLiveVideoStreaming

Remote Live Video Streaming From LEGO Mindstorms NXT Robot's Perspective

Currently a combination of mplayer and VNC is used to remotely view a live video stream from the LEGO Mindstorms NXT robot's perspective. mplayer is used to locally display a live video feed on the Nokia n900's screen, which is then viewed remotely over the local Wifi network via VNC. This is neither an ideal nor efficient method, but has been demonstrated to work better over a local Wifi connection than a purely Internet-based solution such as Qik.

  • First launch the "x11vnc" application on the Nokia n900

]

  • Next connect to Nokia n900 using the VNC Viewer application from a computer such as a Windows PC.
  • Slide the camera lens cover open on the rear of the Nokia n900, then exit the "Camera" application which launches automatically, making sure to leave the lens cover open.
  • Launch a new "X Terminal" application or SSH into the Nokia n900
  • Run the following mplayer command: "mplayer -vo x11 -fs tv:// -tv driver=v4l2:device=/dev/video0" (note that changing "/dev/video0" to "/dev/video1" will switch to displaying the forward-facing camera, though its resolution is considerably lower and the image quality is comparably quite poor)

  • A live view from the LEGO Mindstorms NXT robot's perspective should now be visible in the VNC Viewer application.

Last modified 9 years ago Last modified on 06/08/10 10:05:33