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

[Broken] Soundcloud converting wav to mp3 despite "best" option #214

Closed
5 tasks done
ghost opened this issue Dec 30, 2020 · 2 comments
Closed
5 tasks done

[Broken] Soundcloud converting wav to mp3 despite "best" option #214

ghost opened this issue Dec 30, 2020 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 30, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dlc version 2020.09.16
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dlc -v -x --audio-format "best" https://soundcloud.com/belikboom/harry-potter
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-x', '--audio-format', 'best', 'https://soundcloud.com/belikboom/harry-potter']
[debug] Loading archive file None
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dlc version 2020.10.09
[debug] Python version 3.8.6 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg 4.3.1-2020-11-19-full_build-www.gyan.dev, ffprobe 4.3.1-2020-11-19-full_build-www.gyan.dev
[debug] Proxy map: {}
[soundcloud] belikboom/harry-potter: Downloading info JSON
[soundcloud] 172989719: Downloading JSON metadata
[soundcloud] 172989719: Downloading webpage
[soundcloud] 172989719: Downloading JSON metadata
[soundcloud] 172989719: Downloading JSON metadata
[soundcloud] 172989719: Downloading JSON metadata
[debug] Invoking downloader on 'https://cf-media.sndcdn.com/WYHtGMNj90Yp?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vV1lIdEdNTmo5MFlwIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjA5MzA3MDMxfX19XX0_&Signature=WJhd4byXEUIoKzdnrYXk-0oxJzRnwirPBzLaIFJIxKVu5zXqPALV~nBV994RS60Yuc~7l2Ac4BpkA3BtUcxXwV9nVqFxYwbCpI8AiCwEHw1-rCesQHjyrydj~7sC15bbWy~t0I0C4i25GflVW8kn3AJp3jHaBtpQ55ScHu2Hq6B4uiWBXabRB4WVfVZ1ouSBzSaocapZMs6eVb0EpcMSfa0GAnUSgPFxeekxxosux7QKmSX1uAxkUmzUbj5sdVnYp5Q4P-QJdLB23A3475cosVc5yMsLZ1sSOX7NY2ydLTASijYjfXNIZi7oeWRnetRRF731yNj8lQPNImuNR81Mpg__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ'
[download] Destination: Avada kadabra (FREE DOWNLOAD)-172989719.wav
[download] 100% of 67.68MiB in 00:01
[debug] ffmpeg command line: ffprobe -show_streams "file:Avada kadabra (FREE DOWNLOAD)-172989719.wav"
[ffmpeg] Destination: Avada kadabra (FREE DOWNLOAD)-172989719.mp3
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:Avada kadabra (FREE DOWNLOAD)-172989719.wav" -vn -acodec libmp3lame "-q:a" 5 "file:Avada kadabra (FREE DOWNLOAD)-172989719.mp3"
Deleting original file Avada kadabra (FREE DOWNLOAD)-172989719.wav (pass -k to keep)

Description

Wav file downloads successfully, but is then converted to a very low-quality (137 kbps) mp3 file, and wav is deleted despite specifying "best".

Downloading mp3s and aacs works properly with this option (mp3 remains same, aac -> m4a), only wav does not. The goal is to convert all 3 formats in bulk, which is why I am using the "best" argument and not just "wav".

I believe this is a similar issue to #212, just for soundcloud and I don't know which arguments to add to fix the sort.

@ghost ghost added the Broken label Dec 30, 2020
@nicolaasjan
Copy link

nicolaasjan commented Dec 30, 2020

Try:
youtube-dlc -v -f best https://soundcloud.com/belikboom/harry-potter
(see also my comment on Reddit)

youtube-dlc -v --ignore-config -f best https://soundcloud.com/belikboom/harry-potter
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--ignore-config', '-f', 'best', 'https://soundcloud.com/belikboom/harry-potter']
[debug] Loading archive file None
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dlc version 2020.12.29
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-128-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg N-100367-g8d19b3c-Nico-20201210, ffprobe N-100367-g8d19b3c-Nico-20201210
[debug] Proxy map: {}
[soundcloud] belikboom/harry-potter: Downloading info JSON
[soundcloud] 172989719: Downloading JSON metadata
[soundcloud] 172989719: Downloading webpage
[soundcloud] 172989719: Downloading JSON metadata
[soundcloud] 172989719: Downloading JSON metadata
[soundcloud] 172989719: Downloading JSON metadata
[debug] Invoking downloader on 'https://cf-media.sndcdn.com/WYHtGMNj90Yp?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vV1lIdEdNTmo5MFlwIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjA5MzM4NjgxfX19XX0_&Signature=eIi1IftkaTgAUZnWGw5syhoukAA58Z4VKaEVAFl083iVjyUIdwipgxxB9XZEHcIspIq1spBmUOFURTvDFBTVharug6iHVVbEyMLUYxfE6N5ZIzoX6Oq76tcxaT2pZRe79d6z5i3wJgZSEoyuM8LaHDCMvNqQYfbCGTHNKo7ssqFP8mSDZLbi3SuJ9y3apoY7MHWjcSYyUNnEYjVEmYhOpgA0~KgW3ZT~HIIzrANBJgwpWwgQu4yMOyj4SWWGT0fMTyqgMtrQXiLYOQupDpl9jhrPhf9Gzy2D3ZFE8U3ak7j5tWTfGs0VvY56QFbsgZ7wjpZvM0jkZmspbz74yrAJ9Q__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ'
[download] Destination: Avada kadabra (FREE DOWNLOAD)-172989719.wav
[download] 100% of 67.68MiB in 00:11

Side note:
The official youtube-dlc repo is now here:
https://github.com/blackjack4494/yt-dlc
(since the DMCA debacle...)

However there hasn't been any activity for about a month now...
See this issue.

@ghost
Copy link
Author

ghost commented Dec 30, 2020

Oh my bad on using the wrong repo. Thanks for the responses here and on reddit though! This works, but makes things slightly less automated for me. Ultimately --audio-format is the only option I know of that will also convert soundcloud's native aac to m4a which is ideal, but this will have to do. Thanks again!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant