Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to download ONLY bestaudio (-f 141) from YouTube? #4291
Comments
|
There is nothing wrong with youtube-dl. MPEG DASH is not supported by Winamp nor Windows Media Player. MPEG DASH is a recent implementation by YouTube which neither media player supports. Are you familiar with ffmpeg? You can use the following command to remove the MPEG DASH and convert it to a M4A (AAC) that will play in the media player of your choosing: ffmpeg -i "let-it-go.m4a" -vn -c:a copy "let-it-go-converted.m4a" |
|
Interesting. What players can handle this MPEG dash? FYI, not WMP. I meant Media Player Classic Home Cinema: http://mpc-hc.org/ ... |
|
Only player I've used that can play MPEG DASH is VLC. It is not ideal for listening to music. The alternative is to download the entire video (with audio) then convert it m4a. This method uses up a lot more bandwidth and disk space, but it may be more convenient in some situations. |
|
Thank you, Sunk818! :) |
|
@sunk818 is right, so I'm closing the issue. mplayer and mpv also plays the dash audio files. |
Hi.
Shouldn't this work?
$ youtube-dl --verbose -f bestaudio https://www.youtube.com/watch?v=YVVTZgwYwVo
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-f', 'bestaudio', 'https://www.youtube.com/watch?v=YVVTZgwYwVo']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.23.1
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.7
[debug] exe versions: avconv 1.0.10, avprobe 1.0.10, ffmpeg 1.0.10, ffprobe 1.0.10, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Confirming age
[youtube] YVVTZgwYwVo: Downloading webpage
[youtube] YVVTZgwYwVo: Downloading video info webpage
[youtube] YVVTZgwYwVo: Extracting video information
[youtube] YVVTZgwYwVo: Encrypted signatures detected.
[youtube] {22} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {43} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {18} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {5} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {36} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {17} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {137} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] YVVTZgwYwVo: Downloading js player vflEhuJxd
[youtube] {248} signature length 38.42, html5 player en_US-vflEhuJxd
[youtube] YVVTZgwYwVo: Downloading js player vflEhuJxd
[youtube] {136} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {247} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {135} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {244} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {134} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {243} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {133} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {242} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {160} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {140} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {171} signature length 40.42, html5 player en_US-vflEhuJxd
[youtube] {137} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {248} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {136} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {247} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {135} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {244} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {134} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {243} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {133} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {242} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {160} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {140} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] {171} signature length 44.42, html5 player en_US-vflEhuJxd
[youtube] YVVTZgwYwVo: Downloading DASH manifest
[debug] Invoking downloader on 'https://r8---sn-a5m7ln7d.googlevideo.com/videoplayback?id=615553660c18c15a&itag=141&source=youtube&requiressl=yes&mm=31&mv=m&ms=au&ratebypass=yes&mime=audio/mp4&gir=yes&clen=7181573&lmt=1398416201691642&dur=225.233&key=dg_yt0&sver=3&mt=1416800555&fexp=904844,907259,927622,931356,932404,943909,947209,947215,948124,951913,952302,952605,952901,953912,955405,957103,957105,957201&upn=qhgMw0-bWdg&signature=46FB9ABE163B261F577638914F3DFD6B8228226B.514B3F90392372EB4913E56F47DD90E8548C05D9&ip=76.91.126.202&ipbits=0&expire=1416822235&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mv,ms,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Idina Menzel - Let It Go (from 'Frozen')-YVVTZgwYwVo.m4a
[download] 100% of 6.85MiB in 00:07
$ file Idina\ Menzel\ -\ Let\ It\ Go\ (from\ 'Frozen')-YouTube\ Rip.m4a
Idina Menzel - Let It Go (from 'Frozen')-YouTube Rip.m4a: ISO Media
Playing it doesn't work in both Windows Media Player Home Cinema (HC) and Winamp v5.666.A Also, youtube-dl -f 141 get the same problem. :(
Thank you in advance. :)