Comments (9)
Please include your /etc/majestic.yaml
file without sensitive information
from majestic.
Hi @widgetii
Here is the conf :
system:
buffer: 1024
staticDir: /var/www/majestic
isp:
iqProfile: /etc/sensors/iq/f23.ini
image:
mirror: true
flip: true
rotate: none
contrast: 50
hue: 50
saturation: 50
luminance: 50
osd:
enabled: true
template: "cam11-void | %F %T %Z"
nightMode:
enabled: true
irCutPin1: 70
irCutPin2: 68
backlightPin: 54
dncDelay: 10
records:
enabled: false
path: /mnt/mmcblk0p1/%Y/%m/%d/%H/%M.mp4
maxUsage: 50
video0:
enabled: true
codec: h265
gopSize: 1
video1:
enabled: false
jpeg:
enabled: true
mjpeg:
size: 640x360
fps: 5
bitrate: 2048
audio:
enabled: false
volume: 70
srate: 8000
codec: pcm
outputEnabled: false
speakerPin: 55
speakerPinInvert: false
voiceEqualizer: common
rtsp:
enabled: true
port: 554
hls:
enabled: false
youtube:
enabled: false
motionDetect:
enabled: true
visualize: true
debug: true
skipIn: 0x0x960x1080
ipeye:
enabled: false
netip:
enabled: false
user: admin
password: 12345
port: 34567
snapshots: true
ignoreSetTime: false
onvif:
enabled: false
watchdog:
enabled: true
timeout: 30
from majestic.
It's not a valid YAML
from majestic.
I edit. There was formating error with github with leading spaces.
from majestic.
Checked your config on my camera, it works, in logs:
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@836 Motion detected in 21 regions, 992x370 -> [2584x1510]
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1232,388 80,80
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1400,564 272,114
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1456,1350 120,96
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 2168,428 168,178
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 2064,404 512,258
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1896,1374 200,120
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1856,582 728,242
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1704,548 64,106
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1632,564 200,114
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 2336,1430 248,80
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 2456,614 64,104
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1152,1462 104,48
21:11:20 <hi_motionDetect> [ mdetect] motion_detect_thread@830 1032,1252 320,154
Let's see yours
from majestic.
Hi, I ve made some tests again.
First I would says that ROI alone IS working. For example if I set to 1080x0x1920x1080 (my cam is 1920x1080), only right part of picture triggers the alarm.
But the EXCLUDE ROI does not work and that is the point here.
Example, if I understand correctly, putting 1080x0x1920x1080 to EXCLUDE ROI should ignore triggers in this zone, but it is not the case.
Sample logs :
May 14 00:39:31 openipc-hi3518ev300 user.info majestic[1054]: Motion detected in 1 regions, 1728x0 -> [1872x24]
May 14 00:39:31 openipc-hi3518ev300 user.info majestic[1054]: 1728,0 136,16
May 14 00:39:31 openipc-hi3518ev300 user.info majestic[1054]: Motion detected in 1 regions, 1728x0 -> [1864x16]
May 14 00:39:31 openipc-hi3518ev300 user.info majestic[1054]: 1728,0 136,8
May 14 00:39:31 openipc-hi3518ev300 user.info majestic[1054]: Motion detected in 1 regions, 1728x0 -> [1864x8]
May 14 00:39:41 openipc-hi3518ev300 user.info majestic[1054]: 1080,0 568,670
May 14 00:39:41 openipc-hi3518ev300 user.info majestic[1054]: Motion detected in 1 regions, 1080x0 -> [1648x670]
May 14 00:39:41 openipc-hi3518ev300 user.info majestic[1054]: 1080,0 568,630
May 14 00:39:41 openipc-hi3518ev300 user.info majestic[1054]: Motion detected in 1 regions, 1080x0 -> [1648x630]
Note that I do not have same logs as yours, I use "logread" command on my side.
And as always, I must reboot between each change of config which is not comfortable.
from majestic.
Region coordinates are set in format topX, topY, width, height. In your case 1080x0x1920x1080 looks like topX, topY, bottomX, bottomY coordinates, so it's out of image window size.
from majestic.
Hi @widgetii
Thanks for your precision.
Considering format topX, topY, width, height I changed my Region excluded to 960x0x960x1080 (I suppose to be the half right part), and I leave ROI empty.
But with this set, the cam triggers alarm no matter the real move region.
Some logs :
May 15 23:20:01 openipc-hi3518ev300 user.info majestic[1074]: Motion detected in 2 regions, 1040x400 -> [1592x834]
May 15 23:20:01 openipc-hi3518ev300 user.info majestic[1074]: 1040,400 8,434
May 15 23:20:01 openipc-hi3518ev300 user.info majestic[1074]: 1528,530 64,214
May 15 23:28:18 openipc-hi3518ev300 user.info majestic[1074]: Motion detected in 1 regions, 312x0 -> [336x514]
May 15 23:28:18 openipc-hi3518ev300 user.info majestic[1074]: 312,0 24,514
from majestic.
from majestic.
Related Issues (20)
- PQTools binary profile not working HOT 1
- Text format IQ profiles not working HOT 4
- UDP/TCP Socket leaks after majestic config reload HOT 1
- Video bitrate setting stuck to 4096 on first start, loaded correctly after reload config HOT 2
- Non-monotonic DTS in output stream
- Broken audio in NETIP/ONVIF with AAC codec
- Camera reboots by watchdog
- RTSP server fails to start HOT 2
- gk7205v300 + imx335 /usr/sbin/motion.sh not executed HOT 7
- Changing the Severity of logging don't take effect to sending JPEG. HOT 1
- Exposure no more work? HOT 2
- Segfault when streaming from h264 endpoint
- RTMP reconnection and timeout settings HOT 2
- Can you add sensor IMX335 to hi3516dv100
- RTSP client connection causes segmentation fault on XM530 HOT 7
- gk7205v300 + imx 355 - image issue "Autoadjust image param scAttrContrField"
- Why is the recorded video overwritten? HOT 1
- Incorrect audio codec settings break majestic (no web access to the application) HOT 2
- Sensor resoluiton detection error XM530 and OV9732
- Outgoing streams test for RTMP server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from majestic.