Commit Graph

5507 Commits (97bb130cd126bd39fe3005eb78d2e3f1e5d0f73d)

Author SHA1 Message Date
Isaac Connor b97c189941 Include algorithm. Trying to fix build on centos7 2023-08-08 12:58:49 -04:00
Isaac Connor a4c14eb890 Don't crash when not able to connect to monitor 2023-08-02 15:11:13 -04:00
Isaac Connor c510745317 Allow specifying width and height so that we can scale to alower res 2023-08-02 13:56:06 -04:00
Isaac Connor f39b3f0583 Reduce debug levels. Pass along Width and Height when instantiating Image from AVFrame so that it can scale to a lower res. 2023-08-02 13:56:06 -04:00
Isaac Connor 4f08ad59cc Remove redundant debugging of video frames including treating one as audio 2023-08-02 13:56:06 -04:00
Jonathan Bennett 5c9588c012 Adds RTSP2Web support for live view 2023-07-29 23:46:31 -05:00
Isaac Connor 9295c390ca re-parse Options into opts so that they are available to open_codec 2023-07-28 17:39:08 -04:00
Isaac Connor 4b20109b69 Use the same open semantics regardless of blocking or non so that we always have an fd to lock. Fixes logging of unable to lock jpeg in streaming with buffering 2023-07-25 16:35:28 -04:00
Isaac Connor c54a20ba70 Fix spacing, tag debug with ONVIF 2023-07-25 13:24:37 -04:00
Isaac Connor 4c697818eb
Merge pull request #3734 from sletteland/onvif_events
Onvif events
2023-07-25 12:27:47 -04:00
Isaac Connor 5a497a7d25 Add JANUS to logs relating to JANUS to ease debugging 2023-07-24 17:45:36 -04:00
Isaac Connor b360e092d4 Add AMCREST to logs relating to Amcrest ONVIF support to ease debugging 2023-07-24 17:45:36 -04:00
sletteland 8c754fb97d
Merge branch 'ZoneMinder:master' into onvif_events 2023-07-24 13:53:07 +02:00
Isaac Connor 01257d2ca1 Output debug the pixformat of the shm image 2023-07-21 15:09:51 -04:00
Isaac Connor 2e4db107a6 When doing detection on y-channel, use y-image when creating analsysis image, and scale the y-channel image to what is expected for monitor dimensions when dimensions don't match capture. 2023-07-21 15:09:32 -04:00
Isaac Connor b8c43c42d1 Change camera_width and height to signed... just so we don't have to cast when comparing to avframe->width and height 2023-07-21 15:08:35 -04:00
Isaac Connor a62b32f2e4 Include fifo name in debug 2023-07-21 14:10:46 -04:00
Isaac Connor 328f454248 Define and allocate, and assign image_pixelformats in shmem 2023-07-21 14:08:25 -04:00
Isaac Connor 33d9a974d5 white space 2023-07-19 12:38:32 -04:00
Isaac Connor f4d3b979f4 Implement automatic setting of redorder_queue_size in videostore by implementing has_out_of_order_packets and get_max_keyframe_interval in the monitor object. 2023-07-19 12:38:11 -04:00
Isaac Connor ef29805a4d Test for word auto in decodername and don't do lookup for it 2023-07-17 17:01:39 -04:00
Isaac Connor 6426ea882a Merge branch 'master' of github.com:ZoneMinder/zoneminder 2023-07-17 13:46:59 -04:00
Isaac Connor fa266c6578 Reread config files and reread db config when given HUP 2023-07-17 13:46:47 -04:00
Isaac Connor 761ce43796 Turn down debug on ondemand monitors 2023-07-15 10:29:27 -04:00
Isaac Connor 15d9ec32de Add advisory locking around image writing. So that someone can potentially wait for the image to be fully written to. Hopefully will resolve issues with zmes and incomplete images 2023-07-13 14:25:56 -04:00
Isaac Connor 3cefa4cde4 Add Latitude and Longitude to shmem and accessors to monitor 2023-07-09 12:02:33 -04:00
Isaac Connor 87fafa43a8 Add storing Latitude&Longitude in the event record. 2023-07-09 12:02:07 -04:00
root 92099de140 fixes bug with zmonvif event loop (c++) :
SOAP requests need to have a header containing "Action!	"To" and "UIID"
as per ONVIF specifications  (tested with Reolink rlc-831A) .
Also a Renew request has to be send periodically (per specifications) .
There were some issues with timing also ...
2023-07-02 10:46:29 +02:00
Isaac Connor 24eecfeddb Put back support for ffmpeg < 5 2023-06-27 15:16:00 -04:00
iconnor 38d0cf46fb Merge branch 'fix_ffmpeg5_deprecations' 2023-06-27 14:57:29 -04:00
iconnor 62789a83ab Implement more fixes for ffmpeg5 channel deprecations. 2023-06-27 13:20:19 -04:00
Isaac Connor 070b70c26b Handle ffmpeg5 channel deprecations 2023-06-19 10:57:13 -04:00
Isaac Connor 0a0293f34a Turn warning about mismatched dimensions into a debug 2023-06-12 10:17:11 -04:00
Isaac Connor 32ffee0a75 When waiting for capture, output text images saying so with a keepalive frequency 2023-06-12 09:22:16 -04:00
Isaac Connor 2b34fa67db Add jpeg writing from YUV subpixelformat 2023-06-09 16:42:33 -04:00
Isaac Connor f8ca7cee94 Cleanup constructor a bit 2023-06-08 10:58:08 -04:00
Isaac Connor 2a3b16076c Fix missing %s in format string 2023-06-07 10:02:50 -04:00
Isaac Connor d264985a36 Be more specific about which permission failed, providing a better log message 2023-06-07 09:54:58 -04:00
Isaac Connor ecd2049997 Fix == to - 2023-06-04 07:23:08 -04:00
Isaac Connor 4671949532 Fix inverted Delete logic 2023-06-04 07:18:58 -04:00
Isaac Connor 0ded374bc3 Don't RTSP re-stream deleted monitos 2023-05-31 16:42:16 -04:00
Isaac Connor f2009e4f38 Remove deprecated reference to MonitorIds from janus 2023-05-31 16:35:57 -04:00
Isaac Connor 88d0056b57 Add null test for Topic and a debug when we can't parse the gsoap message 2023-05-30 09:41:02 -04:00
Isaac Connor a7c8762c5e Don't exit on segfault, perhaps allowing graceful shutdown 2023-05-30 09:40:37 -04:00
Isaac Connor b16cc47586 Init Janus earlier, as we may get ONVIF triggered before it gets instantiated. Add some more debug to figure out crashing 2023-05-28 17:29:10 -04:00
Isaac Connor 38988ff5c0 Include result in error message 2023-05-25 14:09:28 -04:00
Isaac Connor 8676da6ead If monitor has been deleted, we won't be able to connect to it. Show an instructive jpeg and exit. 2023-05-10 13:06:09 -04:00
Isaac Connor 6a258dff22 Add Deleted() to Monitor object 2023-05-10 13:04:57 -04:00
Isaac Connor ecb541bd04 Fix the comparison 2023-05-08 10:26:29 -04:00
Isaac Connor 5b903d8f20 Add a detection for when keyframe interval backlog causes large time gap between first and second frames added to event. 2023-05-08 10:21:46 -04:00