View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004368 | Linux server software | [All Projects] General | public | 2021-08-07 17:24 | 2023-11-23 21:06 |
Reporter | DigitalMy | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0004368: Video recording from USB camera with motion app | ||||
Description | Use raspberry PI 3 B+ model hardware and SD card install motion install motioneye | ||||
Tags | No tags attached. | ||||
|
apt install motion |
|
settings in /etc/motion/motion.conf snapshot_interval 3600 target_dir /share/motion/ snapshot_filename %Y/%m/%d/%Y%m%d%H%M%S-snapshot-%v-%q picture_filename %Y/%m/%d/%Y%m%d%H%M%S-motion-%v-%q movie_filename %Y/%m/%d/%Y%m%d%H%M%S-%v-00 timelapse_filename %Y/%m/%d/%Y%m%d-timelapse stream_port 8082 stream_motion on stream_localhost off webcontrol_port 8083 webcontrol_localhost off webcontrol_html_output on |
|
sudo ls /dev/video* raspistill -o Desktop/image.jpg raspivid -o Desktop/video.h264 sudo modprobe bcm2835-v4l2 v4l2-ctl -V pkill raspivid set in file: /etc/systemd/system/raspivid.service [Unit] Description=raspivid After=network.target [Service] Type=simple ExecStart=/usr/bin/raspivid -w 800 -h 600 -b 500000 -l -o tcp://0.0.0.0:8081 -v -t 0 -fps 5 --intra 5 -fl -cd MJPEG --exposure auto --awb auto --metering average --rotation 270 Restart=always RestartSec=1 [Install] WantedBy=default.target sudo systemctl start raspivid ps aux | grep -i raspivid ps aux | grep -i raspivid | grep -v grep |