Notices


Reply
Thread Tools
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#21
Qik works fine for me and it's LIVE and you chat too.
 
Posts: 21 | Thanked: 14 times | Joined on Dec 2009 @ Turku, Finland
#22
This would be a nice app. I would probably be coding something like this at the moment if there was a way for me to develop with QT on my Win7-64bit system (and compile to the device...) But there isn't at the moment, and that makes me a sad boy

MADDE is promising, but i couldn't get it to work.

Qik is a nice app, but it lacks the camera settings, which makes it a non-optimal solution.
 
zehjotkah's Avatar
Posts: 2,361 | Thanked: 3,746 times | Joined on Dec 2007 @ Berlin - Love this city!!
#23
Now I got a little bit further.

The current idea is to use gstreamer on the n900, set up a server on it (to use it also online, not only in a local network) and on the pc-side use VLC to grab the stream.

You can talk to the camera of the N900 via gstreamer, by installing gstreamer-tools
Code:
root
apt-get install gstreamer-tools
and then
Code:
gst-launch v4l2src device=/dev/video1 ! autovideosink
for front facing camera
or
Code:
gst-launch v4l2src device=/dev/video0 ! autovideosink
for back camera.

For streaming I found this article: http://doit.juii.net/meta/englisch/588
so using VLC on the other end would be the best. No server needed for local network streaming...
Stay tuned, or jump in if you want to help to provide a easy-to-use solution to use the n900 as a webcam.

Last edited by zehjotkah; 2010-02-10 at 21:41.
 

The Following 2 Users Say Thank You to zehjotkah For This Useful Post:
nikrohr's Avatar
Posts: 63 | Thanked: 123 times | Joined on Oct 2009 @ Zürich
#24
how do i set up vlc? port & protocol?
 
Posts: 113 | Thanked: 22 times | Joined on Feb 2010 @ Venezuela
#25
this is gonna be great when done : ) love the idea of streaming from an online server, reminded me of american pie :P
 
m2cm2c's Avatar
Posts: 100 | Thanked: 240 times | Joined on Feb 2010 @ The South Pole O.o
#26
I got it to work by doing this:

on the phone
Code:
gst-launch v4l2src device=/dev/video1 ! videoscale ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! smokeenc ! udpsink host=192.168.1.255 port=1234

on my computer
Code:
gst-launch udpsrc port=1234 ! smokedec ! autovideosink
now with mencoder I think we'll be able to set that stream as a virtual video device on the desktop
 

The Following 2 Users Say Thank You to m2cm2c For This Useful Post:
zehjotkah's Avatar
Posts: 2,361 | Thanked: 3,746 times | Joined on Dec 2007 @ Berlin - Love this city!!
#27
Originally Posted by m2cm2c View Post
I got it to work by doing this:

on the phone
Code:
gst-launch v4l2src device=/dev/video1 ! videoscale ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! smokeenc ! udpsink host=192.168.1.255 port=1234

on my computer
Code:
gst-launch udpsrc port=1234 ! smokedec ! autovideosink
now with mencoder I think we'll be able to set that stream as a virtual video device on the desktop
you're tha man!!
it works really well in linux!
of course one have to replace the ip-address with the one of the own PC.
you can also change the resolution.
i've tried it with windows gstreamer but no luck so far. i would have packed it then in a nice .exe package (just a batch file)
thanks you again!
i think we can bring that to a nice multi operating system camera streaming thingi
 
Posts: 4 | Thanked: 9 times | Joined on Jan 2010 @ Buenos Aires, Argentina
#28
Hello every body.

I made to short scripts on bash in order to make the streaming easyer:

First on the N900 with root privileges

touch /usr/local/bin/stream-gst
chmod +x /usr/local/stream-gst
vi /usr/local/bin/stream-gst

and there write (remeber to press "i" to edit and when you finish press ESC and then "x:" + ENTER ):

Code:
#!/bin/sh

gst-launch v4l2src device=/dev/video$1 ! videoscale! video/x-raw-yuv,width=320,height=240,framerate=30/1 ! ffmpegcolorspace ! jpegenc ! tcpserversink host=$2 port=5000
After that run the script:

stream-gst 1 192.168.1.101

In this example you are transmiting from the /dev/video1 (Front Camera) to the computer 192.168.1.101
or
You can also steam from the back camera to all the computers on your network by:

stream-gst 0 192.168.1.255


Then on the PC (with linux and root privileges)

touch /usr/local/bin/get-gst
chmod +x /usr/local/get-gst
vi /usr/local/bin/get-gs

and there write (remeber to press "i" to edit and when you finish press ESC and then "x:" + ENTER ):

Code:
#!/bin/sh

gst-launch tcpclientsrc host=$1 port=5000 ! jpegdec ! autovideosink
And the runing the script specifiing the IP of your N900

get-gst 192.168.1.102

It also work on the other way and direction. To see the web cam on yor PC form your N900.

See you!

Patricio
Pd: Sorry for my english
 

The Following 3 Users Say Thank You to pgv1982 For This Useful Post:
zehjotkah's Avatar
Posts: 2,361 | Thanked: 3,746 times | Joined on Dec 2007 @ Berlin - Love this city!!
#29
Thanks!
I'm still trying to get it work for windows users.
On Linux it works great (used the previous posted way..)
 
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#30
When this starts working for windows I can see it being a big hit. I woudl donate for the work on this :-)
__________________
Christopher Stobbs

My Blog
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:39.