Skip to content

Retime audio and video of a video file according to a given curve and save as a new video file

Notifications You must be signed in to change notification settings

splidje/retime_audiovideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

retime_audiovideo

Run retime_audiovideo.py -h to see usage.

You can give it points on a curve or a python expression describing how to map an out time to an in time (in seconds).

The curve option takes comma separated points on the curve and gradient. The first point can be without gradient: e.g. --curve 0 0, 10 110 1, 20 120 1 Which describes a curve making the first 110 seconds of the input video fit into the first 10 seconds of the output video, gradually slowing down to normal speed, then the last 10 seconds is at normal speed

Requirements

  • Python3
  • moviepy
  • numpy
  • librosa
  • cv2

About

Retime audio and video of a video file according to a given curve and save as a new video file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages