Funscript Gap Remover
comrade420 here with a tool here to save everyone some disk space.
This program, written in python, will trim unscripted sections from videos and produce a clipped funscript to match.
features
— fast, lossless stream copy clips without compromising accuracy.
Over the course of this project I’ve learned lossless clipping is very fragile and will either fail or produce an inaccurate funscript or audio sync for a number of reasons. This program will check for and account for those issues. Among other things, it will compare screenshots of frames from the original and in the clipped video file to ensure that the clipped funscript has a frame accurate sync and will skip files that it has detected are too compromised to create an accurate lossless clip.
— Customizable reencode options using ffmpeg
— Customizable clip settings. Trail in and trail out times. Minimum gap size. Padding on each side of a clip to avoid sudden cuts.
— Re-cut video – Given a clipped funscript and original full video file, cut the original video file to match the clipped funscript using stored clip metadata inside the funscript.
— Stop/Pause of a batch.
Requirements:
Download here
Be advised that this tool does not handle multi-axis scripts.
Source files included.
