News for hackers. Stuff that matters.
Re:Show HN: YouTube-dl wrapper with added features to easily... by qwerty456127 on Monday January 20, 2020 @07:57AM (#22098453)
> MP3 works fine. M4a does not work.

Doesn't make much sense then. YouTube doesn't have MP3 so MP3 means unnecessary transcoding i.e. quality and time loss.

Why would anybody convert to MP3 today having AAC and OPUS originals? OPUS provides unprecedented quality at all bitrates (better than AAC and MP3), AAC also provides great quality&compression (better than MP3) and plays everywhere.

Re:Show HN: YouTube-dl wrapper with added features to easily... by pseudoroot on Monday January 20, 2020 @01:37PM (#22101047)
When using file's metadata method for tracking downloaded records, m4a file extension is not supported. Metadata method relies on 'purl' metadata tag. And m4a format has no purl tag, so it does not work.

One can use archive file method instead.

This limitation has nothing to do with yt-audio's capability of downloading m4a format. M4a limitation only applies to metadata method of tracking downloaded tracks.

Re:Show HN: YouTube-dl wrapper with added features to easily... by qwerty456127 on Wednesday January 22, 2020 @05:50PM (#22122927)
Why rely on tags if there is the ID appended to the file name and the file name is the title of the video? Youtube-dl names the files it downloads this way by default, just leave it as it is and you can identify the files easily.
Re:Show HN: YouTube-dl wrapper with added features to easily... by SisRob on Monday January 20, 2020 @10:05AM (#22099263)
Well, the audio quality is already reduced on upload - and much more than mp3 transcoding would.
Re:Show HN: YouTube-dl wrapper with added features to easily... by qwerty456127 on Monday January 20, 2020 @11:32AM (#22099941)
Among other options, YouTube offers 160 kbps OPUS (which, AFAIK, can be expected to be perceptually lossless and better than 320 kbps MP3). Would they waste bandwidth on streaming it this high if the actual quality they store is worse than that?

As far as I know every transcoding reduces it further. Even transcoding from 128 kbps AAC to 320 kbps MP3 will make the quality slightly worse.