GoPRO

Shoot with res 4000x3000px!

Use one of following commands (FHD vs 4K):

/bin/ls -1tr | grep -v files.txt > files.txt && mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=60 'mf://@files.txt' && ffmpeg -i output.avi -y -qscale 0 -vf scale=3840:2880,crop=3840:2160 output-final.avi

or

/bin/ls -1tr | grep -v files.txt > files.txt && mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=60 'mf://@files.txt' && ffmpeg -i output.avi -y -qscale 0 -vf scale=1920:1440,crop=1920:1080 output-final.avi
  • Create list of files

  • Using Mencoder, attach them to AVI with 60FPS framerate

  • use FFMpeg to 1) scale down to proper width, 2) crop the height

Note: photos need to be at least 3840x2880

Galaxy S2 timelapse

Toro TimeLapse

  1. Rooted phone (Sorry, by default, the app links it to system partition… that’s a no go.)

  2. linked timelapse folder to external SD

  3. timelapse to 2.4 megapixels

  4. copy files to external hdd

  5. Generate JPEGs from PNGs:

mogrify -format jpg *.png
  1. Generate FHD60fps with apropriate stuff and proper aspect ratios (!!)
/bin/ls -1tr | grep .jpg > files.txt && mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=60 'mf://@files.txt' && ffmpeg -i output.avi -y -qscale 0 -vf scale=1920:1155,crop=1920:1080 output-final.avi
  1. clear up the mess

Whole galaxys2timelapse.sh:

mogrify -format jpg *.png
/bin/ls -1tr | grep .jpg > files.txt
mencoder -nosound -noskip -oac copy -ovc copy -o output.avi -mf fps=60 'mf://@files.txt'
ffmpeg -i output.avi -y -qscale 0 -vf scale=1920:1155,crop=1920:1080 output-final.avi
rm *.jpg files.txt output.avi