Skip to content

Split Frames

Jerry Hogsett edited this page Jun 29, 2023 · 1 revision

Split Frames - Split a large set of PNG frames into sub-directories

Uses

  • Break up a large processing job into manageable chunks
  • Transport a large sets of files faster with less file overhead
  • Split raw content for easier preselection review

How It Works

  1. Set PNG Files Path to a path on this server to the PNG files to be split
  2. Set Split Groups Base Path to a path on this server to store the new sub-directories
    • Tip: this can be the same path as PNG files Path
  3. Set Number of Split Groups to the desired number of new sub-directories
  4. Leave Maximum Files Per Group set to 0
    • If needed, set to a value to have the split group count computed automatically
    • Tip: set to 1800 to split a 30 FPS video into 1-minute groups
  5. Choose Split Type
    • Precise splits files among the new sub-directories without duplicates
    • Resynthesis creates groups of files that can be processed independently using Resynthesize Video and then recombined
    • Inflation creates groups of files that can be processed independently using Video Inflation and then recombined
    • Tip: The Merge Frames feature can be used to recombine files split using Split Frames
  6. Choose Files Action
    • Copy copies the files to the new sub-directories
    • Move copies the files and then deletes the original files on success
  7. Click Split Frames
    • Progress can be tracked in the console

Split Type Details

  • Precise
    • Copies the only the files needed to split up the original files, without adding any additional files
      • Useful in cases where processing won't increase or decrease the frame count
    • Files retain their original filenames
  • Resynthesize
    • Copies files necessary to use Resynthesize Video separately on each group and then recombine with the other groups after processing
      • For each group, the beginning and ending frames from neighboring groups are borrowed to support resynthesis
      • The excess frames are removed during the resynthesis process, requiring no special handling to recombine the processed files
    • Each group of files is renumbered to have a starting frame #0
  • Inflation
    • Copies files necessary to use Video Inflation separately on each group and then recombine the results for all groups
      • Each group shares common keyframes with its neighboring groups to support the inflation process
      • The shared keyframes are kept after the inflation process, and duplicates are automatically removed when recombining using Merge Frames
    • Each group of files is renumbered to have a starting frame #0

⚠️ Important

  1. Make a backup copy of the original files before using Move due to the danger of losing the original content
  2. The Merge Frames feature can be used to undo the a split or combine groups after processing
  3. Ensure the only files present in the PNG Files Path are the ones to be split
  4. Files are taken in Python sorted() order
Clone this wiki locally