From 7508e9c34ecfa48076ed0f4da2b9e6e5e1bcaf68 Mon Sep 17 00:00:00 2001 From: Martin Chaparro Date: Thu, 10 Aug 2023 20:01:33 -0500 Subject: [PATCH] Actualizar 'tips_RPI.md' --- tips_RPI.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tips_RPI.md b/tips_RPI.md index 5821994..1175891 100644 --- a/tips_RPI.md +++ b/tips_RPI.md @@ -64,6 +64,27 @@ static routers=192.168.1.1 static domain_name_servers=8.8.8.8 ``` +### Camara + +#### Crear un timelapse +##### Captura imagenes + +```sh +libcamera-still -t 60000 --timelapse 2000 -o image%04d.jpg + +``` +Donde **t** es el tiempo de captura total, **timelapse** tiempo entre imagenes + +##### Compilar video + +```sh +ffmpeg -r 10 -f image2 -pattern_type glob -i 'image*.jpg' -s 1280x720 -vcodec libx264 time.mp4 + +``` +**r** fps + +**s** scala del video + [http://www.lcdwiki.com/3.5inch_RPi_Display](http://www.lcdwiki.com/3.5inch_RPi_Display)