image2mpeg
- typhon.utils.image2mpeg(glob, outfile, framerate=12, resolution='1920x1080')[source]
Combine image files to a video using
ffmpeg
.Notes
The function is tested for
ffmpeg
versions 2.8.6 and 3.2.2.- Parameters:
- Raises:
Exception – The function raises an exception if the underlying
ffmpeg
process returns a non-zero exit code.
Example
>>> image2mpeg('foo_*.png', 'foo.mp4')