<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=64.81.57.106</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=64.81.57.106"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/64.81.57.106"/>
	<updated>2026-04-22T05:52:03Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Streaming_video_from_built-in_webcam&amp;diff=37890</id>
		<title>Streaming video from built-in webcam</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Streaming_video_from_built-in_webcam&amp;diff=37890"/>
		<updated>2008-09-28T22:51:58Z</updated>

		<summary type="html">&lt;p&gt;64.81.57.106: This should be cleaned up more as it is a useful thing to be able to do. I just tried it, and these instructions work on diablo (with no extra packages but gstreamer-tools from repository.maemo.org)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Midgard article}}&lt;br /&gt;
&lt;br /&gt;
It is possible to use the N800 camera as a source of streaming video. This was originally described [https://maemo.org/community/wiki/howtostreamvideo/ here], but the referenced example has an error which prevents it working.&lt;br /&gt;
&lt;br /&gt;
This note describes how to stream video from the platform to an RTP sink, for example the [https://maemo.org/community/wiki/howtostreamvideo/ vlc] media player.&lt;br /&gt;
&lt;br /&gt;
First, you must install the &#039;&#039;&#039;gstreamer-tools&#039;&#039;&#039; package from the diablo repo on repository.maemo.org.&lt;br /&gt;
&lt;br /&gt;
# On the N800, the following script will stream video from the camera. Here, 172.31.0.244 is the Linux box with VLC installed, and 172.31.0.245 is the N800. I call this script &amp;lt;tt&amp;gt;~/bin/rtpstream.sh&amp;lt;/tt&amp;gt;.&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;#!/bin/sh&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &lt;br /&gt;
&amp;lt;tt&amp;gt;VPORT=5434&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;APORT=5432&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;HOST=${1:-172.31.0.244}&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &lt;br /&gt;
&amp;lt;tt&amp;gt;gst-launch-0.10 v4l2src ! \&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;video/x-raw-yuv,width=176,height=144,framerate=\(fraction\)15/1 ! \&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;hantro4200enc stream-type=1 profile-and-level=1001 ! \&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;video/x-h263,framerate=\(fraction\)15/1 ! rtph263ppay mtu=1438 ! \&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;udpsink host=$HOST port=$VPORT dsppcmsrc ! queue ! \&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;audio/x-raw-int,channels=1,rate=8000 ! mulawenc ! rtppcmupay mtu=1438 ! \&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;      udpsink host=$HOST port=$APORT&lt;br /&gt;
# On the Linux box, the sample .sdp file from [http://web.media.mit.edu/%7Elifton/snippets/n800_to_sl/ the original article], with the address of our VLC player, saved as a file i.e. &amp;lt;tt&amp;gt;/tmp/n800.sdp&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;v=0&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;o=- 37 614155991 IN IP4 127.0.0.0&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;s=QuickTime&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;t=0 0&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;a=range:npt=now-&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;m=audio 5432 RTP/AVP 0&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;c=IN IP4 172.31.0.245&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;b=AS:63&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;m=video 5434 RTP/AVP 96&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;c=IN IP4 172.31.0.245&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;a=rtpmap:96 H263-2000/90000&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;a=fmtp:96 &amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;tt&amp;gt;a=cliprect:0,0,144,176&amp;lt;/tt&amp;gt;&amp;lt;br/&amp;gt;  a=framesize:96 176-144&lt;br /&gt;
# On the N800, pop out the camera and run:&amp;lt;br/&amp;gt;  $ ~/bin/rtpstream.sh # assume on PATH, +x etc.&lt;br /&gt;
# On Linux box (note VLC runs on other platforms as well):&amp;lt;br/&amp;gt;  $ vlc /tmp/n800.sdp&lt;br /&gt;
# Enjoy streaming video (and sound) from the N800.&lt;br /&gt;
&lt;br /&gt;
Thanks to [http://web.media.mit.edu/%7Elifton/snippets/n800_to_sl/ Josh Lifton] for the original leg wor&lt;br /&gt;
&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
[[Category:Midgard wiki]]&lt;/div&gt;</summary>
		<author><name>64.81.57.106</name></author>
	</entry>
</feed>