mirror of https://github.com/OpenIPC/wiki.git
Update majestic-streamer.md
parent
8b96bb83fd
commit
944f4427cd
|
@ -46,13 +46,6 @@ activity and zone:
|
|||
/usr/share/openipc/motion_detect.sh [object count] [x coordinate] [y coordinate] [region width] [region height]
|
||||
```
|
||||
|
||||
To test the motion detection, create a simple script that echoes the parameters to the output:
|
||||
|
||||
```
|
||||
mkdir -p /usr/share/openipc
|
||||
echo -e "#!/bin/sh\n\necho [\$0] [\$1] [\$2] [\$3] [\$4] [\$5]\n" > /usr/share/openipc/motion_detect.sh
|
||||
```
|
||||
|
||||
Enable motion detection in `majestic` configuration:
|
||||
|
||||
```
|
||||
|
@ -76,12 +69,6 @@ You should see the script running after motion detection events:
|
|||
[/usr/share/openipc/motion_detect.sh] [1] [1163] [0] [690] [475]
|
||||
```
|
||||
|
||||
More info:
|
||||
- https://github.com/OpenIPC/majestic/issues/28
|
||||
- https://github.com/OpenIPC/majestic/issues/117
|
||||
|
||||
The experiments continue...
|
||||
|
||||
### Broadcasts using RTMP
|
||||
|
||||
To instantly launch a YouTube broadcast, run these commands in the console:
|
||||
|
|
Loading…
Reference in New Issue