XBOX Live Vision Camera in Ubuntu

Xbox LIVE Vision Cam The Xbox live Vision camera. There’s a lot of these things floating around but just not enough good uses when connected to your Xbox 360. Up until recently (The release of Hardy Heron) It was fairly painstaking to get this working. But now you can have it up and streaming to the web in a couple minutes.

What you’ll need

  1. A Computer running Ubuntu (8.04 Hardy Heron)
  2. An Xbox LIVE Vision Cam
  3. A Free USB 2.0 port on your computer (IT HAS TO BE USB 2.0 a 1.1 port will not work)
  4. A Web browser (Preferably FireFox

Now that we have all the pieces lets get to work.

Lets cut right to the chase.
Plug your Xbox LIVE cam into the USB 2.0 port on your Ubuntu box.
Open a terminal window and type

sudo modprobe uvcvideo

press return.

You should be prompted for your password. If you don’t get any errors the command was successful.

You can double check this by typing

lsmod |grep uvcvideo

The output should look like this

uvcvideo               58116  1
compat_ioctl32          2304  1 uvcvideo
videodev               29312  2 uvcvideo
v4l1_compat            15492  2 uvcvideo,videodev
v4l2_common            18304  2 uvcvideo,videodev
usbcore               146028  4 uvcvideo,ehci_hcd,ohci_hcd

At this point Ubuntu knows how to use our Xbox LIVE Cam but we don’t have any software to pull the video out.

We’ll install a nice little peripheral app for UVCVideo that streams your camera live.

lets make a temporary folder to work in.

mkdir /home/username/uvcwork
cd /home/username/uvcwork

(Or download from the SourceForge project page (

dpkg -i ./mjpg-streamer_r64-1_i386.deb

That’s it the MJPG streamer is now installed.

Start it up with the following command

mjpg_streamer -i " -d /dev/video0 -f 15 -r 640x480" -o " -p 8080 -w ./"

If it works you should get the following back on the terminal and the green ring should light up on the camera

MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 15
 i: Format............: MJPEG
 o: www-folder-path...: ./
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled

Lets test it out. Go to the following address


Replace “your.ip.address” with the IP address or hostname of the computer you’ve plugged the camera into

If everything went well you should be seeing the view from your camera.

*NOTE: Sometimes mjpg_streamer refuses to start with an error. The following sequence of commands usually resolves it

sudo rmmod uvcvideo
sudo modprobe uvcvideo

In my next article we’ll be adding motion detection to this setup. Make sure and check back

Camera View

If you enjoyed this post, make sure you subscribe to my RSS feed!

Published by


I'm a self labeled Nerd who enjoys Playing Video Games, restoring classic muscle cars (i have a 65' Mustang in the works) , Running Big Data Clusters, Tattoos, Working on System Automation, Riding and customizing Motorcycles, and writing python Code. I'm an SRE with DemonWare/Activision Specializing in Big Data/Hadoop operations but all opinions and views expressed on this site are solely my own.