Do not limit threads on the encoding.
parent
a3fd159984
commit
e1de3e07e0
1
ytdl.go
1
ytdl.go
|
@ -124,7 +124,6 @@ func DownloadAmbiance(uri string, name string) error {
|
||||||
"-ar", strconv.Itoa(sampleRate),
|
"-ar", strconv.Itoa(sampleRate),
|
||||||
"-ac", strconv.Itoa(channels),
|
"-ac", strconv.Itoa(channels),
|
||||||
"-af", "loudnorm=I=-16:LRA=11:TP=-1.5",
|
"-af", "loudnorm=I=-16:LRA=11:TP=-1.5",
|
||||||
"-threads", "4",
|
|
||||||
filepath.Join("./ambiance/", name+".mp3"),
|
filepath.Join("./ambiance/", name+".mp3"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue