The recording process was aborted by HSV with reason "CANCELLED"
My Camera is a Tuya camera. But with the help of Tuya IoT plattform I got access to RTSPS feed thats being re streamed into RTSP with a RTSP proxy server. As the picture shows below the RTSP stream uses h264 and acc so my understanding is that it should work with HSV. But i get the following error. Ive tried all 4 possible vcodecs without any luck. 

```
[5/6/2022, 7:51:25 PM] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":25.35633659362793,"sensitivity":76,"dwell":60,"forceClose":3}] - Motion: detected - Camera: Dörrklocka
[5/6/2022, 7:51:25 PM] [CameraUI] Dörrklocka: Motion ON
[5/6/2022, 7:51:36 PM] [CameraUI] Dörrklocka: Closing recording process
[5/6/2022, 7:51:36 PM] [CameraUI] Dörrklocka: Motion OFF
[5/6/2022, 7:51:36 PM] [CameraUI]  WARNING  Dörrklocka: The recording process was aborted by HSV with reason "CANCELLED"
[HDS ::ffff:192.168.1.173] Delegate finished recording stream 1 without sending anything out.       Controller will CANCEL.
[5/6/2022, 9:19:26 PM] [CameraUI]  ERROR  Dörrklocka: FFmpeg videoanalysis process exited with error! (SIGKILL) - [NULL @ 0x55842c584f80] non-existing PPS 0 referenced  - Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x55842c5b4280] non-existing PPS 0 referenced [h264 @ 0x55842c5b4280] decode_slice_header error [h264 @ 0x55842c5b4280] no frame!  - [NULL @ 0x55842c584f80] non-existing PPS 0 referenced Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x55842c5bedc0] non-existing PPS 0 referenced [h264 @ 0x55842c5bedc0] decode_slice_header error [h264 @ 0x55842c5bedc0] no frame! [NULL @ 0x55842c584f80] non-existing PPS 0 referenced Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x55842c63a540] non-existing PPS 0 referenced [h264 @ 0x55842c63a540] decode_slice_header error [h264 @ 0x55842c63a540] no frame!  - [NULL @ 0x55842c584f80] non-existing PPS 0 referenced Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x55842c5b4280] non-existing PPS 0 referenced [h264 @ 0x55842c5b4280] decode_slice_header error [h264 @ 0x55842c5b4280] no frame! [NULL @ 0x55842c584f80] non-existing PPS 0 referenced Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x55842c5bedc0] non-existing PPS 0 referenced [h264 @ 0x55842c5bedc0] decode_slice_header error [h264 @ 0x55842c5bedc0] no frame!  - [NULL @ 0x55842c584f80] non-existing PPS 0 referenced Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x55842c63a540] non-existing PPS 0 referenced [h264 @ 0x55842c63a540] decode_slice_header error [h264 @ 0x55842c63a540] no frame! [NULL @ 0x55842c584f80] non-existing PPS 0 referenced Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x55842c5b4280] non-existing PPS 0 referenced [h264 @ 0x55842c5b4280] decode_slice_header error [h264 @ 0x55842c5b4280] no frame!  - Error while decoding stream #0:0: Invalid data found when processing input 
```
Some times I also get thoose errors:
```
[5/6/2022, 7:53:27 PM] [CameraUI]  ERROR  Dörrklocka: FFmpeg prebuffer process exited with error! (null) - [h264 @ 0x5654e955b680] co located POCs unavailable - 
```
```
[5/6/2022, 7:53:53 PM] [CameraUI]  ERROR  Dörrklocka: FFmpeg videoanalysis process exited with error! (null) - Output file #0 does not contain any stream
```

```
{
                    "name": "Dörrklocka",
                    "motion": true,
                    "motionTimeout": 15,
                    "unbridge": true,
                    "hsv": true,
                    "prebuffering": true,
                    "forcePrebuffering": false,
                    "prebufferLength": 4,
                    "hksvConfig": {
                        "source": "-i rtsp://192.168.1.5:8554/mystream",
                        "vcodec": "libx264",
                        "acodec": "libfdk_aac",
                        "audio": false
                    },
                    "videoConfig": {
                        "source": "-i rtsp://192.168.1.5:8554/mystream",
                        "subSource": "-i rtsp://192.168.1.5:8554/mystream",
                        "stillImageSource": "-i rtsp://192.168.1.5:8554/mystream",
                        "rtspTransport": "tcp",
                        "vcodec": "copy",
                        "acodec": "libfdk_aac",
                        "audio": true,
                        "debug": true
                    },
                    "smtp": {
                        "email": "Dörrklocka"
                    },
                    "videoanalysis": {
                        "active": true
                    },
                    "mqtt": {}
                }
```
Because its a tuya cam I dont have a picture on camera settings except for below:

[![Sk-rmbild-2022-05-06-200316.png](https://i.postimg.cc/Df9X2CCk/Sk-rmbild-2022-05-06-200316.png)](https://postimg.cc/QVqtmqG0)

**Environment**
- Node.js Version: v14.19.2
- Homebridge Version: v1.4.1
- Camera UI Version: v5.0.27 and also tried 28 (Beta)
- Operating System: Ubuntu 20
- Browser: Brave/Chrome
