Skip to content

Instantly share code, notes, and snippets.

@DaniruKun
Created May 17, 2021 21:08
Show Gist options
  • Save DaniruKun/7571fecd72aff650ae2abfd95744484a to your computer and use it in GitHub Desktop.
Save DaniruKun/7571fecd72aff650ae2abfd95744484a to your computer and use it in GitHub Desktop.
Download YT VOD in timestamp interval
youtube-dl -f "(bestvideo+bestaudio/best)[protocol!*=dash]" --external-downloader ffmpeg --external-downloader-args "-ss 00:00:00 -to 00:00:00" "youtube link"
@DaniruKun
Copy link
Author

Another alternate version: ffmpeg -ss 00:01:00 -to 00:02:00 -i "$(youtube-dl -f best --get-url 'https://www.youtube.com/watch?v=dc7I-i7sPrg')" -c:v copy -c:a copy kiosk.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment