From f92a8243e818630b10cd21528b5907b9d981c38f Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Fri, 14 Nov 2025 10:38:06 -0500 Subject: [PATCH] Added the output logs but need to make this an option. --- go.mod | 5 +---- go.sum | 2 -- main.go | 2 ++ 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index eeb346a..7e1f2c3 100644 --- a/go.mod +++ b/go.mod @@ -2,10 +2,7 @@ module lcthw.dev/go/vidcrunch go 1.24.2 -require ( - github.com/BurntSushi/toml v1.5.0 - github.com/modfy/fluent-ffmpeg v0.1.0 -) +require github.com/modfy/fluent-ffmpeg v0.1.0 require ( github.com/fatih/structs v1.1.0 // indirect diff --git a/go.sum b/go.sum index 0b2a71b..891cde9 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg= -github.com/BurntSushi/toml v1.5.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho= github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/modfy/fluent-ffmpeg v0.1.0 h1:9T191rhSK6KfoDo9Y/+0Tph3khrudvLQEEi05O+ijHA= diff --git a/main.go b/main.go index 80c01c3..6bb8474 100644 --- a/main.go +++ b/main.go @@ -68,6 +68,8 @@ func Run(encoding config.VideoOpts, pass int, pid int, input string, output stri cmd := encode.InputPath(input). OutputFormat(encoding.Format). OutputPath(output). + OutputLogs(os.Stdout). + Overwrite(true). Build() fmt.Println(">", cmd.String())