News for hackers. Stuff that matters.
Re:RIAA Lawyers Botched a Big One Against flvto.biz – So Wha... by reacweb on Thursday February 07, 2019 @07:51AM (#19104878)
If I write in a comment the command "youtube-dl --extract-audio --audio-format mp3 <video URL>", does Hacker News risk to be prosecuted ?
Re:RIAA Lawyers Botched a Big One Against flvto.biz – So Wha... by deepnet on Thursday February 07, 2019 @08:39AM (#19105090)
Thanks I was using ffmpeg for the conversion up til now = TIL
Re:RIAA Lawyers Botched a Big One Against flvto.biz – So Wha... by yalue on Thursday February 07, 2019 @08:54AM (#19105187)
I'm pretty sure youtube-dl just invokes ffmpeg in the background to extract the audio for you; all it means is that you don't need to remember the exact ffmpeg commands.
Re:RIAA Lawyers Botched a Big One Against flvto.biz – So Wha... by Crontab on Thursday February 07, 2019 @12:55PM (#19106909)
Wouldn’t that result in transcoding from one lossy audio format to another? I’ve always been advised against that.
Re:RIAA Lawyers Botched a Big One Against flvto.biz – So Wha... by aepiepaey on Friday February 08, 2019 @10:29AM (#19115071)
Generally, that would result in a lossy-to-lossy conversion (at least on youtube, which primarily serves aac and opus audio).

But even ignoring that, most youtube videos go through a lossy-to-lossy conversion/re-encode when it's uploaded in the first place. Authors typically encode their videos into a lossy format before uploading them, and at least the video stream is always re-encoded by youtube itself once the video has been uploaded.

In addition, the source material (like screen captures etc.) is often encoded in a lossy format as well, which would result in the following chain:

lossless video capture -> saved to disk (lossy encoding) -> video editor, then save result (lossy encoding) -> upload to youtube -> youtube encodes to formats to be delivered to viewers (lossy encoding)

If you specify a non-lossless format to youtube-dl, then append -> youtube-dl re-encode to chosen format (lossy encoding).