How to create time-lapse movies from JPEG stills: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
==== Using <tt>ffmpeg</tt> ==== | ==== Using <tt>ffmpeg</tt> ==== | ||
* Download and install <tt>ffmpeg</tt> either via [[homebrew]], compiling or just downloading binary from: http://ffmpegmac.net | * Download and install <tt>ffmpeg</tt> either via [[homebrew]], compiling or just downloading binary from: http://ffmpegmac.net | ||
* This…<br><tt>~/bin/ffmpeg -t 20 -f image2 -r 1 -loop 1 -i "%05d.jpg" -r 30 "out.mov"</tt><ref>Since the pictures taken are named like this: <tt>2014-03-30_10-17-02.jpg, you will have to rename them, for example with a [[Script for renaming files using numbers|little script]] or [[Better Finder Rename]]</tt></ref><br>…will create a movie with | * This…<br><tt>~/bin/ffmpeg -t 20 -f image2 -r 1 -loop 1 -i "%05d.jpg" -r 30 "out.mov"</tt><ref>Since the pictures taken are named like this: <tt>2014-03-30_10-17-02.jpg, you will have to rename them, for example with a [[Script for renaming files using numbers|little script]] or [[Better Finder Rename]]</tt></ref><br>…will create a movie with… | ||
** -t 20 = length of movie (20 seconds) | |||
** -f image2 = force format for output or input? TBD! | |||
** -r 1 = input-rate (1 image per second) | |||
** -i "%05d.jpg" = input files with wildcard | |||
** -r 30 "out.mov" = output frame rate and file name | |||
==== Using <tt>mencoder</tt> ==== | ==== Using <tt>mencoder</tt> ==== |
Revision as of 10:22, 6 April 2014
The Mission
Trying to combine many .jpg-files into one movie, using my Mac with Mac OS X 10.8 Snow Leopard.
The Solution(s)
Using ffmpeg
- Download and install ffmpeg either via homebrew, compiling or just downloading binary from: http://ffmpegmac.net
- This…
~/bin/ffmpeg -t 20 -f image2 -r 1 -loop 1 -i "%05d.jpg" -r 30 "out.mov"[1]
…will create a movie with…- -t 20 = length of movie (20 seconds)
- -f image2 = force format for output or input? TBD!
- -r 1 = input-rate (1 image per second)
- -i "%05d.jpg" = input files with wildcard
- -r 30 "out.mov" = output frame rate and file name
Using mencoder
- tbd*
- Links
- Man pages: http://linux.die.net/man/1/ffmpeg
- ffmpeg precompiled for your Mac: http://ffmpegmac.net
- https://lukecyca.com/2013/stop-motion-with-ffmpeg.html
- http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-images.html
- Footnotes:
- ↑ Since the pictures taken are named like this: 2014-03-30_10-17-02.jpg, you will have to rename them, for example with a little script or Better Finder Rename