brutella / hkcam

Open-Source HomeKit Surveillance Camera
https://hochgatterer.me/hkcam/
Apache License 2.0
920 stars 141 forks source link

/dev/video99 not showing up #126

Closed phenomeus closed 2 years ago

phenomeus commented 2 years ago

I'm coming from an older hkcam SD image and updated everything with sudo apt update & upgrade. read the readme and installed the 2 needed packages and created the 2 config files. I updated hkcam bin and restarted.

the 0.1.0 version is starting automatically (sudo sv start hkcam? how to stop that?) but /dev/video99 is not created and thus there are errors in the log:


loopback.go:72:   Duration: N/A, start: 801.397176, bitrate: 331776 kb/s
loopback.go:72:     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 331776 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
loopback.go:72: [v4l2 @ 0x1cd3fb0] Unable to open V4L2 device '/dev/video99'
loopback.go:72: Could not write header for output file #0 (incorrect codec parameters ?): No such file or directoryStream mapping:
loopback.go:72:   Stream #0:0 -> #0:0 (copy)
loopback.go:72:     Last message repeated 1 times
loopback.go:87: Loopback failed to start
ffmpeg.go:164: starting loopback failed: Loopback failed to start
phenomeus commented 2 years ago

fixed by updating the complete SD from stretch to buster OS version https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/

video99 popped up :)