download a part of a youtube video without having to download and then cut the whole video. In my opinion this method is better because the whole video is not downloaded first and then shortened with ffmpeg, but the desired part of the video is 'recorded' and then saved so that you only have that part of the video on your computer
- install nim (unfortunately you have to compile it for yourself :( )
- download the nim file cd into the download directory and run
nim c -d:release --opt:size videoPartdownloader.nim
- run with
./videoPartdownloader
or just drag and drop the .exe in your terminal on windows
make sure that yt-dlp and ffmpeg is installed and added to PATH