| Prev |   1   2 |
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Use N800 webcam as a Linux Desktop webcam (https://talk.maemo.org/showthread.php?t=26288)

MrWeasel 2009-03-02 18:56

Re: Use N800 webcam as a Linux Desktop webcam
 
Quote:

Originally Posted by lntalm (Post 258275)
Known issues
  • ...
  • xawtv and amsn are known to work, cheese and skype not to work
    ...

It DOES work with Skype. You have to use gstfakevideo (which then starts up sykpe) with
Code:

gstfakevideo v4lsrc device=/dev/video0
Wireless webcam... nice =)

Pinatz 2009-03-17 16:37

Re: Use N800 webcam as a Linux Desktop webcam
 
heyhey =)
I have some questions ^^

"mplayer tv:// -fps 15 -tv device=/dev/video1:driver=v4l:input=1:width=320:height=240"
This does not work on the n810 right?

But the gstreamer
Code:

gst-launch-0.10 -v v4l2src ! 'video/x-raw-yuv,width=320,height=240,framerate=8/1' ! ffmpegcolorspace ! jpegenc ! tcpserversink host=192.168.1.101 port=5434
starts streaming the video signal ( the led lights red).
How can I catch the signal with VLC in windows?

I even tried this :
http://wiki.maemo.org/Streaming_vide...uilt-in_webcam
But I think its useless for the n810 ^^

AapoRantalainen 2009-03-22 17:48

Re: Use N800 webcam as a Linux Desktop webcam
 
I got http://wiki.maemo.org/Streaming_vide...uilt-in_webcam working with n810.
You need one script to Tablet and one file to your PC with vlc.
And in tablet there must be package gstreamer-tools installed.

Script to Tablet: (change proper ip-address)
Code:

#!/bin/sh

VPORT=5434
APORT=5432
HOST=PUT_YOUR_PCS_IP_ADDRESS_HERE
gst-launch-0.10 v4l2src ! \
video/x-raw-yuv,width=176,height=144,framerate=\(fraction\)15/1 ! \
hantro4200enc stream-type=1 profile-and-level=1001 ! \
video/x-h263,framerate=\(fraction\)15/1 ! rtph263ppay mtu=1438 ! \
udpsink host=$HOST port=$VPORT dsppcmsrc ! queue ! \
audio/x-raw-int,channels=1,rate=8000 ! mulawenc ! rtppcmupay mtu=1438 ! \
udpsink host=$HOST port=$APORT

File in PC: (call it as n810.sdp)
Code:

v=0
o=- 37 614155991 IN IP4 127.0.0.0
s=QuickTime
t=0 0
a=range:npt=now-
m=audio 5432 RTP/AVP 0
c=IN IP4 172.31.0.245
b=AS:63
m=video 5434 RTP/AVP 96
c=IN IP4 172.31.0.245
a=rtpmap:96 H263-2000/90000
a=fmtp:96
a=cliprect:0,0,144,176
a=framesize:96 176-144

Execute script in Tablet. It say something about pipelines.
In PC type vlc n810.sdp (or start vlc and File->Open->n810.sdp)

Only video, not audio.
You can use resolution up to width=640,height=480.

Pinatz 2009-03-22 20:51

Re: Use N800 webcam as a Linux Desktop webcam
 
Hey thank you for the fast answer.

May the sound be a problem of reading data from the wrong device?
Gstreamer is configured to stream sound I think -> "audio/x-raw-int,channels=1,rate=8000 ! mulawenc ! rtppcmupay mtu=1438 ! \"

arpia49 2009-10-01 14:35

Re: Use N800 webcam as a Linux Desktop webcam
 
Quote:

Originally Posted by AapoRantalainen (Post 273735)
Only video, not audio.

If you want audio working, try 127.0.0.0 in every IP listed in n810.sdp.

It's working for me under Diablo.

marce_245 2010-03-07 23:56

Re: Use N800 webcam as a Linux Desktop webcam
 
Sorry to revive an old thread but I'm kinda stuck. I'm trying to use my N800 as a webcam for my Windows PC. I managed to stream from the tablet's webcam to my pc (I used vlc to play the stream) but I don't know what to do next. How do I get the PC to recognize the N800 stream as a webcam?

Thanks in advance


| Prev |   1   2 |
All times are GMT. The time now is 23:33.

vBulletin® Version 3.8.8