Created
February 2, 2016 21:16
-
-
Save RouquinBlanc/c4924fa9bef5f10377e2 to your computer and use it in GitHub Desktop.
Streaming Sainsmart NoIR camera over RTSP on Raspberry Pi 2
This file contains 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
#!/bin/bash | |
# Run raspivid and pipe it to VLC | |
raspivid -o - -t 0 -vf -hf -w 640 -h 360 -fps 25 | cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/x}' :demux=h264 | |
# On the other side: rtsp://raspberrypi:8554/x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment