Last active
October 5, 2018 08:11
-
-
Save pramitbiswas/bc04cf4c1c35aff0a4ae44661fe70e3d to your computer and use it in GitHub Desktop.
Download YouTube playlist into a folder (using youtube-dl), merge/concatenate all videos in to one (using ffmpeg), remove all files except final full video
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
ren *.mp4 ???????.* | |
powershell -noexit "& "".\rmSpaceScript.ps1""" | |
(for %i in (*.mp4) do @echo file '%i') > fileList.txt | |
ffmpeg -f concat -i fileList.txt -c copy Full.mp4 | |
for /f %F in ('dir /b /a-d ^| findstr /vile "op.mp4"') do del "%F" |
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
Dir | Rename-Item -NewName { $_.Name -replace " ","" } |
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
youtube-dl -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re | |
#check File names order properly | |
#cd <folder> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment