Skip to content

MP4 to PNG Sequence

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

Screenshot 2023-03-06 162334

MP4 to PNG Sequence - Use FFmpeg to convert MP4 video to set of PNG frame files

How It Works

  1. Set MP4 File to the path and filename of a MP4 file on this server for conversion
  2. Set PNG Files Path to a path on this server for the converted PNG files
  3. Set Output Filename Pattern to a pattern for the new filenames
    • The pattern should be a base filename + frame index specifier + and filetype
    • The frame index specifier should be based on the video frame count for proper sorting
    • Examples:
      • image%03d.png allows for output filenames image000.png through image999.png
      • image%05d.png allows for output filenames image00000.png through image99999.png
  4. Set Frame Rate to the source video FPS to avoid repeated or dropped frames
    • Tip: The Video Details feature can be used to get the frame rate for a media file
  5. Typically, leave Deinterlace Frames unchecked
    • Check Deinterlace Frames if converting interlaced content
      • Examples: Over-the-Air content, 480i & 1080i content
      • Deinterlacing removes the combing effect that can occur when converting interlaced content
  6. Click Convert
  7. ffmpeg.exe is used to perform the conversion
  8. The Details box shows the ffmpeg.exe command line used

Important

  • If Deinterlace Frames is checked, the actual FPS of the converted frames will be doubled
    • For example, a 30 FPS interlaced video will be converted to PNG frames as a 60 FPS progressive video, doubling the frame count
  • ffmpeg.exe must be available on the system path
  • 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