Skip to content

Instantly share code, notes, and snippets.

@Can-Sahin
Created December 2, 2019 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Can-Sahin/c1b30601974eda3a279041543588860f to your computer and use it in GitHub Desktop.
Save Can-Sahin/c1b30601974eda3a279041543588860f to your computer and use it in GitHub Desktop.
Download specific inverval (range) of youtube videos
ffmpeg -ss 00:00:00 -i $(youtube-dl -f best -g 'YOUTUBE_URL') -t 00:01:00 -c copy DOWNLOAD_NAME.mp4
## prerequisite -> ffmpeg, youtube-dl
## installation commands:
# brew install ffmpeg
# brew install youtube-dl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment