Skip to content

Instantly share code, notes, and snippets.

View codebycaleb's full-sized avatar

Caleb M codebycaleb

View GitHub Profile
@codebycaleb
codebycaleb / subtitle-overlap-fixer.go
Created May 2, 2024 13:57 — forked from nimatrueway/subtitle-overlap-fixer.go
Little tool to fix overlapping subtitles (especially the ones extracted from english auto-subtitles of youtube, vtt files that you would convert to srt with ffmpeg)
package main
import (
"time"
"regexp"
"bufio"
"strconv"
"fmt"
"os"
"errors"