Difference between revisions of "Telepresence"
From Fixme.ch
								
												
				 (→CEC - TV Screen control through HDMI)  | 
				 (→CEC - TV Screen control through HDMI)  | 
				||
| Line 43: | Line 43: | ||
$ ./configure --with-rpi-include-path=/opt/vc/include --with-rpi-lib-path=/opt/vc/lib --enable-rpi  | $ ./configure --with-rpi-include-path=/opt/vc/include --with-rpi-lib-path=/opt/vc/lib --enable-rpi  | ||
$ make  | $ make  | ||
| + | $ sudo make install  | ||
| + | </pre>  | ||
| + | |||
| + | Switch the TV screen on:  | ||
| + | |||
| + | <pre>  | ||
| + | $ echo 'on 0' | /usr/local/bin/cec-client -s  | ||
| + | </pre>  | ||
| + | |||
| + | Switch the TV screen off:  | ||
| + | |||
| + | <pre>  | ||
| + | $ echo 'standby 0' | /usr/local/bin/cec-client -s  | ||
</pre>  | </pre>  | ||
Revision as of 18:13, 18 July 2013
Contents
Description
- (HD) Telepresence between FIXME and PTL
 
Current issues
- Accelerated video decoding and display on the Raspi
 - PTL outgoing bandwidth
 - Build a wooden window-like frame with curtains
 
Hardware
- 2 (4?) Raspberry PI
 - 2 Camera modules
 - Custom printed box
 
Video Streaming
/etc/rc.local:
su pi -c "raspivid -t 86400000 -w 1080 -h 720 -fps 30 -b 256000 -n -o - | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:5000/}' :demux=h264" &
Client not yet working on the Raspi...
omxplayer rtsp://localhost:5000
However, this works quite well on a regular PC (video decoding done in software):
vlc rtsp://1.2.3.4:5000/
CEC - TV Screen control through HDMI
Reference: http://raspberrypi.stackexchange.com/questions/7054/cec-wake-up-command
$ git clone git://github.com/Pulse-Eight/libcec.git $ git cd libcec $ ./configure --with-rpi-include-path=/opt/vc/include --with-rpi-lib-path=/opt/vc/lib --enable-rpi $ make $ sudo make install
Switch the TV screen on:
$ echo 'on 0' | /usr/local/bin/cec-client -s
Switch the TV screen off:
$ echo 'standby 0' | /usr/local/bin/cec-client -s