Last active
February 6, 2023 11:37
-
-
Save woochica/3199114613c8088242dd8776b38edf6a to your computer and use it in GitHub Desktop.
Download youtube video as mp3 on Windows (with youtube-dl and ffmpeg)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
title "youtube to mp3" | |
set video=%1 | |
set ffmpegbin=C:\Programs\ffmpeg\bin\ffmpeg | |
youtube-dl -x --audio-format mp3 --ffmpeg-location %ffmpegbin% %video% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment