Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Youtube not finding bestaudio on some videos #23624

Closed
itsnotoger opened this issue Jan 4, 2020 · 0 comments
Closed

Youtube not finding bestaudio on some videos #23624

itsnotoger opened this issue Jan 4, 2020 · 0 comments

Comments

@itsnotoger
Copy link

@itsnotoger itsnotoger commented Jan 4, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.01.01
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

.\youtube-dl.exe -f bestaudio -v jdYJf_ybyVo
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestaudio', '-v', 'jdYJf_ybyVo']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.01.01
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg git-2020-01-01-7b58702, ffprobe N-82889-g54931fd
[debug] Proxy map: {}
[youtube] jdYJf_ybyVo: Downloading webpage
[youtube] jdYJf_ybyVo: Downloading video info webpage
[youtube] {18} signature length 104, html5 player vflLL20EX
[youtube] {136} signature length 104, html5 player vflLL20EX
[youtube] {247} signature length 104, html5 player vflLL20EX
[youtube] {135} signature length 104, html5 player vflLL20EX
[youtube] {244} signature length 100, html5 player vflLL20EX
[youtube] {397} signature length 104, html5 player vflLL20EX
[youtube] {134} signature length 104, html5 player vflLL20EX
[youtube] {243} signature length 104, html5 player vflLL20EX
[youtube] {396} signature length 104, html5 player vflLL20EX
[youtube] {133} signature length 104, html5 player vflLL20EX
[youtube] {242} signature length 104, html5 player vflLL20EX
[youtube] {395} signature length 104, html5 player vflLL20EX
[youtube] {160} signature length 100, html5 player vflLL20EX
[youtube] {278} signature length 104, html5 player vflLL20EX
[youtube] {394} signature length 104, html5 player vflLL20EX
[youtube] {140} signature length 104, html5 player vflLL20EX
[youtube] {249} signature length 104, html5 player vflLL20EX
[youtube] {250} signature length 100, html5 player vflLL20EX
[youtube] {251} signature length 100, html5 player vflLL20EX
[youtube] {256} signature length 104, html5 player vflLL20EX
[youtube] {258} signature length 100, html5 player vflLL20EX
[debug] Invoking downloader on 'https://r1---sn-4g5e6nzl.googlevideo.com/videoplayback?expire=1578174074&ei=GrIQXrO2LcLb1gLY17HYBA&ip=2003%3Adc%3Aef48%3A3b16%3A914e%3Afd40%3A8577%3A1e1b&id=o-AASgc0e3w-T7zEQFWItmW25-qCL7cUvCl7XcR-kk_SCG&itag=258&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-4g5e6nzl%2Csn-i5heen7l&ms=au%2Conr&mv=m&mvi=0&pl=35&initcwndbps=1177500&mime=audio%2Fmp4&gir=yes&clen=35131176&dur=724.693&lmt=1547765945696549&mt=1578152375&fvip=1&keepalive=yes&fexp=23842630&c=WEB&txp=5511222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRAIgGVIJwybHE9Lh023L23upmmNHXOnk2Mpxhd-X0SnSArcCIBg41C-nc2WTfFKq7mMtORl-gJHHftl5qScnPDqtFXBD&sig=ALgxI2wwRAIgKb98FXeHdcZTYb4xJXfil7HTMrhSQb4HswJ8gDZDI48CICd7-CfGiy98lUj-X4A0ehwvGLKh65RWeCr1ly5X47hw&ratebypass=yes'
[download] Destination: OCEAN - John Butler - 2012 Studio Version-jdYJf_ybyVo.m4a
[download] 100% of 33.50MiB in 00:03
[ffmpeg] Correcting container in "OCEAN - John Butler - 2012 Studio Version-jdYJf_ybyVo.m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:OCEAN - John Butler - 2012 Studio Version-jdYJf_ybyVo.m4a" -c copy -f mp4 "file:OCEAN - John Butler - 2012 Studio Version-jdYJf_ybyVo.temp.m4a"

Description

On the video used above, and a few others I've found, the bestaudio option fails to detect the presence of the webm 160K opus option, and instead falls back to the second best m4a aac 128K option (which by the way with -x converts to horrible 5K opus audio). Also if I run opus instead of bestaudio, it doesn't find anything.

If I run bestaudio[ext=webm] or bestaudio[acodec=opus], it does however find the best quality. On the vast majority of videos those bracket options are not needed though, which is very misleading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.