avoid ec-3 audio codec
This commit is contained in:
parent
e1689a2a6c
commit
7d12a90139
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ func (v *YoutubeVideo) download() error {
|
||||||
//speedThrottleRetries := 3
|
//speedThrottleRetries := 3
|
||||||
for i := 0; i < len(qualities); i++ {
|
for i := 0; i < len(qualities); i++ {
|
||||||
quality := qualities[i]
|
quality := qualities[i]
|
||||||
argsWithFilters := append(ytdlArgs, "-fbestvideo[ext=mp4][vcodec!*=av01][height<="+quality+"]+bestaudio[ext!=webm][format_id!=258][format_id!=251][format_id!=256][format_id!=327]")
|
argsWithFilters := append(ytdlArgs, "-fbestvideo[ext=mp4][vcodec!*=av01][height<="+quality+"]+bestaudio[ext!=webm][format_id!=258][format_id!=251][format_id!=256][format_id!=327][format_id!=328]")
|
||||||
argsWithFilters = append(argsWithFilters, userAgent...)
|
argsWithFilters = append(argsWithFilters, userAgent...)
|
||||||
//if speedThrottleRetries > 0 {
|
//if speedThrottleRetries > 0 {
|
||||||
// speedThrottleRetries--
|
// speedThrottleRetries--
|
||||||
|
|
Loading…
Reference in a new issue