Created
October 12, 2019 23:02
-
-
Save samelie/223c08e5b0caa6a3996b376070ad0fce to your computer and use it in GitHub Desktop.
ffmpeg concat youtube-dl playlist
This file contains hidden or 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
# Concat from youtube playlist | |
## create concat file | |
`youtube-dl -g -f 22 https://www.youtube.com/playlist\?list\=PLuTh1a1eg5vbXH5Ndg2819Fim-kQb4C32 | sed 's/^/file /' >> c.txt` | |
*Couldnt figure out how to add single-quotes around the urls * | |
## concat | |
`ffmpeg -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i c.txt -c copy output.mp4` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
thanks for this script.
How to surround each url with a ' ' thanks