How to download a portion of Youtube Video with youtube-dl

First make you have both youtube-dl and ffmpeg installed:

sudo apt install youtube-dl ffmpeg

Then download a portion of your desired YouTube Video with the following command:

-ss 00:15 --> skip first 15 seconds of video
-t 00:45 --> record for 45 seconds

ffmpeg $(youtube-dl -g '' | sed "s/.*/-ss 00:15 -i &/") -t 00:45 -c copy video.mkv


Popular posts from this blog

How to be anonymous on the internet (99-100%)

Deep Web Link List (.onion)

Automatically Check The Raspberry Pi's Temperature (+Prevent Overheating)