Difference between revisions of "Telepresence"
From Fixme.ch
Line 14: | Line 14: | ||
* 2 Camera modules | * 2 Camera modules | ||
* Custom printed box | * Custom printed box | ||
+ | |||
+ | == Video Streaming == | ||
+ | |||
+ | /etc/rc.local: | ||
+ | <pre> | ||
+ | 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" & | ||
+ | </pre> | ||
+ | |||
+ | Client not yet working on the Raspi... | ||
+ | |||
+ | <pre> | ||
+ | omxplayer rtsp://localhost:5000 | ||
+ | </pre> | ||
+ | |||
+ | However, this works quite well on a regular PC (video decoding done in software): | ||
+ | |||
+ | <pre> | ||
+ | vlc rtsp://1.2.3.4:5000/ | ||
+ | </pre> | ||
== Participants == | == Participants == | ||
* [[User:Francois]] | * [[User:Francois]] |
Revision as of 16:51, 18 July 2013
Description
- (HD) Telepresence between FIXME and PTL
Obstacles
A list of potential obstacles
- The Raspberry Pi doesn't support high-rate webcam on its USB port
- Raspberry Pi camera module delivery time
- PTL outgoing bandwidth
Component
- 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/