MP4 to PNG Sequence - jhogsett/EMA-VFI-WebUI GitHub Wiki
MP4 to PNG Sequence - Use FFmpeg to convert MP4 video to set of PNG frame files
How It Works
- Set MP4 File to the path and filename of a MP4 file on this server for conversion
- Set PNG Files Path to a path on this server for the converted PNG files
- 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 filenamesimage000.png
throughimage999.png
image%05d.png
allows for output filenamesimage00000.png
throughimage99999.png
- 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
- 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
- Check Deinterlace Frames if converting interlaced content
- Click Convert
ffmpeg.exe
is used to perform the conversion- 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