[ Ссылка ]
1. take a picture with python code every minute
from time import sleep
import picamera
with picamera.PiCamera() as camera:
camera.resolution = (1920,1080)
for filename in camera.capture_continuous('/home/pi/Pictures/{timestamp:%y%m%H%M}.jpg'):
sleep(60)
2. create a list of image files
ls *.jpg | sort -V | xargs -I {} echo "file '{}'" > list.txt
3. create a video
ffmpeg -f concat -i list.txt out.mp4
Ещё видео!