feed-cam.sh 333 B

123456
  1. #!/bin/bash
  2. BITRATE=17000000 #17Mb/s is the default
  3. gst-launch-1.0 -qe rpicamsrc rotation=270 preview=0 bitrate=$BITRATE sensor-mode=4 do-timestamp=true !\
  4. video/x-h264, width=1280, height=720, framerate=25/1, profile=high !\
  5. h264parse ! matroskamux ! tcpserversink host=0.0.0.0 port=5000 sync-method=burst-keyframe