HSV CANCELLED - Video Analysis short motion period seems to prevent recordings

Describe the bug
Recording is not working for one of my cameras. the 2 others works perfectly (different models and brand).
Streaming and prebuffering work perfectly, I'm try to rely on the Videoanalysis to provide motion.
It seems like the motion lasts for 9 seconds and than it closes the recording and logs does not show anything unusual.
To Reproduce
Triggering any motion - walking in the room
Expected behavior
I think HSV is expecting longer motion periods and longer recordings. so maybe 9 seconds is not enough.
I tried playing with the UI to increase sensitivity and actually tried all settings of the Videoanalysis and motionTimeout but with no success of extending those 9 seconds (see logs)
Logs
[25.1.2022, 0:17:34] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":83.41102600097656,"sensitivity":18,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Kids Room Camera
[25.1.2022, 0:17:34] [CameraUI] Kids Room Camera: Motion ON
[25.1.2022, 0:17:43] [CameraUI] Kids Room Camera: Closing recording process
[25.1.2022, 0:17:43] [CameraUI] Kids Room Camera: Motion OFF
[25.1.2022, 0:17:43] [CameraUI] Kids Room Camera: The recording process was aborted by HSV with reason "CANCELLED"

Camera Config:
{
      "name": "Kids Room Camera",
      "manufacturer": "Provision ISR",
      "model": "KDS",
      "serialNumber": "123123321",
      "motion": true,
      "motionTimeout": 15,
      "unbridge": true,
      "hsv": true,
      "prebuffering": true,
      "prebufferLength": 4,
      "videoConfig": {
        "source": "-rtsp_transport tcp -i rtsp://xxx:xxx@10.0.0.x:10554/tcp/av0_0",
        "subSource": "-rtsp_transport tcp -i rtsp://xxx:xxx@10.0.0.x:10554/tcp/av0_0",
        "stillImageSource": "-i rtsp://xxx:xxx@10.0.0.x:10554/tcp/av0_0",
        "maxStreams": 2,
        "maxFPS": 30,
        "vcodec": "copy",
        "acodec": "libfdk_aac",
        "audio": true,
        "readRate": false,
        "maxWidth": 1920,
        "maxHeight": 1080,
        "debug": true,
        "encoderOptions": "-preset ultrafast -tune zerolatency"
      },
      "videoanalysis": {
        "active": true
      },
      "mqtt": {},
      "smtp": {}
    }

Environment

Node.js Version: v16.13.2
Homebridge Version: v1.4.0
Camera UI Version: v5.0.15-beta.0 (but of course stable versions first)
Operating System: Windows
Browser: Chrome

Hey @nitaybz
HSV seems to cancel the video because it doesn't like the data.
I assume the camera has a PCM audio format and ffmpeg starts delayed audio processing
You need to either disable audio on the camera or set vcodec to "libx264".

Hey @seydx , thanks for the quick reply.
indeed disabling audio solves the recording issue, unfortunately (for me), setting vcodec to "libx264" does not achieve the same result, any suggestion here on how to still record and stream with audio?
This is the logs:
[25.1.2022, 9:37:24] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":77.01605987548828,"sensitivity":24,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Kids Room Camera
[25.1.2022, 9:37:24] [CameraUI] Kids Room Camera: Motion ON
[25.1.2022, 9:37:31] [CameraUI] Kids Room Camera: Closing recording process
[25.1.2022, 9:37:31] [CameraUI] Kids Room Camera: Motion OFF
[25.1.2022, 9:37:31] [CameraUI] Kids Room Camera: The recording process was aborted by HSV with reason "UNEXPECTED_FAILURE"

Also I've noticed that the visualanalysis is not saving the configuration between restarts (when changed from camera.ui)

Hey @seydx , thanks for the quick reply. indeed disabling audio solves the recording issue, unfortunately (for me), setting vcodec to "libx264" does not achieve the same result, any suggestion here on how to still record and stream with audio?
This is the logs:
[25.1.2022, 9:37:24] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":77.01605987548828,"sensitivity":24,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Kids Room Camera
[25.1.2022, 9:37:24] [CameraUI] Kids Room Camera: Motion ON
[25.1.2022, 9:37:31] [CameraUI] Kids Room Camera: Closing recording process
[25.1.2022, 9:37:31] [CameraUI] Kids Room Camera: Motion OFF
[25.1.2022, 9:37:31] [CameraUI] Kids Room Camera: The recording process was aborted by HSV with reason "UNEXPECTED_FAILURE"

Hmm, "UNEXPECTED_FAILURE" comes with vcodec = libx264 ? Can you post me a screenshot of the camera's own settings please? (Resolution, FPS, Bitrate etc)

Also I've noticed that the visualanalysis is not saving the configuration between restarts (when changed from camera.ui)

Oh ok let me double check, thx for reporting

Also I've noticed that the visualanalysis is not saving the configuration between restarts (when changed from camera.ui)

Hm I could not reproduce this, for me it is saved normally. Could you check this again please.
So set videoanalysis via the interface, restart camera.ui and then check again in the interface if the data was taken over.

Camera specs:

Regarding videoalaysis, I tried that of course, can it be because it's installed on Windows?
Anyway, I'm moving installation to ubuntu so I'll report back

Camera specs:
Regarding videoalaysis, I tried that of course, can it be because it's installed on Windows? Anyway, I'm moving installation to ubuntu so I'll report back

Hm it should not matter which OS is used. Also on Windows it should save normally, hmm
Can you change the camera's own settings via the camera app or something?

nope, it's a dumb camera but the stream is ok :)

nope, it's a dumb camera but the stream is ok :)

ah ok i understand ^^
Can you install the latest beta version (v5.0.15-beta.1) and try again with vcodec = libx264 please

the logs you see are from the latest... updated this morning v5.0.15-beta.1

Can you enable "debug" here: https://github.com/seydx/homebridge-camera-ui/blob/3b3ef1dd0355f39244fd41268a8e850fef3f50db/example-config.json#L15
and here: https://github.com/seydx/homebridge-camera-ui/blob/3b3ef1dd0355f39244fd41268a8e850fef3f50db/example-config.json#L82
Restart HB and please trigger a movement (with audio enabled and vcodec = libx264) and post the whole log

[25.1.2022, 10:36:19] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":71.81727600097656,"sensitivity":29,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Kids Room Camera
[25.1.2022, 10:36:19] [CameraUI] Kids Room Camera: {"error":false,"message":"Handling through extern controller.."}
[25.1.2022, 10:36:19] [CameraUI] Kids Room Camera: Motion ON
[25.1.2022, 10:36:19] [CameraUI] Kids Room Camera: Video fragments requested from HSV
[25.1.2022, 10:36:19] [CameraUI] Kids Room Camera: Setting prebuffer stream as input
[25.1.2022, 10:36:19] [CameraUI] Kids Room Camera: Prebuffer requested with a duration of -4s
[25.1.2022, 10:36:19] [CameraUI] Kids Room Camera: Start recording...
[25.1.2022, 10:36:19] [CameraUI] Kids Room Camera: Recording command: C:\Users\nitay\AppData\Roaming\npm\node_modules\homebridge-camera-ui\node_modules\ffmpeg-for-homebridge\ffmpeg.exe -hide_banner -analyzeduration 0 -probesize 511459 -f mp4 -i tcp://<IP_ADDRESS>:38982 -f mp4 -sn -dn -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level:v 3.1 -b:v 2000k -r 30 -vf scale=w=1920:h=1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2 -force_key_frames expr:gte(t,n_forced*4) -bsf:a aac_adtstoasc -acodec libfdk_aac -profile:a aac_low -ar 32k -b:a 64k -ac 1 -movflags frag_keyframe+empty_moov+default_base_moof -max_muxing_queue_size 1024 tcp://<IP_ADDRESS>:23108
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tcp://<IP_ADDRESS>:38982':
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:   Metadata:
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     minor_version   : 512
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     encoder         : Lavf58.38.101
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: Recording started
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:   Duration: 00:07:05.33, start: 415.333333, bitrate: N/A
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 5 kb/s, 7.50 fps, 7.50 tbr, 15360 tbn, 15 tbc (default)
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     Metadata:
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 1 kb/s (default)
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:     Metadata:
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: Stream mapping:
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera:   Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: Press [q] to stop, [?] for help
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: [swscaler @<PHONE_NUMBER>80d280] deprecated pixel format used, make sure you did set range correctly
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: [libx264 @<PHONE_NUMBER>88be40] frame MB size (120x68) > level limit (3600)
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: [libx264 @<PHONE_NUMBER>88be40] MB rate (244800) > level limit (108000)
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 60s..
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":84.21137237548828,"sensitivity":17,"dwell":60,"forceClose":3}]}
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: [libx264 @<PHONE_NUMBER>88be40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: [libx264 @<PHONE_NUMBER>88be40] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: [libx264 @<PHONE_NUMBER>88be40] 264 - core 159 r2991M 1771b55 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 60s..
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":46.08810806274414,"sensitivity":55,"dwell":60,"forceClose":3}]}
[25.1.2022, 10:36:20] [CameraUI] Kids Room Camera: frame=   61 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=45 drop=0 speed=N/A
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: frame=   97 fps= 93 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=72 drop=0 speed=N/A
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 60s..
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":49.78559112548828,"sensitivity":51,"dwell":60,"forceClose":3}]}
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 60s..
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":83.3203125,"sensitivity":18,"dwell":60,"forceClose":3}]}
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: frame=  129 fps= 82 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=96 drop=0 speed=N/A
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 60s..
[25.1.2022, 10:36:21] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":81.54080200195312,"sensitivity":19,"dwell":60,"forceClose":3}]}
[25.1.2022, 10:36:22] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 60s..
[25.1.2022, 10:36:22] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":60.39019012451172,"sensitivity":41,"dwell":60,"forceClose":3}]}
[25.1.2022, 10:36:22] [CameraUI] Kids Room Camera: frame=  161 fps= 76 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=120 drop=0 speed=N/A
[25.1.2022, 10:36:22] [CameraUI] Kids Room Camera: frame=  189 fps= 72 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=141 drop=0 speed=N/A
[25.1.2022, 10:36:23] [CameraUI] Kids Room Camera: frame=  229 fps= 72 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=171 drop=0 speed=N/A
[25.1.2022, 10:36:23] [CameraUI] Kids Room Camera: frame=  261 fps= 71 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=195 drop=0 speed=N/A
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera: Output #0, mp4, to 'tcp://<IP_ADDRESS>:23108':
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:   Metadata:
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     minor_version   : 512
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     encoder         : Lavf58.38.101
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=-1--1, 2000 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     Metadata:
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:       encoder         : Lavc58.70.100 libx264
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     Side data:
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:       cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 0 vbv_delay: N/A
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (libfdk_aac) (LC) (mp4a / 0x6134706D), 32000 Hz, mono, s16, 64 kb/s (default)
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:     Metadata:
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera:       encoder         : Lavc58.70.100 libfdk_aac
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera: frame=  289 fps= 69 q=26.0 size=       1kB time=00:00:08.03 bitrate=   1.3kbits/s dup=216 drop=0 speed=1.91x
[25.1.2022, 10:36:24] [CameraUI] Kids Room Camera: frame=  321 fps= 68 q=24.0 size=       1kB time=00:00:09.10 bitrate=   1.1kbits/s dup=240 drop=0 speed=1.92x
[25.1.2022, 10:36:25] [CameraUI] Living Room Camera: Motion OFF - Motion handler timeout.
[25.1.2022, 10:36:25] [CameraUI] Kids Room Camera: frame=  353 fps= 67 q=25.0 size=       1kB time=00:00:10.16 bitrate=   1.0kbits/s dup=264 drop=0 speed=1.92x
[25.1.2022, 10:36:25] [CameraUI] Kids Room Camera: frame=  389 fps= 67 q=24.0 size=       1kB time=00:00:11.36 bitrate=   0.9kbits/s dup=291 drop=0 speed=1.95x
[25.1.2022, 10:36:26] [CameraUI] Kids Room Camera: frame=  421 fps= 66 q=25.0 size=       1kB time=00:00:12.43 bitrate=   0.8kbits/s dup=315 drop=0 speed=1.95x
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: Recording completed (HSV)
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: New custom alert
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: Notifications not enabled, skip Webhook..
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: Notifications not enabled, skip Alexa..
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: Recording not enabled, skip recording..
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: Recording skipped. Notification skipped.
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: frame=  457 fps= 66 q=25.0 size=       1kB time=00:00:13.63 bitrate=   0.7kbits/s dup=342 drop=0 speed=1.98x
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: Closing recording process
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: Prebuffer request ended
[25.1.2022, 10:36:27] [CameraUI] Living Room Camera: FFmpeg recording process exited (expected)
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: Closing recording process
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: Resetting motion sensor, because HSV closed the recording process
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: Motion OFF
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: Prebuffer request ended
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: FFMPEG socket closed during read for 8 bytes!
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: The recording process was aborted by HSV with reason "UNEXPECTED_FAILURE"
[25.1.2022, 10:36:27] [CameraUI] Kids Room Camera: FFmpeg recording process exited (expected)

@nitaybz
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 5 kb/s, 7.50 fps, 7.50 tbr, 15360 tbn, 15 tbc (default)
Is it possible to select another source with possibly smaller resolution and more fps just to test it?

Found another stream, lower quality. it works!
I'll settle on it :) thanks
[25/01/2022, 12:29:34] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":64.87326049804688,"sensitivity":36,"dwell":15,"forceClose":3}] - Motion: detected - Camera: Kids Room Camera
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: {"error":false,"message":"Handling through extern controller.."}
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Motion ON
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Video fragments requested from HSV
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Setting prebuffer stream as input
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Prebuffer requested with a duration of -4s
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Start recording...
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Recording command: /usr/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -analyzeduration 0 -probesize 500000 -f mp4 -i tcp://<IP_ADDRESS>:13606 -f mp4 -sn -dn -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level:v 3.1 -b:v 2000k -r 30 -vf scale=w=1920:h=1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2 -force_key_frames expr:gte(t,n_forced*4) -bsf:a aac_adtstoasc -acodec libfdk_aac -profile:a aac_low -ar 32k -b:a 64k -ac 1 -movflags frag_keyframe+empty_moov+default_base_moof -max_muxing_queue_size 1024 tcp://<IP_ADDRESS>:19506
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tcp://<IP_ADDRESS>:13606':
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:   Metadata:
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     minor_version   : 512
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     encoder         : Lavf58.45.100
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:   Duration: 00:00:03.55, start: 0.000000, bitrate: N/A
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 640x360, 150 kb/s, 6.35 fps, 7.50 tbr, 15360 tbn, 15 tbc (default)
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 50 kb/s (default)
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Recording started
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Stream mapping:
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera:   Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: Press [q] to stop, [?] for help
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: [swscaler @ 0x556caddd9200] deprecated pixel format used, make sure you did set range correctly
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: [libx264 @ 0x556cadbfcfc0] frame MB size (120x68) > level limit (3600)
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: [libx264 @ 0x556cadbfcfc0] MB rate (244800) > level limit (108000)
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: [libx264 @ 0x556cadbfcfc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: [libx264 @ 0x556cadbfcfc0] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[25/01/2022, 12:29:34] [CameraUI] Kids Room Camera: [libx264 @ 0x556cadbfcfc0] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":91.36805725097656,"sensitivity":10,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: frame=   73 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s dup=58 drop=0 speed=N/A
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: Output #0, mp4, to 'tcp://<IP_ADDRESS>:19506':
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:   Metadata:
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     minor_version   : 512
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     encoder         : Lavf58.45.100
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=-1--1, 2000 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:       encoder         : Lavc58.91.100 libx264
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     Side data:
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:       cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 0 vbv_delay: N/A
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (libfdk_aac) (LC) (mp4a / 0x6134706D), 32000 Hz, mono, s16, 64 kb/s (default)
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera:       encoder         : Lavc58.91.100 libfdk_aac
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x556cadc2d1c0] Queue input is backward in time
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: [mp4 @ 0x556cadc06400] Non-monotonous DTS in output stream 0:1; previous: 15360, current: 12292; changing to 15361. This may result in incorrect timestamps in the output file.
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: [mp4 @ 0x556cadc06400] Non-monotonous DTS in output stream 0:1; previous: 15361, current: 13316; changing to 15362. This may result in incorrect timestamps in the output file.
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x556cadc2d1c0] Queue input is backward in time
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: [mp4 @ 0x556cadc06400] Non-monotonous DTS in output stream 0:1; previous: 15362, current: 14340; changing to 15363. This may result in incorrect timestamps in the output file.
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: [mp4 @ 0x556cadc06400] Non-monotonous DTS in output stream 0:1; previous: 15364, current: 15360; changing to 15365. This may result in incorrect timestamps in the output file.
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:35] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":67.30078125,"sensitivity":34,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:36] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:36] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":32.04600524902344,"sensitivity":69,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:37] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:37] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":87.76996612548828,"sensitivity":13,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:37] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:37] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":85.41840362548828,"sensitivity":16,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:39] [CameraUI] Kids Room Camera: frame=   93 fps= 21 q=28.0 size=       1kB time=00:00:03.45 bitrate=   2.9kbits/s dup=73 drop=0 speed=0.772x
[25/01/2022, 12:29:39] [CameraUI] Kids Room Camera: frame=  129 fps= 26 q=24.0 size=       1kB time=00:00:03.45 bitrate=   2.9kbits/s dup=100 drop=0 speed=0.687x
[25/01/2022, 12:29:40] [CameraUI] Kids Room Camera: frame=  157 fps= 28 q=26.0 size=       1kB time=00:00:03.63 bitrate=   2.8kbits/s dup=121 drop=0 speed=0.65x
[25/01/2022, 12:29:40] [CameraUI] Kids Room Camera: frame=  197 fps= 32 q=26.0 size=       1kB time=00:00:04.96 bitrate=   2.0kbits/s dup=151 drop=0 speed=0.814x
[25/01/2022, 12:29:41] [CameraUI] Kids Room Camera: frame=  237 fps= 36 q=23.0 size=       1kB time=00:00:06.30 bitrate=   1.6kbits/s dup=181 drop=0 speed=0.954x
[25/01/2022, 12:29:42] [CameraUI] Kids Room Camera: frame=  269 fps= 38 q=21.0 size=       1kB time=00:00:07.36 bitrate=   1.4kbits/s dup=205 drop=0 speed=1.03x
[25/01/2022, 12:29:42] [CameraUI] Kids Room Camera: frame=  297 fps= 39 q=24.0 size=       1kB time=00:00:08.30 bitrate=   1.2kbits/s dup=226 drop=0 speed=1.08x
[25/01/2022, 12:29:45] [CameraUI] Kids Room Camera: frame=  333 fps= 31 q=21.0 size=    1640kB time=00:00:11.39 bitrate=1179.6kbits/s dup=253 drop=0 speed=1.07x
[25/01/2022, 12:29:46] [CameraUI] Kids Room Camera: frame=  373 fps= 33 q=19.0 size=    1640kB time=00:00:11.39 bitrate=1179.6kbits/s dup=283 drop=0 speed=1.02x
[25/01/2022, 12:29:46] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:46] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":75.41666412353516,"sensitivity":26,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:46] [CameraUI] Kids Room Camera: frame=  401 fps= 34 q=21.0 size=    1640kB time=00:00:11.76 bitrate=1142.1kbits/s dup=304 drop=0 speed=   1x
[25/01/2022, 12:29:46] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:46] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":69.02734375,"sensitivity":32,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:47] [CameraUI] Kids Room Camera: frame=  437 fps= 36 q=23.0 size=    1640kB time=00:00:12.96 bitrate=1036.4kbits/s dup=331 drop=0 speed=1.06x
[25/01/2022, 12:29:47] [CameraUI] Kids Room Camera: frame=  477 fps= 37 q=21.0 size=    1640kB time=00:00:14.30 bitrate= 939.8kbits/s dup=361 drop=0 speed=1.12x
[25/01/2022, 12:29:47] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:47] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":82.66275787353516,"sensitivity":18,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:48] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 12:29:48] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":22.43229103088379,"sensitivity":79,"dwell":15,"forceClose":3}]}
[25/01/2022, 12:29:48] [CameraUI] Kids Room Camera: frame=  513 fps= 39 q=20.0 size=    1640kB time=00:00:15.50 bitrate= 867.0kbits/s dup=388 drop=0 speed=1.17x
[25/01/2022, 12:29:48] [CameraUI] Kids Room Camera: frame=  545 fps= 39 q=22.0 size=    1640kB time=00:00:16.56 bitrate= 811.2kbits/s dup=412 drop=0 speed= 1.2x
[25/01/2022, 12:29:49] [CameraUI] Kids Room Camera: frame=  565 fps= 40 q=23.0 size=    2749kB time=00:00:17.23 bitrate=1306.8kbits/s dup=427 drop=0 speed=1.21x
[25/01/2022, 12:29:49] [CameraUI] Kids Room Camera: Motion OFF - Motion handler timeout.
[25/01/2022, 12:29:49] [CameraUI] Kids Room Camera: frame=  577 fps= 39 q=24.0 size=    3667kB time=00:00:17.79 bitrate=1688.6kbits/s dup=436 drop=0 speed= 1.2x
[25/01/2022, 12:29:50] [CameraUI] Kids Room Camera: frame=  597 fps= 39 q=25.0 size=    3667kB time=00:00:18.30 bitrate=1641.7kbits/s dup=451 drop=0 speed=1.19x
[25/01/2022, 12:29:50] [CameraUI] Kids Room Camera: frame=  629 fps= 39 q=25.0 size=    3667kB time=00:00:19.36 bitrate=1551.3kbits/s dup=475 drop=0 speed=1.21x
[25/01/2022, 12:29:51] [CameraUI] Kids Room Camera: frame=  657 fps= 40 q=27.0 size=    3667kB time=00:00:20.30 bitrate=1480.0kbits/s dup=496 drop=0 speed=1.23x
[25/01/2022, 12:29:52] [CameraUI] Kids Room Camera: frame=  701 fps= 41 q=26.0 size=    3667kB time=00:00:21.76 bitrate=1380.3kbits/s dup=529 drop=0 speed=1.27x
[25/01/2022, 12:29:52] [CameraUI] Kids Room Camera: frame=  725 fps= 41 q=27.0 size=    3667kB time=00:00:22.56 bitrate=1331.3kbits/s dup=547 drop=0 speed=1.28x
[25/01/2022, 12:29:53] [CameraUI] Kids Room Camera: frame=  749 fps= 41 q=27.0 size=    3667kB time=00:00:23.36 bitrate=1285.8kbits/s dup=565 drop=0 speed=1.28x
[25/01/2022, 12:29:53] [CameraUI] Kids Room Camera: frame=  781 fps= 42 q=28.0 size=    3667kB time=00:00:24.43 bitrate=1229.6kbits/s dup=589 drop=0 speed= 1.3x
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: Recording completed (HSV)
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: New custom alert
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: Notifications not enabled, skip Webhook..
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: Notifications not enabled, skip Alexa..
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: Recording not enabled, skip recording..
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: Recording skipped. Notification skipped.
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: frame=  813 fps= 42 q=28.0 size=    5602kB time=00:00:25.50 bitrate=1799.7kbits/s dup=613 drop=0 speed=1.32x
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: Closing recording process
[25/01/2022, 12:29:54] [CameraUI] Kids Room Camera: Prebuffer request ended

@nitaybz
Just uploaded v5.0.15-beta.2, could you reset the source back to the old one where it didn't work and try again with v5.0.15-beta.12 please

Looks like it did the trick!
Good job, thanks man
[25/01/2022, 13:38:41] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":75.1640625,"sensitivity":26,"dwell":15,"forceClose":3}] - Motion: detected - Camera: Kids Room Camera
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: {"error":false,"message":"Handling through extern controller.."}
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Motion ON
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Video fragments requested from HSV
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Setting prebuffer stream as input
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Prebuffer requested with a duration of -4s
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Start recording...
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Recording command: /usr/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -analyzeduration 0 -probesize 500000 -f mp4 -i tcp://<IP_ADDRESS>:31677 -f mp4 -sn -dn -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level:v 3.1 -b:v 2000k -r 30 -vf fps=fps=30*1000/1001,scale=w=1920:h=1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2 -force_key_frames expr:gte(t,n_forced*4) -bsf:a aac_adtstoasc -acodec libfdk_aac -profile:a aac_low -ar 32k -b:a 64k -ac 1 -movflags frag_keyframe+empty_moov+default_base_moof -max_muxing_queue_size 1024 -vsync cfr tcp://<IP_ADDRESS>:25850
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d37a80] error while decoding MB 77 7, bytestream -5
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d37a80] concealing 7292 DC, 7292 AC, 7292 MV errors in I frame
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tcp://<IP_ADDRESS>:31677':
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Metadata:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     minor_version   : 512
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     encoder         : Lavf58.45.100
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Duration: 00:00:05.28, start: 0.000000, bitrate: N/A
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 228 kb/s, 6.73 fps, 7.50 tbr, 15360 tbn, 15 tbc (default)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 52 kb/s (default)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Stream mapping:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Press [q] to stop, [?] for help
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] error while decoding MB 77 7, bytestream -5
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] concealing 7292 DC, 7292 AC, 7292 MV errors in I frame
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Recording started
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [swscaler @ 0x559a421fba40] deprecated pixel format used, make sure you did set range correctly
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] frame MB size (120x68) > level limit (3600)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] MB rate (244800) > level limit (108000)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[25/01/2022, 13:38:42] [CameraUI] Kids Room Camera: frame=   52 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
[25/01/2022, 13:38:42] [CameraUI] Kids Room Camera: frame=   92 fps= 88 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] error while decoding MB 63 41, bytestream -5
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] concealing 3226 DC, 3226 AC, 3226 MV errors in P frame
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] concealing 4981 DC, 4981 AC, 4981 MV errors in P frame
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: frame=  128 fps= 82 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: Output #0, mp4, to 'tcp://<IP_ADDRESS>:25850':
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:   Metadata:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     minor_version   : 512
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     encoder         : Lavf58.45.100
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=-1--1, 2000 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       encoder         : Lavc58.91.100 libx264
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Side data:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 0 vbv_delay: N/A
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (libfdk_aac) (LC) (mp4a / 0x6134706D), 32000 Hz, mono, s16, 64 kb/s (default)
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       encoder         : Lavc58.91.100 libfdk_aac
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15360, current: 12292; changing to 15361. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15361, current: 13316; changing to 15362. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15362, current: 14340; changing to 15363. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15364, current: 15360; changing to 15365. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75776, current: 72708; changing to 75777. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75777, current: 73732; changing to 75778. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75778, current: 74756; changing to 75779. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75780, current: 75776; changing to 75781. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91136, current: 88068; changing to 91137. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91137, current: 89092; changing to 91138. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91138, current: 90116; changing to 91139. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91140, current: 91136; changing to 91141. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115712, current: 112644; changing to 115713. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115713, current: 113668; changing to 115714. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115714, current: 114692; changing to 115715. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115716, current: 115712; changing to 115717. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] error while decoding MB 64 52, bytestream -5
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] concealing 1905 DC, 1905 AC, 1905 MV errors in I frame
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] left block unavailable for requested intra4x4 mode -1
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] error while decoding MB 0 15, bytestream 25594
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] concealing 6409 DC, 6409 AC, 6409 MV errors in I frame
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] concealing 4947 DC, 4947 AC, 4947 MV errors in I frame
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: frame=  152 fps= 17 q=18.0 size=       1kB time=00:00:05.44 bitrate=   1.9kbits/s speed=0.62x
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera:     Last message repeated 1 times
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] error while decoding MB 63 35, bytestream -7
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] concealing 3946 DC, 3946 AC, 3946 MV errors in P frame
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera:     Last message repeated 1 times
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: frame=  180 fps= 19 q=23.0 size=    1075kB time=00:00:05.44 bitrate=1619.3kbits/s speed=0.585x
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] Increasing reorder buffer to 1
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: frame=  208 fps= 21 q=25.0 size=    1686kB time=00:00:05.44 bitrate=2538.3kbits/s speed=0.555x
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: [h264 @ 0x559a41df61c0] concealing 3093 DC, 3093 AC, 3093 MV errors in P frame
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] error while decoding MB 101 15, bytestream -9
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] concealing 6308 DC, 6308 AC, 6308 MV errors in P frame
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":29.19400978088379,"sensitivity":72,"dwell":15,"forceClose":3}]}
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera:     Last message repeated 1 times
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: frame=  244 fps= 24 q=23.0 size=    1686kB time=00:00:06.53 bitrate=2113.5kbits/s speed=0.632x
[25/01/2022, 13:38:52] [CameraUI] Kids Room Camera: frame=  280 fps= 26 q=22.0 size=    1686kB time=00:00:07.73 bitrate=1785.5kbits/s speed=0.71x
[25/01/2022, 13:38:53] [CameraUI] Kids Room Camera: frame=  312 fps= 27 q=24.0 size=    1686kB time=00:00:08.80 bitrate=1569.1kbits/s speed=0.77x
[25/01/2022, 13:38:53] [CameraUI] Kids Room Camera: frame=  344 fps= 29 q=24.0 size=    1686kB time=00:00:09.86 bitrate=1399.5kbits/s speed=0.826x
[25/01/2022, 13:38:54] [CameraUI] Kids Room Camera: frame=  376 fps= 30 q=24.0 size=    1686kB time=00:00:10.93 bitrate=1262.9kbits/s speed=0.877x
[25/01/2022, 13:38:54] [CameraUI] Kids Room Camera: frame=  408 fps= 31 q=25.0 size=    1686kB time=00:00:12.00 bitrate=1150.7kbits/s speed=0.921x
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: frame=  440 fps= 32 q=24.0 size=    1686kB time=00:00:13.06 bitrate=1056.8kbits/s speed=0.963x
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237568, current: 234500; changing to 237569. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237569, current: 235524; changing to 237570. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237570, current: 236548; changing to 237571. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237572, current: 237568; changing to 237573. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:56] [CameraUI] Kids Room Camera: Motion OFF - Motion handler timeout.
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d69b00] concealing 2471 DC, 2471 AC, 2471 MV errors in P frame
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: frame=  448 fps= 29 q=24.0 size=    3390kB time=00:00:15.39 bitrate=1804.2kbits/s speed=0.997x
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: frame=  484 fps= 30 q=23.0 size=    3390kB time=00:00:15.39 bitrate=1804.2kbits/s speed=0.963x
[25/01/2022, 13:38:58] [CameraUI] Kids Room Camera: frame=  516 fps= 31 q=23.0 size=    3390kB time=00:00:15.60 bitrate=1780.1kbits/s dup=1 drop=0 speed=0.939x
[25/01/2022, 13:38:58] [CameraUI] Kids Room Camera: frame=  548 fps= 32 q=25.0 size=    3390kB time=00:00:16.66 bitrate=1666.2kbits/s dup=1 drop=0 speed=0.972x
[25/01/2022, 13:38:59] [CameraUI] Kids Room Camera: frame=  588 fps= 33 q=23.0 size=    3390kB time=00:00:18.00 bitrate=1542.8kbits/s dup=1 drop=0 speed=1.02x
[25/01/2022, 13:38:59] [CameraUI] Kids Room Camera: frame=  620 fps= 34 q=23.0 size=    3390kB time=00:00:19.06 bitrate=1456.5kbits/s dup=1 drop=0 speed=1.05x
[25/01/2022, 13:39:00] [CameraUI] Kids Room Camera: frame=  648 fps= 35 q=24.0 size=    3390kB time=00:00:20.00 bitrate=1388.5kbits/s dup=1 drop=0 speed=1.07x
[25/01/2022, 13:39:00] [CameraUI] Kids Room Camera: frame=  676 fps= 35 q=24.0 size=    3390kB time=00:00:20.93 bitrate=1326.6kbits/s dup=1 drop=0 speed=1.09x
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: frame=  708 fps= 36 q=23.0 size=    3390kB time=00:00:22.00 bitrate=1262.3kbits/s dup=1 drop=0 speed=1.11x
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: frame=  740 fps= 36 q=22.0 size=    3390kB time=00:00:23.06 bitrate=1203.9kbits/s dup=1 drop=0 speed=1.14x
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Recording completed (HSV)
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: New custom alert
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Notifications not enabled, skip Webhook..
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Notifications not enabled, skip Alexa..
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Recording not enabled, skip recording..
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Recording skipped. Notification skipped.
[25/01/2022, 13:39:02] [CameraUI] Kids Room Camera: Closing recording process
[25/01/2022, 13:39:02] [CameraUI] Kids Room Camera: Prebuffer request ended

Looks like it did the trick! Good job, thanks man
[25/01/2022, 13:38:41] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":75.1640625,"sensitivity":26,"dwell":15,"forceClose":3}] - Motion: detected - Camera: Kids Room Camera
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: {"error":false,"message":"Handling through extern controller.."}
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Motion ON
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Video fragments requested from HSV
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Setting prebuffer stream as input
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Prebuffer requested with a duration of -4s
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Start recording...
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Recording command: /usr/lib/node_modules/homebridge-camera-ui/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -analyzeduration 0 -probesize 500000 -f mp4 -i tcp://<IP_ADDRESS>:31677 -f mp4 -sn -dn -vcodec libx264 -pix_fmt yuv420p -profile:v baseline -level:v 3.1 -b:v 2000k -r 30 -vf fps=fps=30*1000/1001,scale=w=1920:h=1080:force_original_aspect_ratio=1,pad=1920:1080:(ow-iw)/2:(oh-ih)/2 -force_key_frames expr:gte(t,n_forced*4) -bsf:a aac_adtstoasc -acodec libfdk_aac -profile:a aac_low -ar 32k -b:a 64k -ac 1 -movflags frag_keyframe+empty_moov+default_base_moof -max_muxing_queue_size 1024 -vsync cfr tcp://<IP_ADDRESS>:25850
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d37a80] error while decoding MB 77 7, bytestream -5
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d37a80] concealing 7292 DC, 7292 AC, 7292 MV errors in I frame
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'tcp://<IP_ADDRESS>:31677':
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Metadata:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     minor_version   : 512
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     encoder         : Lavf58.45.100
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Duration: 00:00:05.28, start: 0.000000, bitrate: N/A
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 228 kb/s, 6.73 fps, 7.50 tbr, 15360 tbn, 15 tbc (default)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 52 kb/s (default)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Stream mapping:
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera:   Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Press [q] to stop, [?] for help
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] error while decoding MB 77 7, bytestream -5
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] concealing 7292 DC, 7292 AC, 7292 MV errors in I frame
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: Recording started
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [swscaler @ 0x559a421fba40] deprecated pixel format used, make sure you did set range correctly
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] frame MB size (120x68) > level limit (3600)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] MB rate (244800) > level limit (108000)
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[25/01/2022, 13:38:41] [CameraUI] Kids Room Camera: [libx264 @ 0x559a41d3fc80] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=0 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[25/01/2022, 13:38:42] [CameraUI] Kids Room Camera: frame=   52 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
[25/01/2022, 13:38:42] [CameraUI] Kids Room Camera: frame=   92 fps= 88 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] error while decoding MB 63 41, bytestream -5
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] concealing 3226 DC, 3226 AC, 3226 MV errors in P frame
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] concealing 4981 DC, 4981 AC, 4981 MV errors in P frame
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: frame=  128 fps= 82 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: Output #0, mp4, to 'tcp://<IP_ADDRESS>:25850':
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:   Metadata:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     major_brand     : iso5
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     minor_version   : 512
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     compatible_brands: iso5iso6mp41
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     title           : streamed by the VSTARCAM RTSP server
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     encoder         : Lavf58.45.100
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, q=-1--1, 2000 kb/s, 30 fps, 15360 tbn, 30 tbc (default)
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       handler_name    : VideoHandler
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       encoder         : Lavc58.91.100 libx264
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Side data:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 0 vbv_delay: N/A
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Stream #0:1(und): Audio: aac (libfdk_aac) (LC) (mp4a / 0x6134706D), 32000 Hz, mono, s16, 64 kb/s (default)
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:     Metadata:
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       handler_name    : SoundHandler
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera:       encoder         : Lavc58.91.100 libfdk_aac
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15360, current: 12292; changing to 15361. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15361, current: 13316; changing to 15362. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15362, current: 14340; changing to 15363. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 15364, current: 15360; changing to 15365. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75776, current: 72708; changing to 75777. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75777, current: 73732; changing to 75778. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75778, current: 74756; changing to 75779. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 75780, current: 75776; changing to 75781. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91136, current: 88068; changing to 91137. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91137, current: 89092; changing to 91138. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91138, current: 90116; changing to 91139. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 91140, current: 91136; changing to 91141. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115712, current: 112644; changing to 115713. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115713, current: 113668; changing to 115714. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115714, current: 114692; changing to 115715. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 115716, current: 115712; changing to 115717. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] error while decoding MB 64 52, bytestream -5
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] concealing 1905 DC, 1905 AC, 1905 MV errors in I frame
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] left block unavailable for requested intra4x4 mode -1
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] error while decoding MB 0 15, bytestream 25594
[25/01/2022, 13:38:43] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] concealing 6409 DC, 6409 AC, 6409 MV errors in I frame
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] concealing 4947 DC, 4947 AC, 4947 MV errors in I frame
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: frame=  152 fps= 17 q=18.0 size=       1kB time=00:00:05.44 bitrate=   1.9kbits/s speed=0.62x
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera:     Last message repeated 1 times
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] error while decoding MB 63 35, bytestream -7
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d434c0] concealing 3946 DC, 3946 AC, 3946 MV errors in P frame
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera:     Last message repeated 1 times
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: frame=  180 fps= 19 q=23.0 size=    1075kB time=00:00:05.44 bitrate=1619.3kbits/s speed=0.585x
[25/01/2022, 13:38:50] [CameraUI] Kids Room Camera: [h264 @ 0x559a41f25dc0] Increasing reorder buffer to 1
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: frame=  208 fps= 21 q=25.0 size=    1686kB time=00:00:05.44 bitrate=2538.3kbits/s speed=0.555x
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: [h264 @ 0x559a41df61c0] concealing 3093 DC, 3093 AC, 3093 MV errors in P frame
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] error while decoding MB 101 15, bytestream -9
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: [h264 @ 0x559a41e221c0] concealing 6308 DC, 6308 AC, 6308 MV errors in P frame
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: New motion detected, resetting motion in 15s..
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: Motion data: [{"zone":"region0","percent":29.19400978088379,"sensitivity":72,"dwell":15,"forceClose":3}]}
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera:     Last message repeated 1 times
[25/01/2022, 13:38:51] [CameraUI] Kids Room Camera: frame=  244 fps= 24 q=23.0 size=    1686kB time=00:00:06.53 bitrate=2113.5kbits/s speed=0.632x
[25/01/2022, 13:38:52] [CameraUI] Kids Room Camera: frame=  280 fps= 26 q=22.0 size=    1686kB time=00:00:07.73 bitrate=1785.5kbits/s speed=0.71x
[25/01/2022, 13:38:53] [CameraUI] Kids Room Camera: frame=  312 fps= 27 q=24.0 size=    1686kB time=00:00:08.80 bitrate=1569.1kbits/s speed=0.77x
[25/01/2022, 13:38:53] [CameraUI] Kids Room Camera: frame=  344 fps= 29 q=24.0 size=    1686kB time=00:00:09.86 bitrate=1399.5kbits/s speed=0.826x
[25/01/2022, 13:38:54] [CameraUI] Kids Room Camera: frame=  376 fps= 30 q=24.0 size=    1686kB time=00:00:10.93 bitrate=1262.9kbits/s speed=0.877x
[25/01/2022, 13:38:54] [CameraUI] Kids Room Camera: frame=  408 fps= 31 q=25.0 size=    1686kB time=00:00:12.00 bitrate=1150.7kbits/s speed=0.921x
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: frame=  440 fps= 32 q=24.0 size=    1686kB time=00:00:13.06 bitrate=1056.8kbits/s speed=0.963x
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237568, current: 234500; changing to 237569. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237569, current: 235524; changing to 237570. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [libfdk_aac @ 0x559a41d3ea40] Queue input is backward in time
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237570, current: 236548; changing to 237571. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:55] [CameraUI] Kids Room Camera: [mp4 @ 0x559a41d3c740] Non-monotonous DTS in output stream 0:1; previous: 237572, current: 237568; changing to 237573. This may result in incorrect timestamps in the output file.
[25/01/2022, 13:38:56] [CameraUI] Kids Room Camera: Motion OFF - Motion handler timeout.
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: [h264 @ 0x559a41d69b00] concealing 2471 DC, 2471 AC, 2471 MV errors in P frame
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: frame=  448 fps= 29 q=24.0 size=    3390kB time=00:00:15.39 bitrate=1804.2kbits/s speed=0.997x
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: tcp://<IP_ADDRESS>:31677: corrupt decoded frame in stream 0
[25/01/2022, 13:38:57] [CameraUI] Kids Room Camera: frame=  484 fps= 30 q=23.0 size=    3390kB time=00:00:15.39 bitrate=1804.2kbits/s speed=0.963x
[25/01/2022, 13:38:58] [CameraUI] Kids Room Camera: frame=  516 fps= 31 q=23.0 size=    3390kB time=00:00:15.60 bitrate=1780.1kbits/s dup=1 drop=0 speed=0.939x
[25/01/2022, 13:38:58] [CameraUI] Kids Room Camera: frame=  548 fps= 32 q=25.0 size=    3390kB time=00:00:16.66 bitrate=1666.2kbits/s dup=1 drop=0 speed=0.972x
[25/01/2022, 13:38:59] [CameraUI] Kids Room Camera: frame=  588 fps= 33 q=23.0 size=    3390kB time=00:00:18.00 bitrate=1542.8kbits/s dup=1 drop=0 speed=1.02x
[25/01/2022, 13:38:59] [CameraUI] Kids Room Camera: frame=  620 fps= 34 q=23.0 size=    3390kB time=00:00:19.06 bitrate=1456.5kbits/s dup=1 drop=0 speed=1.05x
[25/01/2022, 13:39:00] [CameraUI] Kids Room Camera: frame=  648 fps= 35 q=24.0 size=    3390kB time=00:00:20.00 bitrate=1388.5kbits/s dup=1 drop=0 speed=1.07x
[25/01/2022, 13:39:00] [CameraUI] Kids Room Camera: frame=  676 fps= 35 q=24.0 size=    3390kB time=00:00:20.93 bitrate=1326.6kbits/s dup=1 drop=0 speed=1.09x
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: frame=  708 fps= 36 q=23.0 size=    3390kB time=00:00:22.00 bitrate=1262.3kbits/s dup=1 drop=0 speed=1.11x
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: frame=  740 fps= 36 q=22.0 size=    3390kB time=00:00:23.06 bitrate=1203.9kbits/s dup=1 drop=0 speed=1.14x
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Recording completed (HSV)
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: New custom alert
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Notifications not enabled, skip Webhook..
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Notifications not enabled, skip Alexa..
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Recording not enabled, skip recording..
[25/01/2022, 13:39:01] [CameraUI] Kids Room Camera: Recording skipped. Notification skipped.
[25/01/2022, 13:39:02] [CameraUI] Kids Room Camera: Closing recording process
[25/01/2022, 13:39:02] [CameraUI] Kids Room Camera: Prebuffer request ended

v5.0.15-beta.2 was not stable enough, now I found a solution where it works 100% for me
Will upload it in a moment


Days Since Reconciled

GitHub Issue (if applicable): #2275
Trello Link (if applicable):
Explanation of Bugfix/Feature/Modification:
Adding the days since last reconciled the accounts header next to the reconcile button.
Example (Has been reconciled):

Example (Never been reconciled):

Should play nice with 'Last Reconciled Date' feature #2278 if also enabled (and shout out to @tonyt-vo as i started this feature #2278 ):

Note to approvers:  I am relatively new at this, and wasn't quite sure if I was handling the right padding appropriately to give space between #2275 and #2278 if both are enabled (without they seemed to close together). Also wondering if both are enabled that #2275 should show to the right of #2278, but I wasn't sure how to do that. Please let me know.

@joshmadewell , yes combine these two into one feature is doable - in fact I had considered that as a first approach but wasn't sure if that would be acceptable.
I'll refactor this per above and resubmit.

@joshmadewell I implemented the combined last reconciled feature and days since feature as requested in the merge comment above.


gstreamer: 1.12.2 -> 1.12.3

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

Merged into staging for better testing.

@vcunat @orivej Thanks, and sorry for the sloppiness!


Move Network registrations to Networks class

This is a large diff because networks are referenced everywhere, but there's only two things that have changed:

Move networks to a different namespace (NetworkDefinitions)
Move static network registrations to a new class (Networks)

Importantly, this brings static network registrations out of Network.cs.

@rowandh we are happy to merge but fix your conflicts 👍  Good change!

@rowandh this is priority as its easy and not to block you, so once you resolve conflicts ask us to push immediately, PR looks good.

@rowandh i fixed this for you 👍 I confirm that all unit and integration tests pass.

@fassadlr thanks for fixing!


Update new version

Great action.
Updating the action version in the readme will help people avoid the typo in 2.0.0.
Regards

Thank you for your contribution ❤

@CasBex I have created a new release v2.0.2, hope everything still works (as mostly build dependencies has been updated). I have checked the changelogs of zx 8, and everything should work. As I dont use the action currently, please let me know if it is still working as expected. :crossed_fingers:

Thanks for the heads-up, but I'm afraid v.2.0.2 is not quite working for me. Have a look at this log https://github.com/CasBex/FMIExchange.jl/actions/runs/10955151419/job/30418451607

thank you for testing and logs, will look into it. Sorry for the issues
https://github.com/tyriis/docker-image-tag-exists/issues/2

fixed in https://github.com/tyriis/docker-image-tag-exists/releases/tag/v2.0.3

Seems like it's working in my workflow, at least it found a true negative.


The right address for Consumer units

Introduction
At present Prometheus consumer charm units provide their bind_address to the Prometheus provider. Is this the right address to use ? Is it guaranteed that this address is visible to both the Prometheus Provider application container in addition to the Prometheus Provider charm container ?

DONE


issue install on proxmox 6.4

Hi
Currently tried installing but when i run im getting this issue
nvidia-htop.py
Traceback (most recent call last):
  File "/usr/local/bin/nvidia-htop.py", line 57, in <module>
    ps_call = subprocess.run('nvidia-smi', stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "/usr/lib/python3.7/subprocess.py", line 472, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nvidia-smi': 'nvidia-smi'

 sudo lshw -C display
  *-display
       description: VGA compatible controller
       product: G98 [GeForce 9300 GS]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:40 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f4000000-f5ffffff ioport:bc80(size=128) memory:c0000-dffff

You need to install the standard Nvidia drivers that provide the nvidia-smi command (I think particularly nvidia-tools or nvidia-utils or how is it called).
It is a "hidden" dependency of this package - it can't be automatically installed by pip because the driver can't be installed by pip.


Failure detected in __THCudaCheck might not survive stack unwind

I got a seg fault something like the following.  The cause of this seg fault is outside the scope of htis issue:
luajit: cuda runtime error (77) : an illegal memory access was encountered at /home/ubuntu/git/cutorch/lib/THC/generic/THCStorage.c:170

(Note that line number might not exactly match master THCStorage.c, because I added a ton of printfs whilst trying to debug the issue.)
After instrumenting THCStorage.c a bit, it looked like it was crashing during a Storage_free:
Storage_free x self=171492384
...cudafree<PHONE_NUMBER>0

After this line, the seg fault occurred, so it seemed maybe some issue with the free.
In fact, the error happened about 15,000 lines of debug earlier, inside THCTensorMath.cu:
thcudacheck FAIL file=/home/ubuntu/git/cutorch/lib/THC/THCTensorMath.cu line=303

Unfortunately, this error message was swallowed, because the program segfaulted before printing it.  It appears above after adding some instrumentation to __THCudaCheck:
void __THCudaCheck(cudaError_t err, const char *file, const int line)
{
  if(err != cudaSuccess)
  {
    printf("thcudacheck FAIL file=%s line=%i\n", file, line );
    _THError(file, line, "cuda runtime error (%d) : %s", err,
             cudaGetErrorString(err));
  }
}

After adding this code, it became obvious that the error was not during the free, but much earlier.  Actually, it was about 15,000 lines of debug statements earlier, but swallowed by the segfault during stack unwind.
I think it could be worth ensuring that the error is printed during __THCudaCheck, in case it doesnt survive subsequent unwind.

@hughperkins when you are debugging CUDA errors, the first thing one should do is to switch to synchronous calls, so that you can identify the point of failure.
CUDA_LAUNCH_BLOCKING=1 th [yourscript.lua]
This triggers a THCudaCheck exactly at the point of error.
If the launches are asynchronous, THCudaCheck is only triggered when the launched kernel finally computes, which might be much later.

Good info. Thanks!


fix: reply inline to unpeg messages

including to scheduled follow-up messages

:tada: This PR is included in version 1.16.1 :tada:
The release is available on:

v1.16.1
GitHub release

Your semantic-release bot :package::rocket:


an audio error has occurred...

This is usually caused by a wrong or empty "audio url" definition.
Check the audio.url part of your "APlayer" construction,
`
audio: [{
......
url: 'url.mp3', //check here
......
}]
`
Correct the url, may solve the problems.
I've been there too...

Close agent

Add a possibility that I face.
It might be Permission issue.
I generate flac files using python scripts, and those files are not readable for alist agent.
When I try to play them in aplayer, it shows the same error message. However, they are playable using other audio players.
But After I set the permission as "777", it works.
To check if you are the same case, try to switch to "download" tab and see if you can download the audio file. If not, it might be this issue.
可能是音频文件权限问题导致的。我用python脚本生成了flac文件，但是alist没有读取权限。
用aplayer播放时也会出现和楼主相同的错误信息。但是我用windows的播放软件可以用ftp直接播放。
我把文件改成777权限后，alist就能正常播放了。
如果你想确认是不是跟我一样的情况，切到”下载“标签页看看你能不能下载音频文件就行。如果不能，很有可能就是权限问题。

url中不要出现中文


Signature script updates

While integrating samconf packages into debian, linitian triggered a warning:
W: samconf-tools: script-with-language-extension [usr/bin/signature.sh]
This PR intends to fix this:

The first two commits should not cause any major change.
I expect only the last commit to be subject to advanced discussion.

Last force push was for a rebase on https://github.com/Elektrobit/samconf/commit/163e8ee6a0b145c98c5d54ba87133fbd5fecac2b (current main)


User's guide

Introduction
The Calorie Calculator App helps users track their daily calorie intake, set personal calorie goals, and calculate nutritional needs based on their physical attributes and activity levels.
......

Developer's documentation


[input/size] Check tx size constants

We ensure the size constants and their godoc checks out.
See https://github.com/lightningnetwork/lightning-rfc/pull/815 for a disagreement with the spec that was found in the process.

Moving to v0.13, will cherry pick what is needed for sweeper changes.

What's needed to move this forward?

What's needed to move this forward?

Travis 🤪


Banishing the singletons

This is a pull request to implement changes suggested in #375.
I will push commits gradually for easier review and tracking.
The roadmap for this pull request is:

[x] Hide DozerBeanMapper constructor and create new DozerBeanMapperBuilder.
[x] Deal with singleton org.dozer.DozerInitializer.
[x] Deal with singleton org.dozer.config.BeanContainer.
[x] Deal with singleton org.dozer.loader.MappingsParser.
[x] Deal with singleton org.dozer.config.GlobalSettings.
[x] Deal with singleton org.dozer.loader.xml.XMLParserFactory.
[x] Deal with singleton org.dozer.stats.GlobalStatistics.
[x] Deal with global state in org.dozer.builder.DestBeanBuilderCreator#pluggedStrategies.
[x] Deal with global state in org.dozer.classmap.generator.BeanMappingGenerator#pluggedFieldDetectors.
[x] Deal with global state in org.dozer.propertydescriptor.PropertyDescriptorFactory#pluggedDescriptorCreationStrategies.
[x] Implementations of org.dozer.DozerModule depend on global Dozer state which is now removed. Interface should be extended to provide necessary components to the modules.
[x] Remove DozerBeanMapperSingletonWrapper.
[x] Verify if there are more singletons.
[x] Update documentation according to the final solution changes.

Potential problems / improvements discovered during implementation (follow-up issues to be created):

org.dozer.util.ResourceLoader#getResource uses thread context classloader to load requested resource instead of classLoader provided during instantiation.
It makes sense to use Project Lombok in Dozer to avoid some boilerplate coding.
org.dozer.config.GlobalSettings#setStatisticsEnabled seems to be dangerous. Clients (even internal ones) could read/write the values in different order, making behaviour unpredictable. I believe, shared configuration should be immutable.
Extend org.dozer.config.GlobalSettings to:

apply custom properties file via DozerBeanMapperBuilder (not only via system properties);
apply any configuration option via DozerBeanMapperBuilder (not only via properties file);
maybe after that this will not be Global settings any more, but perhaps DozerSettings.

org.dozer.config.PropertyConstants#CLASS_LOADER_BEAN usage is very suspicious. We first get classloader from BeanContainer, load properties using this classloader, read this property, and then set created classloader into BeanContainer.
JMXPlatform and its implementations are not designed to work with multiple Mapper instances:

is there anyone using those MBeans? I cannot imagine real-world scenario for that;
if they are used, what would be the expected behaviour for multiple Mappers is one JVM?

org.dozer.DozerBeanMapper#destroy is an interesting method. It is only called within Spring environment and only when Spring context is stopped, the javadoc explanation is also intriguing: "Used to release global Dozer resources for hot redeployment without stopping the JVM". The only thing this method is doing is topping JMX Beans. I suggest considering making this functionality completely external to DozerBeanMapper or even removing it (especially if there is no application for JMX Beans, see above).
DozerInitializer and BeanContainer are tightly coupled, and they have functionality which now should reside in DozerBeanMapperBuilder.
Removing global state from Dozer reveals how many dependencies are there between components of the system. For instance, now DozerBeanMapper explicitly requires 11 other components, which is a strong indicator that it does too may things.
DozerModule requires significant redesign. Current project implementation of this interface - ProtobufSupportModule - relies on internal classes like BeanContainer. I believe there should be a Dozer-API module, which provides abstractions over Dozer components, which are then injected into DozerModule. Dozer code should not encourage usage of internal classes. Perhaps following "don't call us, we'll call you" paradigm could help to build extensible API.

When removing singleton capability from BeanContainer, I had multiple choices how to deal with its usages.
The first one was about keeping only dependency to BeanContainer and adding other beans to this facade, or explicitly defining every dependency to required classes. I choose the latter, because this approach does not hide dependencies between classes and thus allows to identify high coupling between components.
The second choice was if dependencies to be injected into constructors or interface methods. Construction injection was chosen, because different implementations may depend on different components and interface methods already now are heavily loaded with parameters.
As I tried to do as little changes as possible in this PR, some work to be continues in follow-ups (i.e. injecting classloader and proxy resolver instead of BeanContainer).

I think it goes into right direction. However I would suggest keeping old DozerBeanMapper constructor public and deprecating them instead of deleting. Removing those constructors would make all Dozer users deal with backward incompatibilities without gradual migration path.

I have restored the deleted constructors of DozerBeanMapper and deprecated them as per comment above.
@garethahealy could you please review this PR? I tried to split the changes according to the checklist items in description. Also I followed the rule to do as little changes as possible. Removal of singletons showed how many dependencies there are between various components of the system. I did not tried to improve this - obviously this would dramatically increase the scope of changes.
Also it worth to check the list of issues/improvement suggestions documented in description of PR. They can explain some changes. And we could raise follow-ups for agreed items from that list.

@orange-buffalo ; code looks good, only one comment about a spelling mistake. Once you've rebased i'll merge if everything is done.
Can we raise another issue re: "Potential problems" section, and we'll address each one with an individual issue/suggested implementation.

One more backwards compatibility issue is BeanFactory interface changes. If I remember correctly this interface could be extended. Is it possible to introduce default method on interface and leave the previous version, so users code compiles fine?

@buzdin, thanks for the tip, I have adjusted the changes in BeanFactory to allow gradual update for user.
@garethahealy, thanks for review, branch is rebased, spelling mistake is fixed, BeanFactory is adjusted as per @buzdin comment. I will create follow-up issues soon.

@orange-buffalo does it make sense that DestBeanCreator has a static field for pluggedStrategies ? The method was made non-static but the field remained static?

@slyoldfox, it has been a while since this change and I lost the context. If you believe there is something more to improve or current code has a bug, please create a new issue with your suggestion.


Support raw json format for item protoset

Currently item protoset is defined as res file which can be edited only with embedded editor and has some header, which is not very convenient.
I suggest to support common .json file as item protoset so it can be easily edited with any tool

@Nordsoft91 You can save your item protoset as a .tres file (by renaming extension) which is human readable and editable in an external editor, there is a tradeoff however as .res is more performant because its binary.

Yeah, the idea is to store protosets as .tres resources and edit them in the protoset editor, which can be inconvenient compared to editing raw JSON ☹
But the original idea was exactly how @Nordsoft91 described. The problem was that back in Godot 3 JSON files were not handled very well by the engine and you had to write an import plugin to work with them. According to one of the Godot maintainers supporting JSON wasn't even planned:

JSON files are not considered resources and will probably never be, since Godot has no use for them. Instead, a solution such as https://github.com/godotengine/godot-proposals/issues/677 should be implemented.

so I decided to give up on it.
However, this changed in Godot 4 and JSON resources are supported now. I'm planning to replace protoset resources with JSON files in GLoot 3.x as I think it would simplify prototype management, but also maintenance of the plugin (no need for a custom editor).


-h option to websocket server should support hostnames

As a consequence of fixing the websocket socket binding, the -h option to the websocket server no longer supports named hosts- IP address only. This is a silly and unintentional limitation.

I thought I might put a workaround in place until my websockets pull request forces a new release, but it seems like too much effort. Since virtually everyone will want to enter <IP_ADDRESS> anyway, I have simply made that the default.


New Rust version, new clippy warnings

This PR fixes new clippy warning introduced in v1.57.
It also fixes #585, because it just meant lifting the test-only visibility of the conversion.
The main change is that MlsMessageIn/Out now use Box, which makes sense, since they are likely to be used in a Vec anyway.

I think I was a bit premature on this one. Two questions: Why the Box in the first place? Also, we briefly discussed this before and I still don't think we should consider requirements of the DS in OpenMLS code. I think a cleaner approach would be to extract something like an mls_types or mls_messages crate that both OpenMLS and any rust DS implementation can use.

I filed #603 to track this idea.


Update legislative session automatically

Overview
This branch does two things. It determines the current fiscal year programmatically as opposed to having it hardcoded, and it allows for the next fiscal year to be scraped during and after the last week of the current fiscal year.
This means that on June 10th, 2024 (before the last week), the latest fiscal year that would be scraped would end on June 30th, 2024. However once June 23rd, 2024 hits (the beginning of the last week), the latest year scraped would end on June 30, 2025 and would remain that way up until June 23 of 2025, wherein it would scrape up to '26, etc.
Testing Instructions

Run a scrape

docker-compose run --rm scrapers pupa update lametro bills window=1 --rpm=0

Confirm that the scrape completes as expected
Confirm that automated tests pass and that they are appropriately testing behavior

@antidipyramid I could use your help on testing this. I included a test to make sure this worked for the case that we're past the legislative session. It does work, however it's only because of the date that we're currently in, not because of the frozen date in the test. If you were to change the date on freeze_time to be the 10th of June, it would still pass. I'm stumped on how to get past this.
I imagined it's because the class is setting its allowed_years before i've got a chance to mess with the date, so mocking today doesn't have an effect? I've tried a bunch of things, like reloading the whole lametro package after freezing the time and even deleting and re-importing the package from within the test, but no dice.
import imp
imp.reload(lametro)

# and

import sys
sys.modules.pop('lametro')
from lametro import Lametro

Ideally I would love to be able to test both the case where it should and shouldn't work.

This is set for review 🙌
Though a note: when running my test bill scrape, it errored out on a 404 HTTP response. This also happens with the same scrape on the main branch. Is this expected behavior? If not, I have a change that I can push up to continue after encountering 404s.

@xmedr The 404 comes from private bills! You need to decrypt your lametro/secrets.py file so the scrape will pass our API key with the requests.

@hancush Oooh I see. It looks like I might need to be added to blackbox here, would you be able to help me out with that?
>>> blackbox_postdeploy
========== Importing keychain: START
gpg: Total number processed: 3
gpg:              unchanged: 3
========== Importing keychain: DONE
========== Decrypting new/changed files: START
gpg: public key decryption failed: No secret key
gpg: decryption failed: No secret key

@xmedr Just pushed a commit adding you as an admin! Pull from your branch, then try to decrypt your secrets file again.

sweet, a bill scrape completed successfully for me so that did it! now this should be ready for review from either of you