maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Maemo 5] Camera stream from N900 to PC? (N900 as webcam) (https://talk.maemo.org/showthread.php?t=31567)

hopla 2010-12-16 12:34

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Quote:

Originally Posted by zehjotkah (Post 897911)
I was able to stream via WiFi to my PC in Linux..
It's relatively easy..

Did you use gstreamer? Can you give us your exact commands?

Also: although I'm using Linux/Unix 99% of my time, I'm still interested to get it working on Windows for that other 1% :S

oleander 2010-12-16 17:50

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
When I want to use gstreamer I am going to get an error in the dataflow and when I want to use gstreamer AND VLC, it will give me no stream and some ugly errors.

Can you post your exact commands?

zehjotkah 2010-12-17 08:12

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
http://talk.maemo.org/showthread.php...136#post566136

You'll have to install gstreamer on your devices, of course...

hopla 2010-12-17 16:22

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Quote:

Originally Posted by zehjotkah (Post 898562)
http://talk.maemo.org/showthread.php...136#post566136

You'll have to install gstreamer on your devices, of course...

Dude, seriously, if that was the problem I wouldn't be posting here :D

beli 2011-01-02 11:01

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
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!

titi974 2011-01-02 11:17

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
it's nice man ! too bad it's only for linux... couldn't you do the same for windows ?? But thx man, it's great !

XenGi 2011-01-25 21:54

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
windows isn't so userfriendly so it will be a bit difficult to make a solution.
the linux way is perfect. thanks for this.

lolloo 2011-01-28 18:37

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
any way to do this on windows??

azkay 2011-02-02 13:16

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Any way to give it a higher birate through gstreamer or something?
Its got lots of pixelation.

Anyone got it working with ffdec_h264?
Everything I try on the n900 basically spits out: could not link videoscale/v4l2src/whatever to ffdec_h264

jaimex2 2011-02-02 13:33

Re: [Maemo 5] Camera stream from N900 to PC? (N900 as webcam)
 
Quote:

Originally Posted by lolloo (Post 930795)
any way to do this on windows??

I noted the windows program Putty has options for it, might be worth a try.


All times are GMT. The time now is 09:53.

vBulletin® Version 3.8.8