User Tools

Site Tools


timelapse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
timelapse [2017/11/29 19:10]
jose
timelapse [2019/12/06 12:11] (current)
jose
Line 4: Line 4:
  
  
-avconv -y -r 10 -i '​%*.jpg'​ -r 10 -vcodec libx264 -q:v 3  -vf crop=600:800,​scale=iw:​ih timelapse.mp4+avconv -y -r 10 -i '​%*.jpg'​ -r 10 -vcodec libx264 -q:v 3  -vf crop=800:600,​scale=iw:​ih timelapse.mp4 
 + 
 +====== Añadir hora: ====== 
 +Para un fichero del tipo: 20191116_1146.jpeg 
 + 
 +<​code>​ 
 +#​!/​bin/​bash 
 +while read linea 
 +do 
 +hora=`echo $linea | awk -F_ {'​print $2'​}|awk -F\. {'​print $1'​}|cut -c-2` 
 +minuto=`echo $linea | awk -F_ {'​print $2'​}|awk -F\. {'​print $1'​}|cut -c3-` 
 +convert -pointsize 40 -fill yellow -draw 'text 600,400 "'​$hora':'​$minuto'"​ ' $linea data/​$linea 
 +done < <(ls *jpeg) 
 +</​code>​
  
timelapse.1511979057.txt.gz · Last modified: 2017/11/29 19:10 by jose