An open API service indexing awesome lists of open source software.

https://github.com/kiran94/splitter

Splitter is a Youtube Video splitter that it intended to be used for long timestamped videos. Splitter takes meta information provided in the video description and extracts the audio for each portion of the video.
https://github.com/kiran94/splitter

dotnet-core slicer splitter video youtube

Last synced: about 2 months ago
JSON representation

Splitter is a Youtube Video splitter that it intended to be used for long timestamped videos. Splitter takes meta information provided in the video description and extracts the audio for each portion of the video.

Awesome Lists containing this project

README

          

# Splitter [![Build Status](https://travis-ci.org/kiran94/splitter.svg?branch=master)](https://travis-ci.org/kiran94/splitter) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Splitter is a Youtube Video splitter that it intended to be used for long timestamped videos. Splitter takes meta information provided in the video description and extracts the audio for each portion of the video.

For example given the following long video: https://www.youtube.com/watch?v=ppzcjw2Xq1Y which has timestamps in the description like the following. Splitter will extract the audio and then slice each portion into it's own audio file whilst retaining meta information.

```
Tracklist
1.- 00:00 Salamander
2.- 02:13 Mahou Hatsudou
3.- 03:56 Dragon Force
4.- 06:14 Prelude to Destruction
5.- 08:37 Mystogan no Theme
```

- [Splitter](#splitter)
- [Usage](#usage)
- [Basic Usage](#basic-usage)
- [Specifying Quality](#specifying-quality)
- [Specifying ffmpeg Location](#specifying-ffmpeg-location)
- [Additional Options](#additional-options)
- [Timestamp Support](#timestamp-support)
- [Remarks](#remarks)

## Usage

### Basic Usage
```sh
splitter -u https://www.youtube.com/watch?v=ppzcjw2Xq1Y
```

### Specifying Quality

By Default, splitter will download audio via the Medium setting however you can specify: Low, Medium and High.

```sh
splitter -u https://www.youtube.com/watch?v=ppzcjw2Xq1Y -q High
```

### Specifying ffmpeg Location

By Default, splitter will assume the ffmpeg executable is in your PATH however you explicitly specify the location.

```sh
splitter -u https://www.youtube.com/watch?v=ppzcjw2Xq1Y -f '~/Downloads/ffmpeg-4.0/tools/ffmpeg'
```

### Additional Options
```sh
splitter --help
```

## Timestamp Support

Splitter currently supports the following timestamp formats:

Space Separated:
- `0:00 TRACKNAME`
- `00:00 TRACKNAME`
- `0:00:00 TRACKNAME`
- `00:00:00 TRACKNAME`

Dash Separated:
- `0:00-TRACKNAME`
- `00:00-TRACKNAME`
- `0:00:00-TRACKNAME`
- `00:00:00-TRACKNAME`

If any of these formats are found within a given video's description then Splitter will treat it as a portion of the video with a label and slice that section.

## Remarks

*[ffmpeg](https://www.ffmpeg.org/download.html) is required to be installed on the machine that is running this application.*