Skip to content

Instantly share code, notes, and snippets.

@jbuchbinder
Last active October 12, 2015 19:04
Show Gist options
  • Save jbuchbinder/eef79bb75f585205294b to your computer and use it in GitHub Desktop.
Save jbuchbinder/eef79bb75f585205294b to your computer and use it in GitHub Desktop.
GoPro timelapse assembly
## Assemble timelapse into AVI
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect:vqscale=3 \
-vf scale=1920:1080 -mf type=jpeg:fps=23.97 'mf://*.JPG' \
-o out.avi
## Convert to MP4
HandBrakeCLI -Z Normal -O4 -i out.avi -o out.mp4
## Concatenate into a single file
MP4Box -cat out1.mp4 -cat out2.mp4 -new out-combined.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment