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)