Skip to content

Change FPS

Jerry Hogsett edited this page Mar 7, 2023 · 6 revisions

Screenshot 2023-03-06 163353

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
  5. 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
  6. A Super-Sampling Set of frames is 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
  7. Set 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
  8. A super-set of frame seaches is computed at the higher lowest common FPS frame rate
    • The sample-set is pre-sampled to filter out frame interpolations not needed in the final frame set
  9. Click Convert
  10. Frame search is run to create all new filler frames
    • Original video frames are also copied if in the sample set
  11. 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
Clone this wiki locally