Changes

Jump to: navigation, search

Telepresence

875 bytes added, 22:50, 15 November 2017
== Current issues ==
* The telepresence part dosen't work* OK Accelerated video decoding and display on the Raspi
* PTL outgoing bandwidth
* Build a wooden window-like frame with curtains
* gstreamer-omx crashes way too often!
* We're now using [https://www.linux-projects.org/uv4l/ uv4l] instead of gstreamer and it looks quite promising!
== Hardware ==
* 2 (4?) Raspberry PI
* 2 Camera modules
* Custom printed box
 
== Video streaming ==
 
== Archives ==
== Video Streaming ==
<pre>
echo 'standby 0' | /usr/local/bin/cec-client -s
</pre>
 
=== Server ===
 
<pre>
$ sudo raspivid -p 0,-100,500,500 -t 0 -o - -w 1280 -h 720 -fps 25 -b 1000000 | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:9000/}' :demux=h264
</pre>
 
Do do not forget to firewall access to the service!
 
=== Client ===
 
<pre>
$ omxplayer -o hdmi -s --live rtsp://1.2.3.4:9000/
</pre>
</pre>
== Automation with Puppet == The basic idea is to develop are shared puppet recipe hosted in a git repository to allow multiple raspi managed by different entities to all share the same verified configuration. This will hopefully provide insurance that the system really works point-to-point and that there's no way to spy in-between.
=== Setup from scratch ===
<pre>
$ whoamipi$ sudo apt-get install -y python-pip python-yaml python-paramiko python-jinja2 git-corepuppet$ pip install ansiblegit clone ssh://gitolite@git.fixme.ch:1337/telepresence # send your ssh public ssh to François$ sudo dpkg-reconfigure tzdata$ cat ~/etctelepresence/cronrun.d/ansibleshMAILTO=xxxx</pre>
=== Logs === All puppet run results are sent to a publicly accessible e-mail address. * */15 * * * root PATH=/usr/local/sbinhttp:/usr/localmailinator.com/bin:/usr/sbin:/usr/bin:/sbin:/bin /usr/local/bin/ansibleinbox.jsp?to=fixme-pull ptl-o -U sshtelepresence == Ideas == * http://gitolite@gitjamesharrison.fixmegithub.ch:1337io/telepresence -i /rootopenob/intro.ansible/pull/telepresence/hosts$html#architecture
</pre>
== Participants ==
* [[User:Francois]]
* [[User:Freestrom]]
* [[User:mic]]
512
edits