yt-video-clipper

module
v0.0.0-...-25aabf4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2023 License: GPL-3.0

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

  1. Clone the repository:

    git clone https://github.com/zucchivan/yt-video-clipper.git
    
  2. Navigate to the project's cmd directory:

    cd yt-video-clipper/cmd
    
  3. 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 ,.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL