kerberos-io / machinery

(DEPRECATED) An open source image processing framework, which uses your USB-, IP- or RPi-camera to recognize events (e.g. motion).
https://www.kerberos.io
489 stars 102 forks source link

Error Configuring security camera #218

Open djmgrant opened 4 years ago

djmgrant commented 4 years ago

Kerberos.io not displaying camera output.

Kerberos Log :

Steps to reproduce the behavior:

  1. Running Balena v2.61.3 on Raspberry Pi 4 - Camera is Longrunner Raspi Pi4 Model B+ Camera module with switching.
    Installed using Balena etcher
  2. On Balena I've set BALENA_HOST_CONFIG_start_x = 1 plus also set GPU Memory settings as suggested in other posts.
  3. On the Raspi command line i can see the camera is now working :

vcgencmd get_camera supported=1 detected=1

  1. In Kerberos.io System is running and ive set the config as follows.
    Screen Shot 2020-11-15 at 11 18 00

Here is the content of my config. (this has not been edited) <?xml version="1.0"?>

hall false Europe-London RaspiCamera Mjpg Enabled DifferentialCollins Hull Sequence Video S3

Here are the capture settings.
<?xml version="1.0"?>

rtsp://admin:888888@192.168.0.13/tcp/av0_1 640 480 500 0 640 480 0 MJPG 500 0 640 480 500 0 20 0 0 0 50 640 480 0 500 0
djmgrant commented 4 years ago

So got this working by selecting IP camera. Not sure why this is specific to Pi4 , Pi3 RPI camera works.

cedricve commented 4 years ago

hey @djmgrant sorry for the late reply, you made it working by enabling IP Camera setting?

djmgrant commented 4 years ago

Yes thats correct. Quite weird really. My friend bought the exact same camera and on raspberry pi 3 his camera worked as an Rpi camera. Not a big deal but took me quite a while to work this out, swapping ribbons and power sources etc etc.