Commit Graph

  • 0dd39f80e8 Use passed in wxh instead of monitor wxh when initign codec. Fixes sacled images speed_ai Isaac Connor 2025-02-07 14:14:37 -0500
  • a81cb391d4 Add to_string to Image Isaac Connor 2025-02-07 14:14:18 -0500
  • 14984e9b22 I don't think we need to rescale send_image width and height, they are already scaled from prepare_image Isaac Connor 2025-02-07 14:14:07 -0500
  • 0b92e95b18 Split decode into receive_detections Isaac Connor 2025-02-07 14:13:20 -0500
  • df63252eac Apply same logic as decode to ai queing Isaac Connor 2025-02-07 14:13:07 -0500
  • 727d01d0e4 Improve debug, use swscale for factor scaling, by passing to wxh scaling Isaac Connor 2025-02-07 14:12:44 -0500
  • 5018e33617 Update codec opening to handle other codecs Isaac Connor 2025-02-07 09:37:46 -0500
  • 5c12ecf6d6 Store used source pixelformat because we may be converting, the codec may take something different Isaac Connor 2025-02-06 22:48:24 -0500
  • 32efa7f5a7 Remove debugging Isaac Connor 2025-02-06 22:47:56 -0500
  • b9e1e50f4d Comments and better debugging Isaac Connor 2025-02-06 22:47:46 -0500
  • 26ba228483 Remove buffer size test, as we will be swscaling Isaac Connor 2025-02-06 22:47:31 -0500
  • e921301f7b Fix up codec/swsscale for events Isaac Connor 2025-02-06 22:47:08 -0500
  • 4b6c788cc0 Implement receive_frame and get_hwframe Isaac Connor 2025-02-06 19:39:58 -0500
  • 673b90b623 Add code to tryto receive frames without sending packets if there are packets int eh queue Isaac Connor 2025-02-06 19:39:33 -0500
  • cde9d1bb15 spacing, add debug Isaac Connor 2025-02-06 19:39:10 -0500
  • 4ec73a331e comment out ni_quadra_jpeg_enc Isaac Connor 2025-02-06 19:38:47 -0500
  • ed37988bc9 Put back 1/25 frame rate as we don't have capture fps at the beginning. Remove packet->unlock as it is no longer necessary and crashes Isaac Connor 2025-02-06 19:38:33 -0500
  • f669e30e26
    Merge bc228b8240 into 6f176182bc IgorA100 2025-02-07 04:17:38 +0800
  • 5bfa22708b
    Merge 88227105b8 into 6f176182bc Steve Gilvarry 2025-02-07 04:15:11 +0800
  • 621b43cbf8 Add ObjectDetection() Isaac Connor 2025-02-06 14:44:53 -0500
  • b6491e07eb Choose which image to send, object, analysis, regular Isaac Connor 2025-02-06 14:44:43 -0500
  • 8456320349 Clean up debug Isaac Connor 2025-02-06 14:44:23 -0500
  • 39faf43553 Merge branch 'speed_ai' of github.com:ZoneMinder/zoneminder into speed_ai Isaac Connor 2025-02-06 11:57:47 -0500
  • c950fd2372 more debug Isaac Connor 2025-02-06 08:57:35 -0800
  • 0254e1d27c Add efines for YUVJ420P Isaac Connor 2025-02-06 08:57:20 -0800
  • 6d7a082474 Fix locking Isaac Connor 2025-02-06 08:57:08 -0800
  • 1910dbdedc Fix ai_frame getting populated Isaac Connor 2025-02-06 08:57:00 -0800
  • d74e1c79e1 Fix locking, work on fixing indexes and counts Isaac Connor 2025-02-06 08:56:47 -0800
  • 498ab0cbf2 Add YUVJ420 options, more debug, can't return early in scale as pixformat might change. Isaac Connor 2025-02-06 08:56:26 -0800
  • c1d0da7a65
    Merge 0159850a40 into 6f176182bc IgorA100 2025-02-06 08:08:51 -0500
  • c52d8036ae Merge branch 'speed_ai' of github.com:ZoneMinder/zoneminder into speed_ai Isaac Connor 2025-02-05 21:14:32 -0500
  • 7009c3fc24 Merg elines Isaac Connor 2025-02-05 21:14:29 -0500
  • b8289add22 Add debug when there is no lock Isaac Connor 2025-02-05 18:13:44 -0800
  • a550150348 Add debug regarding the ai and decoding queue size Isaac Connor 2025-02-05 18:12:25 -0800
  • 620aec2858 quadra jpeg enc likes YUVJ420P Isaac Connor 2025-02-05 18:12:00 -0800
  • 4813589107 Merge branch 'speed_ai' of github.com:ZoneMinder/zoneminder into speed_ai Isaac Connor 2025-02-05 15:44:46 -0800
  • 12dba4c86c Debug the ENV Isaac Connor 2025-02-05 15:24:43 -0800
  • 57b320eadf Fix && to & Isaac Connor 2025-02-05 15:23:47 -0800
  • bf9eedd594 Bump to C++20 Isaac Connor 2025-02-05 15:23:27 -0800
  • 642c872548 Add handling of c++20 Isaac Connor 2025-02-05 14:26:04 -0800
  • 7cccdaddbd switch to passing packets to detect Isaac Connor 2025-02-05 14:25:44 -0800
  • 01b06c0808 switch to passing packets to detect Isaac Connor 2025-02-05 14:25:34 -0800
  • ce02aa5c50 Add comment Isaac Connor 2025-02-05 17:24:57 -0500
  • 81b60d6615 Include actual codec name Isaac Connor 2025-02-05 17:24:44 -0500
  • fec88016c4 Change return of Decode and Analysis to int. Only sleep for <0 Isaac Connor 2025-02-05 17:24:22 -0500
  • e6c7c73afb FIxup new packetlocking, add queue to yolo Isaac Connor 2025-02-05 05:38:20 -0800
  • 6f176182bc Merge branch 'master' of github.com:ZoneMinder/zoneminder master Isaac Connor 2025-02-04 15:23:17 -0500
  • 69c3706f79
    Merge 6acbe4c5d0 into 2f03e051cd Zach Bloomquist 2025-02-04 06:21:14 +0000
  • 33f90616a9
    Merge a97dbc03c3 into 2f03e051cd sletteland 2025-02-04 06:14:39 +0000
  • e044f93d0c
    Merge 9daa54bb45 into 2f03e051cd VikingGer 2025-02-04 06:14:15 +0000
  • c6af47e77a Keep YUVJ420 Isaac Connor 2025-02-03 15:44:53 -0800
  • f480f79ca8 Always use YUV420 for send text frame Isaac Connor 2025-02-03 15:44:38 -0800
  • 51bee0623f Always us av_image_get_buffer_size to calculate buffer sizes Isaac Connor 2025-02-03 15:43:52 -0800
  • a6d5799f0a auadra jpeg needs YUVJ420P Isaac Connor 2025-02-03 15:43:33 -0800
  • 45ccc780a7 Fix crashes Isaac Connor 2025-02-03 15:11:50 -0800
  • c0f29c03ce Add RGB24 Isaac Connor 2025-02-03 13:15:55 -0800
  • 5007ec8398 Rework to move Decoder setup to MOnitor::Decode Isaac Connor 2025-02-03 13:15:46 -0800
  • bea288c648 Rework to not use zm_send_packet_receive_frame Isaac Connor 2025-02-03 13:15:12 -0800
  • 52e1c534fd Check for negative duration Isaac Connor 2025-02-03 11:58:45 -0800
  • 51855c646d join lines Isaac Connor 2025-02-03 11:58:32 -0800
  • 41a02d14ff Allow zm_packet to free hw_frame Isaac Connor 2025-02-03 11:58:25 -0800
  • 650049adf1 Check for invalid pixelformat Isaac Connor 2025-02-03 11:57:40 -0800
  • 53800a7184 Fixes to setting up analysis_images etc and using y-image when image is yuv420 Isaac Connor 2025-02-03 11:57:14 -0800
  • 02e12f302b Add YUVJ420P support Isaac Connor 2025-02-03 11:56:41 -0800
  • 71eee2a956 Put back mjpeg parameters Isaac Connor 2025-02-03 11:56:07 -0800
  • a6965de936 Increase NUM_NETWORK_FRAME Isaac Connor 2025-02-03 09:01:08 -0800
  • 8cd198173c Convert logging, at frame recycle on failure Isaac Connor 2025-02-03 09:00:54 -0800
  • b57581ce2f Remove opts mmleak Isaac Connor 2025-02-03 06:20:42 -0800
  • cfe788eed8 Always free the receive_frame not on error Isaac Connor 2025-02-03 05:10:00 -0800
  • 55e86c260e Free the ai result frame Isaac Connor 2025-02-03 04:58:05 -0800
  • 1033799cfc FIx analysis_image_buffer memleak and invalid mem read Isaac Connor 2025-02-03 04:57:47 -0800
  • 78d2abe1b7 Always show analysis fps Isaac Connor 2025-02-03 04:15:54 -0800
  • efff5b8eba Use analysos_image_count Isaac Connor 2025-02-03 04:15:35 -0800
  • 5a2b29cdfe Don't change pix format of immage buffers. Use analysis_image_count instead of motion_frame_count in analysis_fps. Refactor ai putting it into analysis and copying analysis frames to new analysis_image_buffers. Isaac Connor 2025-02-03 04:15:14 -0800
  • dfec546897 Make it not require untether Isaac Connor 2025-02-02 18:07:00 -0800
  • d282f6b426 TRy setting sw_pix_fmt Isaac Connor 2025-02-02 17:41:13 -0800
  • 7e3e9f3119 Add more debug Isaac Connor 2025-02-02 17:40:00 -0800
  • 3cbc87e59f Delete ai_image and fix getting ai_image Isaac Connor 2025-02-02 17:39:45 -0800
  • d43bc6a159 Add more debug, make annotations transparent Isaac Connor 2025-02-02 17:39:15 -0800
  • 867290e78a Handle pix format changes Isaac Connor 2025-02-02 17:38:44 -0800
  • a6f1f48536 Move object detection into analysis Isaac Connor 2025-02-02 17:38:28 -0800
  • 937db0aa49 Add more YUV420P stuff Isaac Connor 2025-02-02 17:37:48 -0800
  • 2770abdcf2 MOve stuff into zm_ffmpeg Isaac Connor 2025-02-02 17:37:07 -0800
  • 391d8bda45 Move more stuff into zm_ffmpeg from zm_videostore Isaac Connor 2025-02-02 17:36:50 -0800
  • a3ec4ebf23 Update Jpeg avcodec stuff to actually work Isaac Connor 2025-02-02 17:36:17 -0800
  • 17a05d431d Add last_analysis_index and analysis_image_count to shm Isaac Connor 2025-02-02 17:35:51 -0800
  • 361329de8d
    Merge 234b21d42f into 2f03e051cd IgorA100 2025-02-02 17:47:33 +0000
  • 234b21d42f
    Correctly stop RTSP2Web Type HLS when executing "MonitorStream.stop()" (MonitorStream.js) IgorA100 2025-02-02 20:47:31 +0300
  • 4eff84b80e
    Fix: URL parameters for RTSP2Web Type MSE (MonitorStream.js) IgorA100 2025-02-02 17:06:19 +0300
  • bd2e209d16
    Merge 32badf1b6c into 2f03e051cd IgorA100 2025-02-02 11:43:01 +0000
  • 32badf1b6c
    Fis space (MonitorStream.js) IgorA100 2025-02-02 14:42:59 +0300
  • b65fb1bbdb
    Fix space (MonitorStream.js) IgorA100 2025-02-02 14:37:28 +0300
  • 33ec46d941
    Fix Eslint (MonitorStream.js) IgorA100 2025-02-02 14:31:01 +0300
  • d38472597e
    The most correct transmission of RTSP stream with audio support (MonitorStream.js) IgorA100 2025-02-02 14:14:15 +0300
  • 4fd6b1789f If decoder gives EOF, then quit. Isaac Connor 2025-02-01 17:58:01 -0800
  • fe0025266a Make frame not a pointer but an RAII member Isaac Connor 2025-02-01 17:57:44 -0800
  • 94be067ee1 Add Error handling and debug Isaac Connor 2025-02-01 17:57:13 -0800
  • 7d66d2119d Try seeking to beginning of stream Isaac Connor 2025-02-01 17:56:57 -0800
  • eb99cca7a0 Disable avframes stuff and disable jpeg_ni_quandra_enc Isaac Connor 2025-02-01 17:56:24 -0800
  • 4e3e420dd6 Add error handling Isaac Connor 2025-02-01 17:55:54 -0800