seydx/camera.ui

UI recording show blank, empty videos

BlathaBlather opened this issue · 1 comments

Afternoon,

I'm having trouble with the recordings feature within the application. Using the video analysis feature, and with record on UI enabled, and recording enables and set to videos, I can see the recordings save into both the recording folder under ~/.camera.ui (both the mp4s and the snapshot) and also showing in the recording tabs. However, the mp4 recording are empty, there is nothing in them, there are just empty video files of the length recorded, not even black screen, it's a fully empty video, with very low file size. Please advise if this is a configuration issue on my end, or whether this is a bug. Thank you.

Example of console log
[02/11/2023, 12:34:53] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-11-02T12:34:53.318Z","event":"dwellTime (15s)"} - Motion: resetted - Camera: cam
[02/11/2023, 12:38:29] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":10.684895515441895,"sensitivity":90,"dwell":30,"forceClose":3}] - Motion: detected - Camera: cam
[02/11/2023, 12:38:59] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-11-02T12:38:59.323Z","event":"dwellTime (30s)"} - Motion: resetted - Camera: cam
[02/11/2023, 12:44:31] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":97.83072662353516,"sensitivity":3,"dwell":30,"forceClose":3}] - Motion: detected - Camera: cam
[02/11/2023, 12:45:01] [camera.ui] VIDEOANALYSIS: New message: Data: {"time":"2023-11-02T12:45:01.821Z","event":"dwellTime (30s)"} - Motion: resetted - Camera: cam
[02/11/2023, 12:47:39] [camera.ui] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":22.17708396911621,"sensitivity":79,"dwell":30,"forceClose":3}] - Motion: detected - Camera: cam

config
{
"logLevel": "info",
"port": 8081,
"atHomeSwitch": false,
"options": {
"videoProcessor": "ffmpeg"
},
"ssl": {
"active": false
},
"http": {
"active": false,
"port": 7272,
"localhttp": false
},
"smtp": {
"active": false,
"port": 2727,
"space_replace": "+"
},
"ftp": {
"active": false,
"useFile": false,
"port": 5050
},
"mqtt": {
"active": false,
"tls": false,
"port": 1883
},
"cameras": [
{
"name": "cam",
"motionTimeout": 15,
"recordOnMovement": true,
"prebuffering": true,
"forcePrebuffering": true,
"videoConfig": {
"source": "-i rtsp://cam.local:8554/cam",
"stillImageSource": "-i rtsp://cam.local:8554/cam",
"stimeout": 10,
"audio": null,
"debug": null,
"subSource": "-i rtsp://cam.local:8554/cam",
"rtspTransport": null,
"vcodec": null,
"acodec": null
},
"mqtt": {},
"smtp": {
"email": "cam"
},
"videoanalysis": {
"active": true
},
"prebufferLength": 4
}
]
}

Example of broken video
https://github.com/seydx/camera.ui/assets/32522738/67507569-ffbd-4544-9779-c1880933920b

🎉 A new version of camera.ui

A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: #448 .

This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).