Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI recording show blank, empty videos #429

Open
BlathaBlather opened this issue Nov 2, 2023 · 1 comment
Open

UI recording show blank, empty videos #429

BlathaBlather opened this issue Nov 2, 2023 · 1 comment

Comments

@BlathaBlather
Copy link

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

@mkz212
Copy link
Contributor

mkz212 commented Jul 29, 2024

🎉 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants