1 Convenience scripts
Benedikt Kristinsson edited this page 2020-04-25 11:09:48 +02:00

Stuff that doesnt fit in the repo

Stream video from raspi camera with vlc

Not super efficient but it works

#!/bin/sh
# re-stream raspivid with vlc
raspivid -o - -t 0 -w 1000 -h 576 -fps 20 -b 250000 | cvlc -vvv stream:///dev/stdin --sout '#rtp{access=udp,sdp=rtsp://:8554/}' :demux=h264
# stream directly with vlc and the v4l driver
#cvlc -vvv v4l2:///dev/video0 --v4l2-width 1000 --v4l2-height 576 --v4l2-chroma h264 --sout '#rtp{access=udp,sdp=rtsp://:8554/}' :demux=h264