Live data from Hacker News

Open Source YouTube to MP3 Downloader

github.com

71–80 of 92 posts

Re: Open Source YouTube to MP3 Downloader

#73
post #25

This seems to be a pretty straightforward GUI wrapper around https://github.com/Tyrrrz/YoutubeExplode and https://github.com/AydinAdn/MediaToolkit (see https://github.com/PackJC/YoutubeToMP3/blob/main/Form1.cs ). Note the (admirable but non-OSI) terms of the former library if using any outputs from this software. https://github.com/yt-dlp/yt-dlp is a well-maintained public domain alternative.

Interestingly, while the readme file mentions that crayon license, the license file itself is an unmodified MIT license. I wonder what the legal status of that is.

[deleted]

Re: Open Source YouTube to MP3 Downloader

#75

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 us…

> The Opus track @128kbps (even better than the sometimes available AAC @160kbps) is the highest quality…

Opus has an advantage over AAC-LC (not HE variants) at lower bitrates, but by 128 kbps Opus loses any efficiency advantage. AAC-LC is going to give you slightly better quality and far broader device compatibility.

https://hydrogenaud.io/index.php/topic,120166.0.html?PHPSESS...

Re: Open Source YouTube to MP3 Downloader

#76

Earlier quoted context omitted.

I always use MP3 since it's the most compatible. Doesn't make a difference for my hearing and I can use it anywhere. E.g. some car radios still have problems with other formats. Saying "who needs this" is very dismissive.

This is exactly what the poster you're answering to said.

No, the poster said it's good for retrocomputing, implying MP3 is outdated and no one should be using it normally.

Re: Open Source YouTube to MP3 Downloader

#77

I remember using online tools for this a decade ago. I'm surprised to see a new project for it. I wonder if there's a specific use-case the author needed it for or if this was just for fun.

Have you tried using online tools for this a _week_ ago? Youtube has been pretty good at fighting the online tools, meanwhile, spammers have been pretty good at filling search results with non-tools full of ads. I've found it difficult to do the occasional drive-by download, because none of the old tools (kickyouotube, etc) that I remember the name of work or exists, and googling for online services returns junk.

It's not online but stacher works quite well for my needs as a GUI wrapper for yt dlp.

https://stacher.io/

Re: Open Source YouTube to MP3 Downloader

#78
post #49
post #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... )

Does it work? Looking at the code, the regex it uses to find the urls seems to be: document.documentElement.innerHTML.match(/https?:\/\/[^\s/$.?#].[^\s]*videoplayback(?:\?|%3F)[^'"]+/g) Tried this on two videos and it returned null both times.

Hmm, I'm not the creator of it, but yes it's been working for me. I would have thought a regex match would be pretty universal. I'm using a chromium based browser if that matters. Here's what I see when I use it: https://i.imgur.com/7eS132D.png

Re: Open Source YouTube to MP3 Downloader

#79

Who needs MP3 in 2024? Retrocomputing does! So a really lightweight YouTube client capable of running on Windows 95 and/or 486-class machines producing MP3 output would make a really great sense. Can this? For everyone else there are AAC and OPUS.

I still use an iPod with Rockbox firmware as my everyday music player so I also still need mp3s :3

I installed Rockbox on iPod specifically to play Opus.

Re: Open Source YouTube to MP3 Downloader

#80

Earlier quoted context omitted.

This is exactly what the poster you're answering to said.

No, the poster said it's good for retrocomputing, implying MP3 is outdated and no one should be using it normally.

Something in between. I actually thought of all the vintage tech (I'm a huge fan of) but car audios (which can be routinely used by non-geeks who generally use more or less modern tech for everything else) specifically didn't come into my mind.
Post reply on HN