Skip to content

PNG Sequence to MP4

Jerry Hogsett edited this page Jun 29, 2023 · 2 revisions

Screenshot 2023-03-06 162521

PNG Sequence to MP4 - Use FFmpeg to convert a video PNG sequence to MP4

How It Works

  1. Set PNG Files Path to a path on this server to the PNG files being converted
  2. Set MP4 File to a path and filename on this server for the converted MP4 file
  3. Set Input Name Pattern according to the format of the input PNG filenames
    • The PNG files should all have the same base filename + a fixed-width frame index starting at 0
    • Examples:
      • For files named image000.png through image999.png the pattern should be image%03d.png
      • For files named image00000.png through image99999.png the pattern should be image%05d.png
    • Input Name Pattern can be left blank for automatic detection
  4. Set Frame Rate to the required video FPS
  5. Set Quality to the required video quality
    • The range is 17-28 (17 is near-lossless)
    • Lower numbers = better quality with a higher file size
    • This value is passed to ffmpeg.exe as the -crf parameter
    • The range of quality values can be changed in config.yaml
  6. Click Convert
  7. ffmpeg.exe is used to perform the conversion
  8. The Details box shows the ffmpeg.exe command line used

Important

  • ffmpeg.exe must be available on the system path
  • The produced video will not have an audio stream
  • Resequence Files can be used to renumber a PNG sequence
  • The Video Preview tab on the Video Blender page can be used to watch a preview video of a set of PNG files
Clone this wiki locally