brutella / hkcam

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

No video, loopback fails (dev/video1: Invalid argument) #102

Closed 0xPr0xy closed 3 years ago

0xPr0xy commented 3 years ago

After running Ansible installation on RPI 3 with buster, I got an issue that the --pin flag was not accepted. So commented that out and hkcam started.

exec hkcam --data_dir=/var/lib/hkcam/data --verbose=true \
--min_video_bitrate=$HKCAM_MIN_BITRATE --multi_stream=$HKCAM_MULTI_STREAM #--pin=$HKCAM_HOMEKIT_PIN

However now it has an issue on video1 device. (video0 is the camera and the camera is working fine. so this must be the loopback).

2020-12-28_16:22:37.83511 [video4linux2,v4l2 @ 0x1c3e400] ioctl(VIDIOC_G_FMT): Invalid argument
2020-12-28_16:22:37.85504 /dev/video1: Invalid argument

LOG

0xPr0xy commented 3 years ago

Closed as raspistill -o test.jpg doesn't work either. the --pin flag not being accepted might still be relevant to the maintainer though.