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

soundcloud #2294

Closed
kickerofelves opened this issue Feb 3, 2014 · 2 comments
Closed

soundcloud #2294

kickerofelves opened this issue Feb 3, 2014 · 2 comments

Comments

@kickerofelves
Copy link

@kickerofelves kickerofelves commented Feb 3, 2014

I get the following:

youtube-dl https://soundcloud.com/2morrows-victory-records/j -f mp3 --verbose
[debug] System config: []
[debug] User config: ['-wit', '--write-srt', '--restrict-filenames', '-f', '18/43/34/h264-sd/flv/mp4-sd/mp4']
[debug] Command-line args: ['https://soundcloud.com/2morrows-victory-records/j', '-f', 'mp3', '--verbose']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.30.2
[debug] Python version 2.7.5+ - Linux-3.10-3-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[soundcloud] 2morrows-victory-records/j: Resolving id
[soundcloud] 2morrows-victory-records/j: Downloading info JSON
ERROR: requested format not available
Traceback (most recent call last):
  File "/home/damack/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 510, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/damack/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 539, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/damack/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 755, in process_video_result
    expected=True)
ExtractorError: requested format not available

I get the same problem with -fwav. Jdownloader downloads as a wave file.

@phihag
Copy link
Contributor

@phihag phihag commented Feb 3, 2014

This is correct, there is no mp3 format available:

$ youtube-dl https://soundcloud.com/2morrows-victory-records/j --list-formats
[soundcloud] 2morrows-victory-records/j: Resolving id
[soundcloud] 2morrows-victory-records/j: Downloading info JSON
[info] Available formats for 34363427:
format code extension resolution  note 
download    wav       audio only

mp3 is not recognized as an extension code and is not a format code anyways. You can, however, pass in -x --audio-format mp3 (and no -f) and you'll get an mp3 every time.

@phihag phihag closed this Feb 3, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Feb 3, 2014

By the way, your user-level configuration is prone to failure. Do you really want youtube-dl to give up if it doesn't find any of these formats? I'd add /best to ensure that you always get a video.

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.