achingbrain / achingbrain/nodebotwars
Video
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Make video available from the Raspberry Pi's video camera over RTSP ([more details](http://www.mybigideas.co.uk/RPi/RPiCamera/)):
```
raspivid -o - -w 640 -h 480 -t 9999999 | vlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/}' :demux=h264
```
Then on the server, transcode RTSP to HLS so we can view it on a telephone (this is too heavy for the Pi):
```
vlc -v -I "dummy" rtsp://ROBOT_IP_ADDRESS:8554/ :sout="#std{access=livehttp{seglen=10,delsegs=true,numsegs=5, index=/var/www/streaming/stream.m3u8, index-url=http://SERVER_IP_ADDRESS/streaming/stream-########.ts}, mux=ts{use-key-frames}, dst=/var/www/streaming/stream-########.ts}" :demux=h264
```
Then, on a webpage, open the HLS video stream, draw it onto a canvas and apply graphics. Target acquisition, etc.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.