View Single Post
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#167
Originally Posted by beli View Post
Hi all,

I managed to use the N900 camera stream to my PC as a webcam (that you can use in other programs such as Skype) on Ubuntu Linux.

It is pretty easy to do using gstreamer, the scripts allready available here and v4l2loopback.

Here is how to do it:

First on your PC install v4l2loopback kernel module and the gstreamer plugin gst-v4l2loopback. These are available on the following links:
https://v4l2loopback.googlecode.com/hg/
https://github.com/umlaeute/gst-v4l2loopback

Good instructions how to compile and run it can be found here:
http://www.kudanai.com/2010/11/howto...webcam-in.html

Once you get this up and running, on your device execute the following code (same as allready posted here)

Code:
gst-launch v4l2src device=/dev/video0 ! videoscale ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! smokeenc ! udpsink host=192.168.1.255 port=1234
and then on your PC the following:
Code:
gst-launch udpsrc port=1234 ! smokedec ! ffmpegcolorspace ! v4l2loopback device=/dev/video0
You can use another /dev/videoX device if video0 is for example allready taken.

This will create a new videodevice that shows the N900 camera stream. Now in Skype you can select that video device and here you go!
I am wondering if this instructions tested on USB networking? Anybody?