Last active
January 11, 2019 20:18
-
-
Save kirillgroshkov/7faa9ae9d5198fc461e7e996159b16d2 to your computer and use it in GitHub Desktop.
youtube download
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
# ytdl is `npm i -g ytdl` | |
# Download video | |
ytdl "http://www.youtube.com/watch?v=ZY1OkgEV-ZA" > video1.mp4 | |
# Extract just audio from mp4 | |
# cat ./video1.mp4 | ffmpeg -i pipe:0 -b:a 192K -vn audio1.aac | |
cat ./video1.mp4 | ffmpeg -i pipe:0 -vn audio1.aac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment