Support for jellyfin-ffmpeg5
<!-- FEATURE REQUESTS THAT ARE NOT FILLED OUT COMPLETELY WILL BE CLOSED AUTOMATICALLY WITHOUT WARNING AND WILL NOT RECEIVE A RESPONSE. THE FORM IS HERE FOR A REASON. :). -->
<!-- Please ensure you read the documentation before creating a feature request to ensure the functionality doesn't already exist. -->

**Is your feature request related to a problem? Please describe:**
I am trying to enable QSV support on  Debian 12. 

Noting that the default packages for FFMpeg on Debian do not include QSV support, I looked for an easier method to enable QSV other than compiling my own. Searching on google a bit led me to the Jellyfin project. They supply their own version of ffmpeg that has QSV support compiled in. You can also install just the ffmpeg package without the server and web components. They also provide good documentation on setup and requirements on getting hardware based acceleration working.

I have been able to get this working for HKSV event recording. However, viewing the live feed errors out. I am unsure if there is an "easy" solution to this.

**Describe the solution you'd like:**
HKSV live feed generation using parameters that are compatible with jellyfin-ffmpeg5 packages.

**Describe alternatives you've considered:**
Downloading the Debian source packages, updating the build parameters to include QSV support, creating my own packages, and having to rebuild them whenever upstream changes.

**Additional context:**
Logs for unsuccessful live stream:
```
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: Streaming request from 192.168.2.17: 1280x720@30fps, 299 kbps. Using 1280x720@30fps (Medium), 2000 kbps.
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: FFmpeg command: /usr/lib/jellyfin-ffmpeg/ffmpeg -hide_banner -nostats -fflags +discardcorrupt -probesize 16384 -max_delay 500000 -r 30 -rtsp_transport tcp -i rtsps://192.168.2.10:7441/7ew4m7cjnkEUq78L?enableSrtp -map 0:v:0 -vcodec copy -payload_type 99 -ssrc 16304966 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params XHXWEbxyUkpY0OgSqJStoAOODrVJmJelLDQsFfTa srtp://192.168.2.17:50160?rtcpport=50160&pkt_size=564 -map 0:a:0? -acodec libfdk_aac -afterburner 1 -eld_sbr 1 -eld_v2 1 -profile:a 38 -flags +global_header -f null -ar 24k -b:a 24k -bufsize 48k -ac 1 -payload_type 110 -ssrc 15053750 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Ltix1V5+FFau8/PUxnGqKNS3OUA2EuHSQhxhOaOD srtp://192.168.2.17:65326?rtcpport=65326&pkt_size=188 -loglevel level+verbose
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [tcp @ 0x555be5ed4240] [verbose] Starting connection attempt to 192.168.2.10 port 7441
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [tcp @ 0x555be5ed4240] [verbose] Successfully connected to 192.168.2.10 port 7441
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [rtsp @ 0x555be5ed0bc0] [verbose] SDP:
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: v=0
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: o=- 540 0 IN IP4 192.168.2.10
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: s=E438830B2750_1
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: u=www.ui.com
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: e=info@ui.com
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: c=IN IP4 192.168.2.10
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: t=0 0
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=recvonly
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=control:*
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=range:npt=now-
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: m=audio 0 RTP/AVP 96
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=recvonly
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=rtpmap:96 mpeg4-generic/16000/1
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=control:trackID=0
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1408; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:plrYK1U9vWHmuZhpN1ITGpxuzl2lIpd27r22HLld
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: m=audio 0 RTP/AVP 96
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=recvonly
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=rtpmap:96 opus/48000/2
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=control:trackID=1
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=fmtp:96
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:XgaDWwCQY0X7LEVU8yhVT8DHkA15ZP4OlZUDDs4+
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: m=video 0 RTP/AVP 97
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=recvonly
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=control:trackID=2
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=rtpmap:97 H264/90000
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=fmtp:97 profile-level-id=4d401f; packetization-mode=1; sprop-parameter-sets=Z01AH6aAUAW6bgICAoAAAfSAAHVOTtBEI1A=,aOqPIA==
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:vnpBXxpA2Rb4bhcHbTWbR8LNWyQjkLES4rT6BUqN
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [rtsp @ 0x555be5ed0bc0] [verbose] setting jitter buffer size to 0
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [rtsp @ 0x555be5ed0bc0] [verbose] setting jitter buffer size to 0
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [rtsp @ 0x555be5ed0bc0] [verbose] setting jitter buffer size to 0
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264 @ 0x555be5ed95c0] [verbose] Reinit context to 1280x720, pix_fmt: yuvj420p
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [rtsp @ 0x555be5ed0bc0] [warning] Stream #2: not enough frames to estimate rate; consider increasing probesize
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Input #0, rtsp, from 'rtsps://192.168.2.10:7441/7ew4m7cjnkEUq78L?enableSrtp':
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Metadata:
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     title           : E438830B2750_1
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Duration: N/A, start: 0.000000, bitrate: N/A
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:2: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1280x720, 30 tbr, 90k tbn
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Output #0, rtp, to 'srtp://192.168.2.17:50160?rtcpport=50160&pkt_size=564':
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Metadata:
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     title           : E438830B2750_1
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     encoder         : Lavf59.27.100
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:0: Video: h264 (Main), 1 reference frame, yuvj420p(pc, bt709, progressive, left), 1280x720 (0x0), q=2-31, 30 tbr, 90k tbn
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Stream mapping:
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:2 -> #0:0 (copy)
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:0 -> #1:0 (aac (native) -> aac (libfdk_aac))
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Press [q] to stop, [?] for help
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [graph_0_in_0_0 @ 0x555be61f0ac0] [verbose] tb:1/16000 samplefmt:fltp samplerate:16000 chlayout:mono
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [format_out_1_0 @ 0x555be622f9c0] [verbose] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_1_0'
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [auto_aresample_0 @ 0x555be6230f80] [verbose] ch:1 chl:mono fmt:fltp r:16000Hz -> ch:1 chl:mono fmt:s16 r:24000Hz
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [libfdk_aac @ 0x555be624d640] [error] Unable to enable SBR for ELD: Invalid config
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [error] Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVIOContext @ 0x555be62295c0] [verbose] Statistics: 0 bytes written, 0 seeks, 0 writeouts
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVIOContext @ 0x555be6253e80] [verbose] Statistics: 0 bytes written, 0 seeks, 0 writeouts
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Conversion failed!
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: The FFmpeg process ended unexpectedly due to issues with the media stream provided by the UniFi Protect livestream API. Adjusting the settings we use for FFmpeg temporarily to use safer values at the expense of some additional streaming startup latency.
[6/26/2023, 8:54:41 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: Stopped video streaming session.
```
Logs for successful HKSV event:

```
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: Motion detected.
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: FFmpeg command: /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel level+verbose -hide_banner -nostats -fflags +discardcorrupt+genpts -f mp4 -r 30 -i pipe:0 -map 0:v:0 -c:v h264_qsv -preset veryfast -profile:v main -level:v 4.0 -noautoscale -bf 0 -filter:v format=yuvj420p, scale=-2:min(ih\,1080) -g:v 120 -bufsize 4000k -maxrate 2000k -b:v 2000k -reset_timestamps 1 -movflags frag_keyframe+empty_moov+default_base_moof -map 0:a:0? -acodec copy -f mp4 pipe:1
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264 @ 0x55a3160bd040] [verbose] Reinit context to 2688x1520, pix_fmt: yuvj420p
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55a3160ab900] [warning] DTS 47368453154 < 47368483153 out of order
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pipe:0':
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Metadata:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     major_brand     : dash
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     minor_version   : 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     compatible_brands: iso6avc1mp41
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     creation_time   : 2023-06-26T12:54:41.000000Z
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Duration: 146:11:56.65, start: 526316.013813, bitrate: N/A
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:0[0x1](und): Video: h264 (Main), 1 reference frame (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive, left), 2688x1512 (2688x1520), 0 kb/s, 30 fps, 30 tbr, 90k tbn (default)
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     Metadata:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       creation_time   : 2023-06-26T12:54:41.000000Z
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       handler_name    : VideoHandler
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       vendor_id       : [0][0][0][0]
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       encoder         : EvoStream Media Server
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp (default)
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     Metadata:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       creation_time   : 2023-06-26T12:54:41.000000Z
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       handler_name    : SoundHandler
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       vendor_id       : [0][0][0][0]
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Stream mapping:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:1 -> #0:1 (copy)
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264 @ 0x55a3160ccb40] [verbose] Reinit context to 2688x1520, pix_fmt: yuvj420p
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [Parsed_scale_1 @ 0x55a3160f5bc0] [verbose] w:-2 h:min(ih,1080) flags:'' interl:0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [graph 0 input from stream 0:0 @ 0x55a3161bd5c0] [verbose] w:2688 h:1512 pixfmt:yuvj420p tb:1/30 fr:30/1 sar:0/1
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [Parsed_scale_1 @ 0x55a3160f5bc0] [verbose] w:2688 h:1512 fmt:yuvj420p sar:0/1 -> w:1920 h:1080 fmt:nv12 sar:0/1 flags:0x0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [Parsed_scale_1 @ 0x55a3160f5bc0] [verbose] w:2688 h:1512 fmt:yuvj420p sar:0/1 -> w:1920 h:1080 fmt:nv12 sar:0/1 flags:0x0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [Parsed_scale_1 @ 0x55a3160f5bc0] [verbose] w:2688 h:1512 fmt:yuvj420p sar:0/1 -> w:1920 h:1080 fmt:nv12 sar:0/1 flags:0x0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [Parsed_scale_1 @ 0x55a3160f5bc0] [verbose] w:2688 h:1512 fmt:yuvj420p sar:0/1 -> w:1920 h:1080 fmt:nv12 sar:0/1 flags:0x0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] Encoder: input is system memory surface
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] Trying to use DRM render node for device 0, with matching kernel driver (i915).
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] libva: VA-API version 1.18.0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] libva: User requested driver 'iHD'
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] libva: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/iHD_drv_video.so
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] libva: Found init function __vaDriverInit_1_18
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] libva: va_openDriver() returns 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] Initialised VAAPI connection: version 1.18
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] VAAPI driver: Intel iHD driver for Intel(R) Gen Graphics - 23.2.3 (8d3be84).
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVHWDeviceContext @ 0x55a3179f9880] [verbose] Driver not found in known nonstandard list, using standard behaviour.
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] Initialized an internal MFX session using hardware accelerated implementation
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] Using the constant bitrate (CBR) ratecontrol method
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] MFMode:2
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] profile: avc main; level: 40
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] GopPicSize: 120; GopRefDist: 1; GopOptFlag: closed ; IdrInterval: 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] TargetUsage: 7; RateControlMethod: CBR
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] BufferSizeInKB: 500; InitialDelayInKB: 375; TargetKbps: 2000; MaxKbps: 2000; BRCParamMultiplier: 1
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] NumSlice: 1; NumRefFrame: 1
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] RateDistortionOpt: OFF
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] RecoveryPointSEI: OFF
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] VDENC: OFF
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] Entropy coding: CABAC; MaxDecFrameBuffering: 1
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] NalHrdConformance: ON; SingleSeiNalUnit: ON; VuiVclHrdParameters: OFF VuiNalHrdParameters: ON
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] FrameRateExtD: 1; FrameRateExtN: 30 
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] IntRefType: 0; IntRefCycleSize: 0; IntRefQPDelta: 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] MaxFrameSize: 0; MaxSliceSize: 0; 
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] BitrateLimit: ON; MBBRC: OFF; ExtBRC: OFF
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] Trellis: auto
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] RepeatPPS: OFF; NumMbPerSlice: 0; LookAheadDS: 2x
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] AdaptiveI: OFF; AdaptiveB: OFF; BRefType: offMinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP: 0; MinQPB: 0; MaxQPB: 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] DisableDeblockingIdc: 0 
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] PRefType: simple
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] TransformSkip: unknown 
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] IntRefCycleDist: 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] LowDelayBRC: OFF
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [h264_qsv @ 0x55a3160d2200] [verbose] MaxFrameSizeI: 0; MaxFrameSizeP: 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [mp4 @ 0x55a3160d7c00] [verbose] Empty MOOV enabled; disabling automatic bitstream filtering
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Output #0, mp4, to 'pipe:1':
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Metadata:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     major_brand     : dash
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     minor_version   : 0
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     compatible_brands: iso6avc1mp41
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     encoder         : Lavf59.27.100
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:0(und): Video: h264, 1 reference frame (avc1 / 0x31637661), nv12(tv, bt709, progressive, left), 1920x1080 (0x0), q=2-31, 2000 kb/s, 30 fps, 15360 tbn (default)
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     Metadata:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       creation_time   : 2023-06-26T12:54:41.000000Z
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       handler_name    : VideoHandler
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       vendor_id       : [0][0][0][0]
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       encoder         : Lavc59.37.100 h264_qsv
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     Side data:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       cpb: bitrate max/min/avg: 2000000/0/2000000 buffer size: 4000000 vbv_delay: N/A
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]   Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp (default)
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]     Metadata:
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       creation_time   : 2023-06-26T12:54:41.000000Z
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       handler_name    : SoundHandler
[6/26/2023, 9:05:36 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info]       vendor_id       : [0][0][0][0]
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: HomeKit Secure Video has recorded a 35 second motion event.
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] frame=  638 fps= 35 q=36.0 Lsize=    5079kB time=00:00:21.23 bitrate=1959.7kbits/s speed=1.15x    
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] video:5323kB audio:325kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose] Input file #0 (pipe:0):
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose]   Input stream #0:0 (video): 1264 packets read (38105140 bytes); 639 frames decoded; 
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose]   Input stream #0:1 (audio): 658 packets read (332290 bytes); 
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose]   Total: 1922 packets (38437430 bytes) demuxed
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose] Output file #0 (pipe:1):
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose]   Output stream #0:0 (video): 638 frames encoded; 638 packets muxed (5450398 bytes); 
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose]   Output stream #0:1 (audio): 658 packets muxed (332290 bytes); 
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [verbose]   Total: 1296 packets (5782688 bytes) muxed
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVIOContext @ 0x55a3160cfc40] [verbose] Statistics: 5201283 bytes written, 0 seeks, 183 writeouts
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [error] Error closing file pipe:1: Broken pipe
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [AVIOContext @ 0x55a3160bc4c0] [verbose] Statistics: 38521663 bytes read, 0 seeks
[6/26/2023, 9:05:55 AM] [UniFi Protect] UCK G2 Plus [UCK-G2-PLUS] G5 Bullet [G5 Bullet]: [info] Exiting normally, received signal 15.

```
