Live data from Hacker News

Open Source YouTube to MP3 Downloader

github.com

11–20 of 92 posts

Re: Open Source YouTube to MP3 Downloader

#11
Personally I just use a bookmarklet. Nothing to install, no website to visit. Just a local bookmark that shows the list of the video/audio file direct links.

https://github.com/minanagehsalalma/Youtube-Downloader-Bookm... (https://raw.githubusercontent.com/minanagehsalalma/Youtube-D...)

Re: Open Source YouTube to MP3 Downloader

#12
Might be worth

a) highlighting that this extracts the audio track only (not everyone is 100% firm with their audio and video formats)

b) investigating whether one could, instead of downloading the highest video quality and then discarding it, download only the highest quality audio? (yt-dlp and cousins allow that.)

Re: Open Source YouTube to MP3 Downloader

#17
post #12

Might be worth a) highlighting that this extracts the audio track only (not everyone is 100% firm with their audio and video formats) b) investigating whether one could, instead of downloading the highest video quality and then discarding it, download only the highest quality audio? (yt-dlp and cousins allow that.)

a) highlighting that this extracts the audio track only

I think it's pretty clear from the title that this is audio-only.

Re: Open Source YouTube to MP3 Downloader

#18
YouTube presents audio in 2 forms under various bitrates and formats. AAC and OPUS. The Opus track @128kbps (even better than the sometimes available AAC @160kbps) is the highest quality and can be downloaded and played back by demuxing its WebM container to .opus or using a player which understands the WebM container.

This is what I prefer: Downloading original OPUS audio, demuxing to .opus, without reconversions using a bash oneliner. Highest Quality you can get from YouTube.

Appreciate the minimalistic UI, no frills. 170 MB for a YouTube MP3 Downloader seems a bit steep though.

Re: Open Source YouTube to MP3 Downloader

#19
post #12

Might be worth a) highlighting that this extracts the audio track only (not everyone is 100% firm with their audio and video formats) b) investigating whether one could, instead of downloading the highest video quality and then discarding it, download only the highest quality audio? (yt-dlp and cousins allow that.)

a) highlighting that this extracts the audio track only I think it's pretty clear from the title that this is audio-only.

MP3 (audio-only) and MP4 (video) is a one-character difference. It's clear to the people that browse HackerNews, it is seldom clear to the layperson.

Re: Open Source YouTube to MP3 Downloader

#20
post #9

Earlier quoted context omitted.

Yeah except do yourself a favor and don't use mp3

Why, objectively?

1) MP3 is dated. Modern codecs give better quality at smaller filesizes.

2) Any lossy re-encoding step degrades quality. You'll get the highest quality by saving the stream direct from the server and skipping the re-encode step. Just pass --extract-audio and skip all those other arguments.

Post reply on HN