HKSV fails with g4 pro
**Describe The Problem:**
G4 Pro fails to record to HKSV.  Other cameras including g4 instant, g4 dome, g3 flex, g3 instant, g4 doorbell pro behave normally.

**To Reproduce:**
System is a UNVR with 4x SSD in raid 10 + 9 cameras, 1 of which is a g4 pro.  Homebridge is running on a win 11 pc in a hyper-v container.  The PC is a beast and is used for 4K game streaming over moonlight as well.

p.s. g4 pro is “paired” with a protect floodlight but I believe this issue predated that.

**Logs:**

```
[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] Unifi NVR 4drive [UNVR4] Driveway Entry Camera [UVC G4 Pro]: FFmpeg process ended unexpectedly with a signal received of SIGKILL.
[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] Unifi NVR 4drive [UNVR4] Driveway Entry Camera [UVC G4 Pro]: FFmpeg command line that errored out was: /homebridge/node_modules/homebridge-unifi-protect/node_modules/ffmpeg-for-homebridge/ffmpeg -hide_banner -fflags +discardcorrupt -r 24 -f mp4 -i pipe:0 -map 0:v:0 -max_muxing_queue_size 9999 -vcodec libx264 -pix_fmt yuvj420p -profile:v main -level:v 4.0 -preset veryfast -b:v 2000k -bufsize 4000k -maxrate 2000k -force_key_frames expr:gte(t, n_forced * 4) -fflags +genpts+discardcorrupt -reset_timestamps 1 -movflags frag_keyframe+empty_moov+default_base_moof -map 0:a:0 -acodec copy -f mp4 pipe:1
[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:0':

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Metadata:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     major_brand     : dash

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     minor_version   : 0

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     compatible_brands: iso6avc1mp41

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     creation_time   : 2023-01-09T00:44:30.000000Z

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Duration: 165:54:57.50, start: 597296.442511, bitrate: N/A

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], 0 kb/s, 24.01 fps, 24.01 tbr, 90k tbn (default)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     Metadata:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       creation_time   : 2023-01-09T00:44:30.000000Z

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       handler_name    : VideoHandler

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       vendor_id       : [0][0][0][0]

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       encoder         : EvoStream Media Server

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp (default)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     Metadata:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       creation_time   : 2023-01-09T00:44:30.000000Z

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       handler_name    : SoundHandler

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       vendor_id       : [0][0][0][0]

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] Stream mapping:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Stream #0:1 -> #0:1 (copy)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] [libx264 @ 0x55de29c448c0] using SAR=1/1

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] [libx264 @ 0x55de29c448c0] frame MB size (240x135) > level limit (8192)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] [libx264 @ 0x55de29c448c0] DPB size (4 frames, 129600 mbs) > level limit (1 frames, 32768 mbs)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] [libx264 @ 0x55de29c448c0] MB rate (777600) > level limit (245760)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] [libx264 @ 0x55de29c448c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] [libx264 @ 0x55de29c448c0] profile Main, level 4.0, 4:2:0, 8-bit

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] [libx264 @ 0x55de29c448c0] 264 - core 163 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=cbr mbtree=1 bitrate=2000 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=2000 vbv_bufsize=4000 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect] Output #0, mp4, to 'pipe:1':

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Metadata:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     major_brand     : dash

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     minor_version   : 0

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     compatible_brands: iso6avc1mp41

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     encoder         : Lavf59.16.100

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 2000 kb/s, 24 fps, 12288 tbn (default)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     Metadata:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       creation_time   : 2023-01-09T00:44:30.000000Z

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       handler_name    : VideoHandler

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       vendor_id       : [0][0][0][0]

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       encoder         : Lavc59.18.100 libx264

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     Side data:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       cpb: bitrate max/min/avg: 2000000/0/2000000 buffer size: 4000000 vbv_delay: N/A

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]   Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp (default)

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]     Metadata:

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       creation_time   : 2023-01-09T00:44:30.000000Z

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       handler_name    : SoundHandler

[1/8/2023, 6:45:57 PM] [homebridge-unifi-protect]       vendor_id       : [0][0][0][0]

[1/8/2023, 6:46:05 PM] [homebridge-unifi-protect] Unifi NVR 4drive [UNVR4] Driveway Entry Camera [UVC G4 Pro]: HomeKit Secure Video event recording ended abnormally: The request timed out
```

**Homebridge Configuration:**

```
N/A.  I tried to enable dynamic nitrate and that didn’t fix anything.  That’s the only flag.
```

**Screenshots:**
N/A

**Environment:**

* **Homebridge Version:** 1.6.0
* **Node Version:** 16.18.0
* **Homebridge-UniFi-Protect Plugin Version:** 5.5.4
* **UniFi Protect Version:** 2.6.17
* **UniFi Protect Controller Type:** UNVR
* **UniFi Protect Controller Firmware Version:** Unifi OS v3.0.13
* **Apple Device and iOS / macOS / iPadOS / tvOS Version:** iPhone 14 pro max on iOS 16.2 and new homekit architecture
* **Operating System and OS Version:** windows 11 hyper-v