The whole Quicktime 7 and Automator script process seemed a bit tortured for something that should be really very simple. Just like I suspected there should be a way to do image processing via the command line, I wondered if I could do the same for movie creation. Enter FFMPEG.
Install FFMPEG
- Install Homebrew a command line package manager for lots of little system extensions that doesn’t disrupt the works of MacOSX.
- Install FFMPEG
Then all that is need to create a video from the files:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#REQUIRES FFMPEG | |
mogrify *.png -gravity south -crop 1240×860+0+0 +repage *.png | |
ffmpeg -framerate 4 -pattern_type glob -i '*.png' -c:v libx264 -pix_fmt yuv420p output.mp4 |
I don’t totally understand all those settings, but they work.
References
- http://superuser.com/questions/533695/how-can-i-convert-a-series-of-png-images-to-a-video-for-youtube
- https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images