Commit Graph

5530 Commits

Author SHA1 Message Date
Isaac Connor
3346a67b94 set zmDbConnected to false before calling zmDbConnect 2023-09-25 17:17:38 -04:00
Isaac Connor
df8f725afa Auto reconnect when mysql is lost 2023-09-22 13:35:30 -04:00
Isaac Connor
a643ea4647 Remove cURL camera type 2023-09-21 12:50:36 -04:00
Isaac Connor
3b71944ad1 Fix ffmpeg 5 channels depcrecation 2023-09-21 12:26:12 -04:00
Isaac Connor
80979b0b25 Remove zm_curl_camera 2023-09-21 12:25:55 -04:00
Isaac Connor
2e10169cde Deprecate cURL monitor type 2023-09-21 12:08:27 -04:00
Charlie Root
1c3206b781 Merge branch 'master' into openbsd 2023-09-13 10:15:06 -07:00
Isaac Connor
7eb601ef4d Restore audio recording 2023-09-13 10:47:45 -04:00
Isaac Connor
22d911940f Remove deprecated reconnect setting for mysql 2023-09-12 15:10:34 -04:00
Charlie Root
da213d8532 Merge branch 'master' into openbsd 2023-09-11 13:42:43 -07:00
Isaac Connor
09081be010 Fix again the infinite loop in counting keyframes 2023-09-11 11:29:54 -04:00
David Schmidt
5bfa28d172 Use unique_ptr instread of local scope object pointer for second input 2023-09-09 18:51:54 +02:00
David Schmidt
320864d252 Implement get video and audio codec context 2023-09-09 18:51:36 +02:00
Isaac Connor
1f4ed44371 Fix infinite loop looking for keyframe interval 2023-09-08 14:16:31 -04:00
Isaac Connor
5953b88085 Count keyframes on queuePacket so that analysis Ready() will start when out of order packets are present 2023-08-23 11:41:54 -04:00
Isaac Connor
9beacfa392 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2023-08-14 12:57:02 -04:00
Isaac Connor
9034bdffee Add checking of keyframeinterval to Ready() 2023-08-14 12:56:48 -04:00
Alejandro Criado-Pérez
543683aa4c Corrections on cpp and h files 2023-08-13 01:27:19 +02:00
Isaac Connor
d21d53eeb9 Remove reorder_queue_size when re-parsing opts to avoid warnings 2023-08-12 14:50:30 -04:00
Isaac Connor
7122514a69 Add CURLOPT_SSL_VERIFYHOST an PEER so that SSL works.. not sure why SSL doesn't work. Add more debug and fix logic inversion on status result. 2023-08-11 17:48:34 -04:00
Isaac Connor
2576c5dfc5 Reset CaptureBandwidth to 0 on startup and after failed connection 2023-08-09 10:25:31 -04:00
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