Added the output logs but need to make this an option.

master
Zed A. Shaw 1 month ago
parent efa0daf3ee
commit f92a8243e8
  1. 5
      go.mod
  2. 2
      go.sum
  3. 2
      main.go

@ -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

@ -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=

@ -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())

Loading…
Cancel
Save