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

Unable to get the lower quality audio formats from youtube music #9909

Closed
10 of 11 tasks
aryanchoudharypro opened this issue May 11, 2024 · 4 comments
Closed
10 of 11 tasks
Labels
site-bug Issue with a specific website wontfix This will not be worked on

Comments

@aryanchoudharypro
Copy link

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

No response

Provide a description that is worded well enough to be understood

For downloading audios, I used the lower qualities from youtube music like 599 and 600. It no longer recognises those qualities and doesnt even show them when I do --list-formats.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '--list-formats', 'https://music.youtube.com/watch?v=SEpTl9hlyq8']                 
[debug] Portable config "C:\Users\aryan\AppData\Local\WinGet\Packages\yt-dlp.yt-dlp_Microsoft.Winget.Source_8wekyb3d8bbwe\yt-dlp.conf": ['--downloader', 'aria2c', '--output', '%userprofile%\\downloads\\yt-dlp\\%(title)s.%(ext)s']           
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8                           
[debug] yt-dlp version nightly@2024.05.10.232705 from yt-dlp/yt-dlp-nightly-builds [4cc99d7b6] (win_exe)                
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.26120-SP0 (OpenSSL 1.1.1k  25 Mar 2021)                   
[debug] exe versions: ffmpeg 6.1-full_build-www.gyan.dev (setts), ffprobe 6.1-full_build-www.gyan.dev                   
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0                                                              
[debug] Proxy map: {}                                                                                                   
[debug] Request Handlers: urllib, requests, websockets, curl_cffi                                                       
[debug] Loaded 1811 extractors                                                                                          
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest                
Latest version: nightly@2024.05.10.232705 from yt-dlp/yt-dlp-nightly-builds                                             
yt-dlp is up to date (nightly@2024.05.10.232705 from yt-dlp/yt-dlp-nightly-builds)                                      
[youtube] Extracting URL: https://music.youtube.com/watch?v=SEpTl9hlyq8                                                 
[youtube] SEpTl9hlyq8: Downloading webpage                                                                              
[youtube] SEpTl9hlyq8: Downloading ios player API JSON                                                                  
[youtube] SEpTl9hlyq8: Downloading android player API JSON                                                              
[youtube] SEpTl9hlyq8: Downloading ios music player API JSON                                                            
[youtube] SEpTl9hlyq8: Downloading android music player API JSON                                                        
[youtube] SEpTl9hlyq8: Downloading web music client config                                                              
[youtube] SEpTl9hlyq8: Downloading player 17fd9675                                                                      
[youtube] SEpTl9hlyq8: Downloading web music player API JSON                                                            
WARNING: [youtube] Skipping player responses from android clients (got player responses for video "aQvGIIdgFDM" instead of "SEpTl9hlyq8")                                                                                                       
[debug] [youtube] Extracting signature function js_17fd9675_109                                                         
[debug] Loading youtube-sigfuncs.js_17fd9675_109 from cache                                                             
[debug] Loading youtube-nsig.17fd9675 from cache                                                                        
[debug] [youtube] Decrypted nsig Leq_4Du4z_Qoan => smw-SMZs3TmH_w                                                       
[debug] Loading youtube-nsig.17fd9675 from cache                                                                        
[debug] [youtube] Decrypted nsig L1YCOpjkQewAT5 => ihqzDshlP_9ufw                                                       
[debug] [youtube] Extracting signature function js_17fd9675_105                                                         
[debug] Loading youtube-sigfuncs.js_17fd9675_105 from cache                                                             
[youtube] SEpTl9hlyq8: Downloading m3u8 information                                                                     
[youtube] SEpTl9hlyq8: Downloading m3u8 information                                                                     
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto   
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id                                                                        
[info] Available formats for SEpTl9hlyq8:                                                                               
ID  EXT   RESOLUTION FPS CH │   FILESIZE    TBR PROTO │ VCODEC           VBR ACODEC      ABR ASR MORE INFO              
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 
sb3 mhtml 48x27        0    │                   mhtml │ images                                   storyboard             
sb2 mhtml 80x45        1    │                   mhtml │ images                                   storyboard             
sb1 mhtml 160x90       1    │                   mhtml │ images                                   storyboard             
sb0 mhtml 320x180      1    │                   mhtml │ images                                   storyboard             
233 mp4   audio only        │                   m3u8  │ audio only           unknown             Default, IOS           
234 mp4   audio only        │                   m3u8  │ audio only           unknown             Default, IOS           
139 m4a   audio only      2 │    1.23MiB    49k https │ audio only           mp4a.40.5   49k 22k low, IOS, m4a_dash     
249 webm  audio only      2 │    1.43MiB    57k https │ audio only           opus        57k 48k low, WEB, webm_dash    
250 webm  audio only      2 │    1.88MiB    74k https │ audio only           opus        74k 48k low, WEB, webm_dash    
140 m4a   audio only      2 │    3.27MiB   130k https │ audio only           mp4a.40.2  130k 44k medium, IOS, m4a_dash  
251 webm  audio only      2 │    3.66MiB   145k https │ audio only           opus       145k 48k medium, WEB, webm_dash 
602 mp4   256x144     12    │ ~  2.19MiB    87k m3u8  │ vp09.00.10.08    87k video only          IOS                    
394 mp4   256x144     24    │    1.45MiB    57k https │ av01.0.00M.08    57k video only          144p, WEB, mp4_dash    
269 mp4   256x144     24    │ ~  4.27MiB   169k m3u8  │ avc1.4D400C     169k video only          IOS                    
160 mp4   256x144     24    │    2.17MiB    86k https │ avc1.4D400C      86k video only          144p, IOS, mp4_dash    
603 mp4   256x144     24    │ ~  4.10MiB   162k m3u8  │ vp09.00.11.08   162k video only          IOS                    
278 webm  256x144     24    │    1.90MiB    75k https │ vp09.00.11.08    75k video only          144p, IOS, webm_dash   
395 mp4   426x240     24    │    3.04MiB   120k https │ av01.0.00M.08   120k video only          240p, WEB, mp4_dash    
229 mp4   426x240     24    │ ~  7.84MiB   310k m3u8  │ avc1.4D4015     310k video only          IOS                    
133 mp4   426x240     24    │    4.76MiB   189k https │ avc1.4D4015     189k video only          240p, IOS, mp4_dash    
604 mp4   426x240     24    │ ~  7.80MiB   309k m3u8  │ vp09.00.20.08   309k video only          IOS                    
242 webm  426x240     24    │    3.69MiB   146k https │ vp09.00.20.08   146k video only          240p, IOS, webm_dash   
396 mp4   640x360     24    │    6.17MiB   245k https │ av01.0.01M.08   245k video only          360p, WEB, mp4_dash    
230 mp4   640x360     24    │ ~ 20.25MiB   801k m3u8  │ avc1.4D401E     801k video only          IOS                    
134 mp4   640x360     24    │    9.09MiB   360k https │ avc1.4D401E     360k video only          360p, IOS, mp4_dash    
18  mp4   640x360     24  2 │ ≈ 12.36MiB   489k https │ avc1.42001E          mp4a.40.2       44k 360p, WEB              
605 mp4   640x360     24    │ ~ 18.02MiB   713k m3u8  │ vp09.00.21.08   713k video only          IOS                    
243 webm  640x360     24    │    8.43MiB   334k https │ vp09.00.21.08   334k video only          360p, IOS, webm_dash   
397 mp4   854x480     24    │   10.68MiB   423k https │ av01.0.04M.08   423k video only          480p, WEB, mp4_dash    
231 mp4   854x480     24    │ ~ 34.02MiB  1346k m3u8  │ avc1.4D401E    1346k video only          IOS                    
135 mp4   854x480     24    │   14.73MiB   584k https │ avc1.4D401E     584k video only          480p, IOS, mp4_dash    
606 mp4   854x480     24    │ ~ 29.08MiB  1151k m3u8  │ vp09.00.30.08  1151k video only          IOS                    
244 webm  854x480     24    │   12.45MiB   493k https │ vp09.00.30.08   493k video only          480p, IOS, webm_dash   
22  mp4   1280x720    24  2 │ ≈ 26.84MiB  1063k https │ avc1.64001F          mp4a.40.2       44k 720p, ANDR-M           
398 mp4   1280x720    24    │   19.57MiB   775k https │ av01.0.05M.08   775k video only          720p, WEB, mp4_dash    
232 mp4   1280x720    24    │ ~ 49.64MiB  1964k m3u8  │ avc1.4D401F    1964k video only          IOS                    
136 mp4   1280x720    24    │   23.57MiB   934k https │ avc1.4D401F     934k video only          720p, IOS, mp4_dash    
609 mp4   1280x720    24    │ ~ 50.84MiB  2012k m3u8  │ vp09.00.31.08  2012k video only          IOS                    
247 webm  1280x720    24    │   22.84MiB   905k https │ vp09.00.31.08   905k video only          720p, IOS, webm_dash   
399 mp4   1920x1080   24    │   33.79MiB  1339k https │ av01.0.08M.08  1339k video only          1080p, WEB, mp4_dash   
270 mp4   1920x1080   24    │ ~118.47MiB  4688k m3u8  │ avc1.640028    4688k video only          IOS                    
137 mp4   1920x1080   24    │   70.42MiB  2790k https │ avc1.640028    2790k video only          1080p, IOS, mp4_dash   
614 mp4   1920x1080   24    │ ~ 85.56MiB  3385k m3u8  │ vp09.00.40.08  3385k video only          IOS                    
248 webm  1920x1080   24    │   39.10MiB  1549k https │ vp09.00.40.08  1549k video only          1080p, IOS, webm_dash  
400 mp4   2560x1440   24    │  105.90MiB  4196k https │ av01.0.12M.08  4196k video only          1440p, WEB, mp4_dash   
620 mp4   2560x1440   24    │ ~239.49MiB  9476k m3u8  │ vp09.00.50.08  9476k video only          IOS                    
271 webm  2560x1440   24    │  142.53MiB  5647k https │ vp09.00.50.08  5647k video only          1440p, IOS, webm_dash  
401 mp4   3840x2160   24    │  197.27MiB  7817k https │ av01.0.12M.08  7817k video only          2160p, WEB, mp4_dash   
625 mp4   3840x2160   24    │ ~477.13MiB 18880k m3u8  │ vp09.00.50.08 18880k video only          IOS                    
3
@aryanchoudharypro aryanchoudharypro added site-bug Issue with a specific website triage Untriaged issue labels May 11, 2024
@bashonly
Copy link
Member

Another side-effect/casualty of #9554 (yt-dlp can't get Android client formats anymore).

It looks like formats 599 and 600 are still available via the mweb client, though, so the workaround would be:

--extractor-args "youtube:player_client=ios,web,mweb"

@aryanchoudharypro
Copy link
Author

it works with no issues. it should be implemented by default if it does not have any side effects

@pukkandan
Copy link
Member

pukkandan commented May 12, 2024

Adding it to default would cause an additional API request per video and every user. Sorry, but these lower quality formats aren't valuable enough for normie users to justify it. Advanced users who need these specific formats can use the --extractor-args

@pukkandan pukkandan added wontfix This will not be worked on and removed triage Untriaged issue labels May 12, 2024
@aryanchoudharypro
Copy link
Author

Yes you are correct

@pukkandan pukkandan closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-bug Issue with a specific website wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants