View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#13
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.

Last edited by AapoRantalainen; 2009-03-22 at 17:56. Reason: minor tweak