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

Option -f bestaudio[ext=m4a] stopped working #8482

Closed
nick-s-b opened this issue Feb 9, 2016 · 2 comments
Closed

Option -f bestaudio[ext=m4a] stopped working #8482

nick-s-b opened this issue Feb 9, 2016 · 2 comments

Comments

@nick-s-b
Copy link

@nick-s-b nick-s-b commented Feb 9, 2016

Hi all,

About two weeks ago, an option to tell yt-dl to download the best audio given a specific format, -f bestaudio[ext=m4a] for example, stopped woking. For over a year, I've had and alias to youtube-dl to grab the highest quality m4a file that used option but that stopped working for some reason. Just using ``-f bestaudio` sucks because it sometimes grabs webm/opus stuff which I don't want (it's unsupported on everything and higher bitrate doesn't mean it's actually better quality).

Anyone know how to get this option back?

Thanks!

@phihag
Copy link
Contributor

@phihag phihag commented Feb 9, 2016

Please review our bug reporting guidelines. Without the required information (namely the complete output of youtube-dl when called with -v), we cannot help you. In particular, stopped working could encompass everything from a faulty bit on disk/memory, a custom Python version, networking issues, youtube-dl extractor problems, YoutubeDL core problems with format selection, ffmpeg etc.

@nick-s-b
Copy link
Author

@nick-s-b nick-s-b commented Feb 9, 2016

Apologies @phihag

youtube-dl -v --no-playlist --no-mtime --youtube-skip-dash-manifest -f bestaudio[ext=m4a] https://www.youtube.com/watch\?v\=Kzu6edOTu40
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'--no-playlist', u'--no-mtime', u'--youtube-skip-dash-manifest', u'-f', u'bestaudio[ext=m4a]', u'https://www.youtube.com/watch?v=Kzu6edOTu40']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.09
[debug] Python version 2.7.9 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg N-69566-g692b226, ffprobe N-69566-g692b226, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Kzu6edOTu40: Downloading webpage
[youtube] Kzu6edOTu40: Extracting video information
ERROR: requested format not available
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 677, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 722, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1352, in process_video_result
expected=True)
ExtractorError: requested format not available

I believe the problem is --youtube-skip-dash-manifest. I've removed it and now it works!

@nick-s-b nick-s-b closed this Feb 9, 2016
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.