![Waveshare Pan-Tilt HAT User Manual Download Page 12](http://html1.mh-extra.com/html/waveshare/pan-tilt-hat/pan-tilt-hat_user-manual_3858699012.webp)
Pan-Tilt HAT User Manual
Version: V1.0.0; Date: 2019.03.16
12
/
17
Terminal
Note that you should connect a display to Raspberry Pi for previewing camera.
5.
Video recording
To record video via camera, you can use command: raspivid -o video.h264 -t 1000
For details about camera command, you can visit Raspberry Pi website.
WEB_CONTROL
1.
Enable Camera by following the last chapter
2.
Modify the modules file:
sudo nano /etc/modules
add statements bcm2835-v4l2 to end of file (Note that 4l2 is the lowercase
“
l
”
instead of number 1)
reboot Raspberry Pi then you find a video0 is appear in /dev folder
3.
Install libraries
sudo apt-get install libv4l-dev libjpeg8-dev
sudo apt-get install subversion