Skip to content

Instantly share code, notes, and snippets.

@nimatrueway
nimatrueway / subtitle-overlap-fixer.go
Last active May 2, 2024 13:57
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"