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 file extension resolves to 'unknown' #2611

Closed
mistakia opened this issue Mar 23, 2014 · 2 comments
Closed

Soundcloud file extension resolves to 'unknown' #2611

mistakia opened this issue Mar 23, 2014 · 2 comments

Comments

@mistakia
Copy link

@mistakia mistakia commented Mar 23, 2014

youtube-dl -F http://soundcloud.com/bpitch-control/moderat-a-new-error
[soundcloud] bpitch-control/moderat-a-new-error: Resolving id
[soundcloud] bpitch-control/moderat-a-new-error: Downloading info JSON
[info] Available formats for 1284839:
format code extension resolution note
download unknown audio only

youtube-dl --get-filename http://soundcloud.com/bpitch-control/moderat-a-new-error
Moderat - A New Error (BPC200)-1284839.unknown

@phihag
Copy link
Contributor

@phihag phihag commented Mar 24, 2014

As strange it may look, this is the official description of soundcloud for this format. My file tool says "Audio file with ID3 version 2.4.0", whatever that may be. Internally, an only human-readable hint points to the original extension being mp3, but that's not correct either. mplayer identifies it as "mpg1/2/2.5", and it starts with an ID3 header.

Therefore, I do think this is the correct behavior. If you think otherwise: What extension would you expect?

Starting with youtube-dl 2014.03.24.2, you can now download other formats too. For example, use -f http_mp3_128_url/best to download mp3 first, and only switch to the original formats if mp3 is not available.

@phihag phihag closed this Mar 24, 2014
@mistakia
Copy link
Author

@mistakia mistakia commented Mar 24, 2014

ah thanks for that wonderful response. I do believe that is the correct behavior as well.

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.