ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE. Software > Find And Run Robot

alias: download youtube video as mp3 audio file with youtube-dl and ffmpeg


This alias lets you enter

--- ---yt FARR to download that youtube content to an mp3 audio file.

This requires the tools youtube-dl (to download the youtube content) and ffmpeg (to convert to mp3).
youtube-dl ,
ffmpeg , (get the Static build)

alias name

--- ---youtube-dl to mp3regular expression pattern

--- ---^(?:y|yt|you) (.*(?|*)$Results

--- ---youtube-dl mp3 $$1 | C:\folder\youtube-dl.exe --restrict-filenames -o "C:\output\`%(title)s.`%(ext)s" --write-thumbnail --ffmpeg-location "C:\folder\ffmpeg.exe" -f "bestaudio[ext=m4a]" -x --audio-format mp3 --audio-quality 0 --embed-thumbnail $$1
Note: change the two instances of "C:\folder\" to where you have put youtube-dl.exe and ffmpeg.exe (and ffprobe.exe and ffplay.exe from the same package) and change "C:\output\" to what folder you want the mp3 file to end up in.

I also made a short video tutorial on how to do these setup steps, view it here

Looking forward to trying this.

I also made a short video tutorial on how to do these setup steps, view it here
-Nod5 (January 05, 2016, 07:35 AM)
--- End quote ---
did I just get rickrolled  :tellme: ;D

the only reason I ask is: The uploader has not made this video available in your country.
Sorry about that.
Edit// but I guess if it looks like a duck, it probably walks sings like one too ;-)

thanks for the alias -- that's useful!  as tomos points out, the video is not correct (or was a joke?).

did I just get rickrolled  :tellme: ;D
-tomos (January 05, 2016, 02:51 PM)
--- End quote ---
Hehe. I first needed a youtube url to simply illustrate the command and that was the first one that came to mind. But then I thought, when I already have it at hand why not ... roll with it?  8)

^ it's been a while :D :Thmbsup:


[0] Message Index

Go to full version