timelapse
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
timelapse [2019/11/18 11:11] – jose | timelapse [2020/05/30 13:49] – jose | ||
---|---|---|---|
Line 1: | Line 1: | ||
http:// | http:// | ||
- | ffmpeg -i '%*.jpg' | + | |
- | avconv -y -r 10 -i ' | + | avconv -y -r 10 -i ' |
====== Añadir hora: ====== | ====== Añadir hora: ====== | ||
- | Para un fichero del tipo: 20191116_1146.jpeg | + | Para un fichero del tipo: 20191116_1146.jpeg. Hay que crear la carpeta data y ahí copia las imagenes con fecha |
< | < | ||
Line 17: | Line 17: | ||
convert -pointsize 40 -fill yellow -draw 'text 600,400 "' | convert -pointsize 40 -fill yellow -draw 'text 600,400 "' | ||
done < <(ls *jpeg) | 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) | ||
+ | |||
</ | </ | ||