Skip to content

Instantly share code, notes, and snippets.

View StevenPatz's full-sized avatar
😍
Github, what ISN'T Happening?

Steven Patz StevenPatz

😍
Github, what ISN'T Happening?
  • 08:24 (UTC -04:00)
View GitHub Profile
\Drupal::logger('locale')->error('Import of string "%string" was skipped because of disallowed or malformed HTML.', array('%string' => $translation));
# Sort pictures from GOPRO09* in img (symbolic links)
x=1;for i in GOPRO9*JPG; do counter=$(printf %04d $x); ln "$i" img_in_order/img"$counter".jpg; x=$(($x+1)); done
# Rotate pictures if needed
for file in *.jpg; do convert $file -rotate 180 rotated-$file; done
# Make a 24img/s movie
ffmpeg -i "img%04d.jpg" -r 24 -s hd720 -vcodec libx264 -b:v 4000k fflapse_hd720.mp4