Just plug the APEMAN C450 dash camera into your Linux server via USB and select “PC Camera” using the buttons on the side.
Confirm it works with this command:
ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 -ss 0:0:2 -frames 1 /tmp/out.jpg
Then download this docker-compose config file
https://github.com/dlandon/zoneminder/blob/master/docker-compose.yaml
Add the video device to the docker-compose.yaml file:
devices:
- /dev/video0:/dev/video0
Install/start your docker container:
docker-compose up -d
Then visit the freshly installed system on whatever your IP address that you have configured:
https://192.168.0.25:8443/zm/
To add the dash camera as a monitor :
General Tab:
Source Type = Local
Source Tab:
Source Path = /dev/video0
1280 x 720
Note that, when I first set this up recording, I was getting a corrupt/ green frame of video at the beginning of the recording. Whatever was causing this made it trigger an event constantly. To fix this, I went into the settings for /dev/video0, buffer tab and changed Alarm frame count from 1 to 3