Last active
July 15, 2020 10:19
-
-
Save SxDx/262cb1b78a616ab38ebb2a5d9c8ae3e7 to your computer and use it in GitHub Desktop.
Download a portion of a youtube video (first time param is start, second time param is duration)
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
ffmpeg $(youtube-dl -g '$YOUTUBE_URL' | sed "s/.*/-ss 00:10 -i &/") -t 01:00 -c copy out.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment