Skip to content

mookerzhou/wedding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wedding Homepage

See index.md for actual page source, this URL for the rendered page.

Misc.

FFMPEG + ImageMagick Instructions

Rough instructions to render a somewhat-small GIF from iPhone video:

$ ffmpeg -i IMG_9280.MOV -ss 00:00:10 -to 00:00:13.6 IMG_9280.trimmed.mov
$ ffmpeg -i IMG_9280.trimmed.mov -vf "fps=10,scale=240:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 IMG_9280.trimmed.gif
$ convert IMG_9280.trimmed.gif -fuzz 10% -layers Optimize IMG_9280.slimmed.gif

$ ffmpeg -i IMG_5450.mov -ss 00:00:12 -to 00:00:17 IMG_5450.trimmed.mov
$ ...

Add -flop to convert to mirror about the vertical.

Render Locally

$ bundle install
$ make