diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -231,6 +231,10 @@ func main() { fmt.Println("sum of utterances:", len(utterances)) + if err := os.MkdirAll(outdir, 0755); err != nil { + panic(err) + } + ffmpegCommands := make(map[string]struct{}) // // needs to be oneline command to be unique // ffCommandsRaw := readLines(ffCmdOut) @@ -239,6 +243,7 @@ func main() { // } for _, ut := range utterances { ffmpegCommands[buildFFmpegCall(ut)] = struct{}{} + cutoutClipAndTranscode(ut) } fflines := keysToSlice(ffmpegCommands) fmt.Println("# lines: ", len(fflines)) |