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 is wrongly detected for SoundCloud's Opus Stream. #16549

Closed
Just-Harry opened this issue May 26, 2018 · 0 comments
Closed
Labels

Comments

@Just-Harry
Copy link

@Just-Harry Just-Harry commented May 26, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.05.18

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', 'https://soundcloud.com/swedemason/paul-mccartney-rabbit-hole']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.05.18
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg N-91152-g7c333dc6a7, ffprobe N-91152-g7c333dc6a7, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[soundcloud] swedemason/paul-mccartney-rabbit-hole: Resolving id
[soundcloud] swedemason/paul-mccartney-rabbit-hole: Downloading info JSON
[soundcloud] 382515878: Downloading track url
[soundcloud] 382515878: Downloading m3u8 information
[soundcloud] 382515878: Downloading m3u8 information
[soundcloud] 382515878: Checking http_mp3_128_url video format URL
[soundcloud] 382515878: Checking hls_opus_64_url video format URL
[soundcloud] 382515878: Checking hls_mp3_128_url video format URL
[info] Available formats for 382515878:
format code       extension  resolution note
hls_opus_64_url   mp3        audio only audio@ 64k
hls_mp3_128_url   mp3        audio only audio@128k
http_mp3_128_url  mp3        audio only audio@128k (best)
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--get-filename', '-f', 'hls_opus_64_url', 'https://soundcloud.com/swedemason/paul-mccartney-rabbit-hole']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.05.18
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg N-91152-g7c333dc6a7, ffprobe N-91152-g7c333dc6a7, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
Paul McCartney Rabbit Hole-382515878.mp3

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

SoundCloud has an hls_opus_64_url stream, which uses the Opus codec, youtube-dl wrongly detects the file extension as mp3, and will save the file with a .mp3 file extension, this stops the file from being played in most audio players.

Youtube-dl should detect the file extension as opus or ogg, and save the file accordingly.

@Just-Harry Just-Harry changed the title File extension is wrongly detected for SoundCloud's Opus Stream. [SoundCloud] File extension is wrongly detected for SoundCloud's Opus Stream. May 26, 2018
@remitamine remitamine added the fixed label May 26, 2018
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.