Skip to content

sliterok/pytti-ebsynth

Repository files navigation

Description

This is a set of tools to make smooth videos with pytti without wasting your time to render frames that you don't really need.
Example can be found here.

Requirements

Flow

  • init project (init)
  • generate frames with pytti and save to projects/{project}/generated/*.png
  • split original video to frames (split)
  • rename generated frames to match original sequence (rename)
  • (optional) copy ebgen.config.json to your project folder and update it with your settings (or edit global one)
  • generate ebsynth project files (ebgen)
  • run each ebsynth project file to generate interpolation frames (eb.ahk)
  • make transitions between interpolated frames with sharp (interpolate)
  • join interpolated and transitioned frames into video (join)
  • reencode resulting video with codec you like

Details

Init

  • npm i will install requirements
  • node . will show you help

Commands

  • init [project] Initialize a new project
  • split [project] [filename] Split video into individual frames
  • rename [project] [scale] --move n --shift n Renames generated frames to match source indexing
  • ebgen [project] [crossfade] Generates ebsynth files
  • interpolate [project] [formula] Interpolates between frames with opacity calculated by distance passed to formula
  • join [project] [framerate] Joins interpolated frames to video

AHK scripts

  • eb.ahk

    Will automate ebsynth clicking for you. Just edit idx and max values in the .ahk file to match your .ebs files indexes (don't include last file as window height probably won't match)