Skip to content

Change FPS

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

Screenshot 2023-03-06 163353

Change FPS - Use Frame Search to change frame rate by Inserting and Removing frames

Uses

  • Convert a video from any FPS to any FPS
  • Create slow-motion video at any slow-down rate
  • Create time-lapse video at any speed-up rate

How it works

  1. Set Input Path to a directory on this server containing video frame PNG files for conversion
  2. Set Output Path to a directory on this server for the converted PNG files
    • Output Path can be left blank to use the default folder
    • The default folder is set by the config.directories.output_fps_change setting
  3. Set Starting FPS to the frame rate of the video being converted
  4. Set Ending FPS to the frame rate for the converted video frames
    • The lowest-common-multiple Super-Sampling frame rate is computed
    • This rate is the smallest that's evenly divisible by both rates
      • The super-sample rate shows in the Lowest Common FPS box
    • A Super-Sampling Set of frames will be computed at the higher common frame rate
      • If needed, Filler Frames will be interpolated to inflate the original video's frame rate to the super-sample rate
        • The fill count shows in the Filled Frames per Input Frame box
      • If needed, the super-sample set is Sampled to achieve the final frame rate
        • The sample rate shows in the Output Frames Sample Rate box
  5. Set Search Precision to the depth of search needed for accuracy
    • High precision yields precise frame timing, but takes a long time
    • Less precision is faster, with possible imprecise frame timing
    • The target search times and predicted matches are shown in theFrame Search Times and Predicted Matches box
  6. Leave Duplicate frames to fill unchecked except in special cases
    • If checked, the before frame of the Frame Search pair of frames will be duplicated instead of using interpolation to find frame at a precise frame
    • Tip: This will add filler frames very quickly, but very imprecisely
  7. Click Convert
  8. When complete, files are resequenced to have a fixed-width frame index
    • Filenames include a reference to their new resampled FPS

Important

  • This process could be slow, perhaps many hours long!
  • Progress is shown in the console using a standard progress bar
  • The browser window does NOT need to be left open
  • Some combinations of Starting FPS / Ending FPS may be impractical
    • A warning is displayed if the Filled Frames per Input Frame exceeds 100
    • Check the Frame Search Times and Predicted Matched fields