timelapse
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
timelapse [2017/11/29 17:22] – created jose | timelapse [2020/05/30 14:42] – jose | ||
---|---|---|---|
Line 1: | Line 1: | ||
http:// | http:// | ||
+ | ffmpeg -r 24 -pattern_type glob -i ' | ||
+ | |||
+ | Si añadimos -s hd1080 nos hace formato 1080 que es 1920x1080 | ||
+ | |||
+ | Comando con avconv (deprecated): | ||
+ | |||
+ | avconv -y -r 10 -i ' | ||
+ | |||
+ | ====== Añadir hora: ====== | ||
+ | Para un fichero del tipo: 20191116_1146.jpeg. Hay que crear la carpeta data y ahí copia las imagenes con fecha | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | while read linea | ||
+ | do | ||
+ | hora=`echo $linea | awk -F_ {' | ||
+ | minuto=`echo $linea | awk -F_ {' | ||
+ | convert -pointsize 40 -fill yellow -draw 'text 600,400 "' | ||
+ | done < <(ls *jpeg) | ||
+ | </ | ||
+ | |||
+ | ====== Patio ====== | ||
+ | Juntamos dos fotos una encima de otra, por ejemplo 20191221 y 20190621 | ||
+ | |||
+ | Comando original: | ||
+ | convert image1.png image2.png -append juntas.png | ||
+ | |||
+ | Ejemplo patio: | ||
+ | ls 20191221_*|while read linea;do hora=`echo $linea|awk -F_ {' | ||
+ | |||
+ | Le ponemos la fecha en el medio: | ||
+ | |||
+ | < | ||
+ | #!/bin/bash | ||
+ | while read linea | ||
+ | do | ||
+ | hora=`echo $linea | awk -F_ {' | ||
+ | minuto=`echo $linea | awk -F_ {' | ||
+ | convert -pointsize 40 -fill yellow -draw 'text 600,600 "' | ||
+ | done < <(ls *jpeg) | ||
+ | </ | ||
+ | |||
+ | Y hacemos el timelapse: | ||
+ | ffmpeg -r 24 -pattern_type glob -i ' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | < | ||
+ | while read linea | ||
+ | do | ||
+ | convert -pointsize 60 -fill black -draw 'text 400,1575 " | ||
+ | done < <(ls *jpeg) | ||
+ | |||
+ | #!/bin/bash | ||
+ | while read linea | ||
+ | do | ||
+ | convert -pointsize 60 -fill black -draw 'text 400,65 " | ||
+ | done < <(ls *jpeg) | ||
+ | |||
+ | #!/bin/bash | ||
+ | while read linea | ||
+ | do | ||
+ | hora=`echo $linea | awk -F_ {' | ||
+ | minuto=`echo $linea | awk -F_ {' | ||
+ | convert -pointsize 60 -fill yellow -draw 'text 600,800 "' | ||
+ | done < <(ls *jpeg) | ||
+ | |||
+ | </ | ||