Created
March 17, 2016 02:53
-
-
Save MetroWind/070f8e9b5e5004ced7be to your computer and use it in GitHub Desktop.
Raspberry Pi video streaming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| Width=1296 | |
| Height=972 | |
| Fps=15 | |
| Bitrate=2000 # In Kb/s | |
| BitrateRaw=$((${Bitrate} * 1024)) | |
| raspivid -t 0 -w ${Width} -h ${Height} -b ${BitrateRaw} -fps ${Fps} -ih -n -o - | \ | |
| cvlc stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment