I made a simple script that takes a sequence of photos and combines them into a movie using ffmpeg. Donovan actually showed me the script, then I made a version specific to my computer. It's really basic, but it's been a big help so far working on the Haley film. I often have to render out my current progress on composites and post it to the Haley blog. Before I would render out my composite as a png sequence and then import to After Effects. Using ffmpeg quickens that process by a lot, plus the file size is super small. It will create a 1080p clip that's only around 1mb, without loosing any quality that I can tell.
Script:
#!/bin/bash
cd ~
cd /Users/Colin/Haley/2-16/png2
ffmpeg -i Scene2_shot_16_1%03d.png -r 24 -b 2000000 -vcodec libx264 -vpre hq -vpre normal test.Scene_2_1.mp4
No comments:
Post a Comment