Streaming video from N800

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sonntag, 19. August 2007 16:56 schrieb Jonathan Hudson:
> 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 (172.31.0.245), to a Linux box (172.31.0.244), the
>    following (slightly modified from n800_to_sl link),
>    as ~/bin/rtpstream.sh
>
> #!/bin/sh
>
> VPORT=5434
> APORT=5432
> HOST=${1:-172.31.0.244}
>
> 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
>
> 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
>
> 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.
>
> -jh
> _______________________________________________
> maemo-users mailing list
> maemo-users at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users

The instructions from 
<http://web.media.mit.edu/%7Elifton/snippets/n800_to_sl/> did not work for me 
either but yours work - Thanks!

Fabian

-- 
tarent Gesellschaft f?r Softwareentwicklung und IT-Beratung mbH

Heilsbachstr. 24, 53123 Bonn ? ?| Poststr. 4-5, 10178 Berlin
fon: +49(228) / 52675-0 ? ? ? ? | fon: +49(30) / 27594853
fax: +49(228) / 52675-25 ? ? ? ?| fax: +49(30) / 78709617
durchwahl: +49(228) / 52675-17 ?| mobil: +49(171) / 7673249

Gesch?ftsf?hrer:
Boris Esser, Elmar Geese, Thomas M?ller-Ackermann
HRB AG Bonn 5168
Ust-ID: DE122264941
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20070820/6cfb6ffc/attachment.pgp 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux