Image Sequence to MP4

Overview

This pyhton script converts an image sequence into an mp4 video.

Algorithm

  1. Find the path to the parent directory

  2. List the image files

  3. Deconstruct the image name into parts

  4. Create a database to help organize and differentiate the image sequences in the folder

  5. Import the ffmpeg_scripts module (must be written)

  6. Open a file and write the appropriate ffmpeg command

Usage:

  1. Be sure to copy both python scripts into the folder with the image sequence(s).

  2. A .bat file should be generated for each image sequence in the folder.

  3. Open a CMD window to run the .bat file OR,

  4. double click the .bat file directly in the folder.

Screen grab of the final result of the script

Screen grab of the final result of the script