[LINUX] Raspberry Pi video camera

Create a video recording system using the 8GB memory of Raspberry Pi 4B

Request use -Videos are saved in the main memory (RAM disk) ・ You can monitor the image during shooting -Hardware that is easy to handle (I do not want to install a camera or microphone separately) ・ Continuous shooting for about 2 hours ・ Image quality that can withstand online video

What to use ・ Raspberry Pi OS ・ Motion

Motion is a video recording software that is often used in Linux. Since it has a function to record only when there is a change in the image, it seems to be often used for pet monitoring and security cameras. This time, motion detection is not necessary, but motion is used because it has a relatively large amount of information and seems to be easy to use.

Features of motion

With web server function

When shooting a movie, we want to check how it looks, so we need a function to monitor it. motion has a web server function and can monitor the shooting status with Port: 8081 (default). It may be convenient because it can be seen over the network.

Supports multiple cameras

Since you can use a camera over the network, you can also use other Raspberry Pi cameras. Try installing one or two turtles at the time of shooting.

motion settings

The configuration file is here /usr/local/etc/motion/motion.conf emulate_motion Type: Boolean Values: on, off Default value: off Always record even if there is no movement in the video

movie_max_time Type: Integer Value: 0 (infinite) --2147483647 Default: 120 Specify the maximum length of the video in seconds. If 0, there is no size limit.

Citations Motion Basic Setup. https://motion-project.github.io/motion_config.html#top

Recommended Posts

Raspberry Pi video camera
Display USB camera video with Python OpenCV with Raspberry Pi
Raspberry Pi backup
Raspberry Pi Security Infrared Camera (Python Edition)
What is Raspberry Pi?
GPGPU with Raspberry Pi
pigpio on Raspberry pi
Raspberry Pi Bad Knowledge
Let's do Raspberry Pi?
DigitalSignage with Raspberry Pi
Raspberry Pi 4 setup memo
Cython on Raspberry Pi
Raspberry Pi system monitoring
Create a color sensor using a Raspberry Pi and a camera
Thermal Camera (Thermo AI Device TiD) Raspberry Pi Edition
Face detection from images taken with Raspberry Pi camera
A memorandum when making a surveillance camera with Raspberry Pi
Introduced python3-OpenCV3 to Raspberry Pi
Raspberry Pi 4B initial setting
Indoor monitoring using Raspberry Pi
Mutter plants with Raspberry Pi
I talked to Raspberry Pi
Introducing PyMySQL to raspberry pi3
Raspberry Pi + Python + OpenGL memo
Raspbian initial settings (Raspberry Pi 4)
raspberry pi 1 model b, python
Introduced pyenv on Raspberry Pi
Use NeoPixel on Raspberry Pi
Install OpenCV4 on Raspberry Pi 3
Install TensorFlow 1.15.0 on Raspberry Pi
Play with the Raspberry Pi Zero WH camera module Part 1
Python beginner opens and closes interlocking camera with Raspberry Pi
I made a surveillance camera with my first Raspberry PI.
Port FreeRTOS to Raspberry Pi 4B
[Raspberry Pi] Stepping motor control with Raspberry Pi
Testing uart communication on Raspberry Pi
Use vl53l0x with Raspberry Pi (python)
raspberry pi 1 model b, node-red part 17
Servo motor control with Raspberry Pi
USB over ethernet using Raspberry pi
MQTT on Raspberry Pi and Mac
raspberry pi 4 centos7 install on docker
Serial communication with Raspberry Pi + PySerial
Install ghoto2 on Raspberry Pi (memo)
OS setup with Raspberry Pi Imager
Raspberry pi initial setting (for myself)
Try using ArUco on Raspberry Pi
Try L Chika with raspberry pi
OpenCV installation procedure on Raspberry Pi
VPN server construction with Raspberry Pi
Try moving 3 servos with Raspberry Pi
Phone notification when surveillance camera motion is detected on Raspberry Pi
Power on / off Raspberry pi on Arduino
Detect switch status on Raspberry Pi 3
Install OpenMedia Vault 5 on Raspberry Pi 4
03. Pi
Using a webcam with Raspberry Pi
L Chika on Raspberry Pi C #
[Raspberry Pi] Changed Python default to Python3
Build wxPython on Ubuntu 20.04 on raspberry pi 4
Initial settings for using GrovePi + starter kit and camera on Raspberry Pi