Skip to content

CoogyEoin/youtube-dl-snippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

youtube-dl-snippet

Description

This is a simple shell script to download a section of a youtube video. It uses the yt-dlp project which is a fork of the youtube-dlp project that is no longer supported.

Requirements

yt-dlp ffmpeg

Usage

Simply download this repo and run the below command in your terminal. Outputs a file called out.mp4.

    ./snippet.sh <Youtube URL> <Start time> <Duration time>

Timestamp must be in 00:00:00.00 format (hh:mm:ss.ss).