[maemo-users] Streaming video from N800

From: Jonathan Hudson jh+maemo at daria.co.uk
Date: Sun Aug 19 17:56:51 EEST 2007
On Planet Maemo today there was an article by Daniel Gentleman
(aka thoughtfix) about the lack of camera functionality on the N800,
together with a link
<http://web.media.mit.edu/%7Elifton/snippets/n800_to_sl/> to streaming
video off the N800, which, alas, didn't quite work for me.

But with a little experientation:

0) Install all the gstreamer stuff as per link;

1) On the platform (, to a Linux box (, the
   following (slightly modified from n800_to_sl link), 
   as ~/bin/rtpstream.sh



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

2) On the Linux box, the .sdp file from the n800_to_sl link, with host
   address, i.e. /tmp/n800.sdp

o=- 37 614155991 IN IP4
t=0 0
m=audio 5432 RTP/AVP 0
c=IN IP4
m=video 5434 RTP/AVP 96
c=IN IP4
a=rtpmap:96 H263-2000/90000
a=framesize:96 176-144

3) On the N800, pop out the camara and run:

$ ~/bin/rtpstream.sh # assume on PATH, +x etc.

4) On Linux box:

$ vlc /tmp/n800.sdp

5) Watch in amazement.

Can't wait for SIP compatible video from Rtcomm ... please. 


More information about the maemo-users mailing list