-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartStream.sh
More file actions
executable file
·20 lines (15 loc) · 1.15 KB
/
startStream.sh
File metadata and controls
executable file
·20 lines (15 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
gst-launch-1.0 rpicamsrc bitrate=250000 rotation=270 annotation-mode=date+time\
! video/x-h264,width=480,height=640,framerate=30/1,profile=high\
! h264parse ! flvmux ! rtmpsink location='rtmp://localhost/live live=1'&
python3 /home/pi/SafeHome-Device/HeatMessenger/HeatMessenger.py 7 > /home/pi/SafeHome-Device/messengerLog.txt&
#| gst-launch-1.0 rpicamsrc bitrate=250000 rotation=0 annotation-mode=date+time\
# ! video/x-h264,width=480,height=640,framerate=30/1\
# ! h264parse ! flvmux ! rtmpsink location='rtmp://localhost/low live=1'\
#| gst-launch-1.0 rpicamsrc bitrate=250000 rotation=0 annotation-mode=date+time\
# ! video/x-h264,width=720,height=1280,framerate=30/1\
# ! h264parse ! flvmux ! rtmpsink location ='rtmp://localhost/mid live=1'\
#| gst-launch-1.0 rpicamsrc bitrate=250000 rotation=0 annotation-mode=date+time\
# ! video/x-h264,width=1080,height=1920,framerate=30/1\
# ! h264parse ! flvmux ! rtmpsink location ='rtmp://localhost/high live=1'
#gst-launch-1.0 rpicamsrc bitrate=250000 rotation=180 ! video/x-h264,width=640,height=360,framerate=15/1,profile=high ! h264parse ! flvmux ! rtmpsink location='rtmp://localhost/live live=1'