Discover Packages
github.com/zucchivan/yt-video-clipper
module
Version:
v0.0.0-...-25aabf4
Opens a new window with list of versions in this module.
Published: Oct 7, 2023
License: GPL-3.0
Opens a new window with license information.
README
README
¶
YouTube Video Clipper
This project allows you to download a YouTube video and clip it into multiple segments based on provided time ranges. It's built in Go and makes use of multi-threading for improved performance.
Pre-requisites
Go (1.21 or higher)
FFmpeg
Usage
Clone the repository:
git clone https://github.com/zucchivan/yt-video-clipper.git
Navigate to the project's cmd directory:
cd yt-video-clipper/cmd
Run the program with the -url and -timePairs flags:
go run cmd/main.go -url="https://www.youtube.com/watch?v=dQw4w9WgXcQ" -timePairs="00:00:10-00:00:20,00:01:00-00:01:10"
The time pairs should be in the HH:mm:SS-HH:mm:SS format separated by a ,.
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.