- Install the motion package
sudo apt install motion -y
- Insert USB camera and recognize video node normally
admin@cp2b:~$ ls /dev/ |grep video
video0
video1
- Modify the following configurations
framerate 60 //Change frame rate to 100
stream_maxrate 60 //Add configuration
webcontrol_localhost off //Support remote control
stream_localhost off off //Support remote stream
sudo systemctl start motion
sudo systemctl enable motion
sudo reboot
- Accessing the camera, please note that HTTPS is not supported
http://you-ip-address:8081
