Skip to content

Commit

Permalink
fix: removed the -vn flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Paxx committed Apr 11, 2023
1 parent 2ff105e commit e2c52a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {
}

fmt.Println("reading flags")
args := fmt.Sprintf("-y -i %s -vn -af asetnsamples=%d,astats=metadata=1:reset=1,ametadata=print:key=lavfi.astats.Overall.RMS_level:file=log.txt -f null -", flags.Input, flags.Samples)
args := fmt.Sprintf("-y -i %s -af asetnsamples=%d,astats=metadata=1:reset=1,ametadata=print:key=lavfi.astats.Overall.RMS_level:file=log.txt -f null -", flags.Input, flags.Samples)
split := strings.Split(args, " ")
command := exec.Command("ffmpeg", split...)
command.Args = slice_helper.RemoveEmptyEntries(command.Args)
Expand Down

0 comments on commit e2c52a2

Please sign in to comment.