Changes

Jump to: navigation, search

Telepresence

29 bytes removed, 19:13, 18 July 2013
== Video Streaming ==
/etc/rc.local:<pre>su pi -c "raspivid -t 86400000 -w 1080 -h 720 -fps 25 -b 256000 -n -o - | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:5000/}' :demux=h264" &su pi -c "gst-launch-1.0 rtspsrc location=rtsp://localhost:5000/ It works! rtph264depay ! h264parse ! omxh264dec ! autovideosink" &</pre>
Client not yet working on the Raspi..1.Install gstreamer with omx support
<pre>
omxplayer rtspecho "deb http://localhost:5000vontaene.de/raspbian-updates/ . main" | sudo tee /etc/apt/sources.list.d/gstreamer.listsudo apt-get updatesudo apt-get install libgstreamer1.0-0-dbg gstreamer1.0-tools libgstreamer-plugins-base1.0-0 gstreamer1.0-plugins-good gstreamer1.0-plugins-bad-dbg gstreamer1.0-omx gstreamer1.0-alsa
</pre>
However, this works quite well on a regular PC (video decoding done in software)2. Install other required packages:
<pre>
sudo apt-get install vlc rtsp://1.2.3.4:5000/
</pre>
=== Gstreamer client? ===3. Configure /etc/rc.local to launch processes during startup:
<pre>
echo su pi -c "deb httpwhile ://vontaene.de/raspbian; do raspivid -updates/ . main" | sudo tee /etc/apt/sources.list.d/gstreamer.listsudo aptt 86400000 -get updatesudo aptw 1080 -get install libgstreamer1.0h 720 -0fps 25 -dbg gstreamer1.0b 256000 -tools libgstreamern -pluginso -base1.0| cvlc -0 gstreamer1.0vvv stream:///dev/stdin -plugins-good gstreamer1.0sout '#rtp{sdp=rtsp://:1554/}' :demux=h264; sleep 60; done" &su pi -plugins-bad-dbg gstreamer1.0-omx gstreamer1.0-alsac "while :; do gst-launch-1.0 rtspsrc location=rtsp://localhostptl.telepresence.fixme.ch:50001554/ ! rtph264depay ! h264parse ! omxh264dec ! autovideosink; sleep 60; done" &
</pre>
 
PTL raspi must use rtsp://fixme.telepresence.fixme.ch:1554/ instead.
== CEC - TV Screen control through HDMI ==
512
edits