FFmpeg recording process exited with error! (null) since 5.0.12
See original GitHub issueSince 5.0.12 update I receive a lot of FFmpeg recording process exited with error! (null) for multiple cams. My last proper recordings are from this Sunday 3 pm CET everything later was not recorded because of this error for all cams:
[24.1.2022, 07:17:19] [CameraUI] camera.ui v5.0.14 is listening on port 8081 (http)
[24.1.2022, 07:17:32] [CameraUI] VIDEOANALYSIS: New message: Data: [{"zone":"region0","percent":7.012152671813965,"sensitivity":94,"dwell":60,"forceClose":3}] - Motion: detected - Camera: CAM-02
[24.1.2022, 07:17:32] [CameraUI] CAM-02: Motion ON
[24.1.2022, 07:17:33] [CameraUI] CAM-02: FFmpeg recording process exited with error! (null)
[24.1.2022, 07:17:40] [CameraUI] CAM-02: Closing recording process
[HDS ::ffff:10.0.1.87] Recording download stream 1 is still awaiting generator although stream was closed 10s ago! This is a programming mistake by the camera implementation which prevents freeing up resources.
[24.1.2022, 07:17:52] [CameraUI] CAM-02: Motion OFF - Motion handler timeout.
My config is
{
"name": "CAM-02",
"manufacturer": "Reolink",
"model": "RLC-810A",
"serialNumber": "CAM-02",
"motion": true,
"doorbell": false,
"switches": true,
"motionTimeout": 20,
"unbridge": true,
"hsv": true,
"prebuffering": true,
"forcePrebuffering": false,
"prebufferLength": 4,
"videoConfig": {
"source": "-i rtmp://XXX/bcs/channel0_ext.bcs?channel=0&stream=2&user=XXX&password=XXX -map 0 -an -dn -flags -global_header",
"subSource": "-i rtmp://XXX/bcs/channel0_ext.bcs?channel=0&stream=2&user=XXX&password=XXX -map 0 -an -dn -flags -global_header",
"stillImageSource": "-i http://XXX/cgi-bin/api.cgi?cmd=Snap&channel=1&rs=XXX&user=XXX&password=XXX",
"maxStreams": 10,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30,
"forceMax": false,
"audio": false,
"debug": false,
"vcodec": "copy"
},
"videoanalysis": {
"active": true
},
"smtp": {
"email": "CAM-02"
},
"mqtt": {}
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
FFmpeg recording process exited with error! (null) #708 - GitHub
I installed camera ui on my Homebridge (Synology, Docker). There are some error messages in the log that I think have something to...
Read more >Camera-Ui question : r/homebridge - Reddit
stream is working but getting “ffmpeg recording process exited with error! (null)” when there is motion detection.
Read more >homebridge-camera-ui - Bountysource
Getting The recording process was aborted by HSV with reason "UNEXPECTED_FAILURE" on both cameras after Homebridge restart. Everything was working just fine for ......
Read more >FFmpeg exited with code 1, Homebridge and Homekit ...
When connecting your IP camera to Homekit, you may have run into issues with ffmpeg exiting with code 1 when trying to stream....
Read more >ffmpeg can take picture preview but errors on streaming video?
Im able to take a picture preview with the camera just fine but video seems to throw errors. [Logitech-C525] [fatal] Invalid input file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just found the error, somehow during one of the updates the config was modified and as result the wrong native ffmpeg was used instead of the homebridge-camera-ui one. I manually added again the line that solved it for 5.0.14:
v5.0.15-beta.1 is online, can you give it a try pls