Skip to content

Instantly share code, notes, and snippets.

Avatar

kageru

View GitHub Profile
@kageru
kageru / snap_scenechanges.py
Last active Jan 28, 2017 — forked from FichteFoll/snap_scenechanges.py
Snap start and end times of ASS subtitles to scene changes using WWXD
View snap_scenechanges.py
#!/usr/bin/env python3.6
"""Snap start and end times of ASS subtitles to scene changes using WWXD.
Does not work with variable frame rate (VFR).
usage: snap_scenechanges.py [-h] [--epsilon EPSILON] [-o OUTPUT] [-v]
sub_path video_path
You can’t perform that action at this time.