flag provided but not defined: -pin
gasparuff opened this issue · 1 comments
gasparuff commented
Hi! First of all, thanks for your big effort into this project. Although I'm having some issues launching hkcam. I ran the ansible script and after everything was done, I don't get to see the camera in the Home App. After checking the logs, I found this:
2020-10-05_09:58:45.49717 flag provided but not defined: -pin
2020-10-05_09:58:45.49755 Usage of hkcam:
2020-10-05_09:58:45.49788 -data_dir string
2020-10-05_09:58:45.49795 Path to data directory (default "Camera")
2020-10-05_09:58:45.49818 -h264_decoder string
2020-10-05_09:58:45.49823 h264 video decoder
2020-10-05_09:58:45.49848 -h264_encoder string
2020-10-05_09:58:45.49854 h264 video encoder (default "h264_omx")
2020-10-05_09:58:45.49877 -input_device string
2020-10-05_09:58:45.49883 video input device (default "v4l2")
2020-10-05_09:58:45.49915 -input_filename string
2020-10-05_09:58:45.49922 video input device filename (default "/dev/video0")
2020-10-05_09:58:45.49944 -loopback_filename string
2020-10-05_09:58:45.49950 video loopback device filename (default "/dev/video1")
2020-10-05_09:58:45.49971 -min_video_bitrate int
2020-10-05_09:58:45.49976 minimum video bit rate in kbps
2020-10-05_09:58:45.49996 -multi_stream
2020-10-05_09:58:45.50002 Allow mutliple clients to view the stream simultaneously
2020-10-05_09:58:45.50023 -verbose
2020-10-05_09:58:45.50028 Verbose logging (default true)
Was something changed in the hkcam tool itself?
Thanks in advance and kind regards,
Michael
brutella commented
The ansible script doesn't compile the latest version of hkcam but instead downloads v0.0.9 which doesn't provide the pin
option yet. You have to compile the binary from the master
branch yourself to get the latest version.
You can run make build
to get it compiled for the Raspberry Pi.