36
Find And Run Robot / alias: download youtube video as mp3 audio file with youtube-dl and ffmpeg
« on: January 05, 2016, 07:35 AM »
This alias lets you enter
This requires the tools youtube-dl (to download the youtube content) and ffmpeg (to convert to mp3).
youtube-dl , http://rg3.github.io/youtube-dl/download.html
ffmpeg , http://ffmpeg.zeranoe.com/builds/ (get the Static build)
alias name
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
https://www.youtube.com/watch?v=dQw4w9WgXcQ
yt https://www.youtube.com/watch?v=dQw4w9WgXcQ
in 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 , http://rg3.github.io/youtube-dl/download.html
ffmpeg , http://ffmpeg.zeranoe.com/builds/ (get the Static build)
alias name
youtube-dl to mp3
regular expression pattern^(?:y|yt|you) (.*(?:youtu.be|youtube.com).*)$
Resultsyoutube-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
https://www.youtube.com/watch?v=dQw4w9WgXcQ