youtube-dl & alternatives
#5
RE: youtube-dl & alternatives
(04-20-2022, 11:26 PM)jpstewart Wrote:  I hate to say it, lunatic, but that script seems like an unnecessarily and overly complicated way of extracting audio from a YouTube video.  There's no need to use ffmpeg to convert to wav and then lame to encode to mp3; ffmpeg can create the mp3 directly.  There's no need to manually call ffmpeg; both youtube-dl and yt-dlp have built in options for post-processing downloads.  YouTube even offers downloads of the audio and video already separated.  And there's no need to use those shell expansions to get the title; there are formatting options for that.  

I did not know that. That is great indeed. This little shell script may be from a time before these features existed.
lunatic
insane in the mainframe

Trade Count: (0)
Posts: 150
Threads: 1
Joined: Apr 2019
Find Reply
04-21-2022, 12:22 AM


Messages In This Thread
youtube-dl & alternatives - by jpstewart - 04-19-2022, 11:41 PM
RE: youtube-dl & alternatives - by Raion - 04-19-2022, 11:45 PM
RE: youtube-dl & alternatives - by lunatic - 04-20-2022, 12:53 AM
RE: youtube-dl & alternatives - by jpstewart - 04-20-2022, 11:26 PM
RE: youtube-dl & alternatives - by lunatic - 04-21-2022, 12:22 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)