maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 as USB Webcam? (https://talk.maemo.org/showthread.php?t=63506)

GUYSTYLAZ 2010-10-07 21:31

N900 as USB Webcam?
 
Does anyone know if it's possible to use the N900 front camera as a usb webcam for Skype. I've had a quick look around but people are talking about wireless streaming which i want to avoid if possible (cos it's far to complicated for me)
Just want simple usb webcam mode?:confused:

jaimex2 2010-10-07 22:15

Re: N900 as USB Webcam?
 
Nothings been made like that yet I'm afraid. You could try the network based ones like livecast.

cesarcesar 2010-10-08 09:16

Re: N900 as USB Webcam?
 
interested in this too. looked it up a few months ago but nothing came up. ill keep a watch on this thread in hopes of good news.

karimko 2010-10-08 09:25

Re: N900 as USB Webcam?
 
Here's a strategy I tried to do but gave up on:

1. Stream cam's video over IP via gstreamer (many examples if you search)
2. On laptop create a "Virtual Camera" (a webcam identified by the laptop/pc) that captures this stream.
3. Use skype, gtalk etc... which would connect to your virtual camera and take the feed from there.

I was able to do the first, the second step is tricky...

Hope this helps.

Alex Atkin UK 2010-10-08 10:05

Re: N900 as USB Webcam?
 
Can you post some examples of gstreamer over IP as I have tried all the ones I could find from google and not had a lot of success with them.

danielz000 2010-10-08 12:27

Re: N900 as USB Webcam?
 
i managed to get the n900 to stream a selection of jpg images to my PC, and got the PC to interpret that as a webcam (using someone elses drivers).

I never got a chance to swap the list of jpgs for a gstreamer stream but it shouldn't be too difficult...

ChoMar 2010-10-08 13:22

Re: N900 as USB Webcam?
 
i remember that i once had coneted a v4l device via Network to a windows device directly as twain input. No gstreamer, the device it self was adressed.
As far as i remember it was tricky and i never got it to work perfect (packetdrop was fatal as far as i remember)

zimon 2010-10-08 13:39

Re: N900 as USB Webcam?
 
I am able to take videocall to sip:500@ekiga.net
It is an echo test, so your audio and video (from the front camera) is routed back to you.

Seems like videocalling is working, when *bad* proprietary (Skype) standards are not used.

kureyon 2010-10-08 16:28

Re: N900 as USB Webcam?
 
Quote:

Originally Posted by Alex Atkin UK (Post 836183)
Can you post some examples of gstreamer over IP as I have tried all the ones I could find from google and not had a lot of success with them.

http://blog.pclewis.com/2010/02/stre...camera-to-vlc/

works for me.

laasonen 2010-10-08 17:02

Re: N900 as USB Webcam?
 
Quote:

Originally Posted by Alex Atkin UK (Post 836183)
Can you post some examples of gstreamer over IP as I have tried all the ones I could find from google and not had a lot of success with them.

I have been using this:
Code:

#Server
gst-launch v4l2src device=/dev/video0 ! videoscale! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! jpegenc ! multipartmux ! tcpserversink host=10.0.0.240 port=5000
#Client
gst-launch tcpclientsrc host=10.0.0.240 port=5000 ! multipartdemux ! jpegdec ! autovideosink

Some distributions have gst-launch named gst-launch-0.10.

But to use it as web-camera, you need to create virtual v4l2-device from it afaik, but I couldn't manage to get it working:
Code:

$ gst-launch tcpclientsrc host=10.0.0.240 port=5000 ! multipartdemux ! jpegdec ! v4l2sink device=/dev/video0
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Cannot identify device '/dev/video0'.
Additional debug info:
v4l2_calls.c(488): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...
$



All times are GMT. The time now is 00:50.

vBulletin® Version 3.8.8