2008-03-23, 10:04
Hi all,
This took me a few hours to work out, so I thought I would document it here for future searches.
This describes how to stream a webcam from your pc to xbmc.
1) Setup streaming on your PC
Using Windows Media Encoder, setup a stream from your camera. It is pretty straight forward to follow the wizard.
The streaming url will be something like
mms://192.168.1.3:9002
Test this by plugging the url into Windows Media Player or Internet Explorer.
You should see a video stream from your webcam.
2) Create a playlist file - webcam.pls
3) Ftp the playlist into your /UserData/playlists/Video folder
4) Now in XBMC, go to Videos, select Library Mode
5) Browse to Playlists and find your webcam playlist
6) Right click (white button), select Add to Favorites
7) Done, you can now view your webcam from xbmc!
This will of course work with external webcams etc (eg: surf cams) - you just have to edit the playlist file accordingly (see wikipedia).
HTH
This took me a few hours to work out, so I thought I would document it here for future searches.
This describes how to stream a webcam from your pc to xbmc.
1) Setup streaming on your PC
Using Windows Media Encoder, setup a stream from your camera. It is pretty straight forward to follow the wizard.
The streaming url will be something like
mms://192.168.1.3:9002
Test this by plugging the url into Windows Media Player or Internet Explorer.
You should see a video stream from your webcam.
2) Create a playlist file - webcam.pls
Code:
[playlist]
NumberOfEntries=1
File1=mms://192.168.1.3:9002
Title1=My WebCam
Length1=-1
Version=2
3) Ftp the playlist into your /UserData/playlists/Video folder
4) Now in XBMC, go to Videos, select Library Mode
5) Browse to Playlists and find your webcam playlist
6) Right click (white button), select Add to Favorites
7) Done, you can now view your webcam from xbmc!
This will of course work with external webcams etc (eg: surf cams) - you just have to edit the playlist file accordingly (see wikipedia).
HTH