https://github.com/gnomical/interactive_track_splitter
CLI helper for splitting a media file using ffmpeg.
https://github.com/gnomical/interactive_track_splitter
audiobooks splitter tagger
Last synced: 16 days ago
JSON representation
CLI helper for splitting a media file using ffmpeg.
- Host: GitHub
- URL: https://github.com/gnomical/interactive_track_splitter
- Owner: gnomical
- License: mit
- Created: 2020-11-14T02:19:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-15T01:11:05.000Z (over 5 years ago)
- Last Synced: 2026-04-24T04:32:54.788Z (about 2 months ago)
- Topics: audiobooks, splitter, tagger
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# interactive_track_splitter
CLI for splitting a media file using ffmpeg but only needing to enter the next segment length.
This is mostly useful while splitting a large file whose track positions are either slightly out of position or completely unknown. I use this to split downloaded audio books into files for each chapter in the book when the tagged chapters are not accurate. The script will save the segment you just specified and then a track titled `_remaining`. I usually play the `_remaining` track to identify if the last segment length was correct. The program then allows you to make small adjustments to the previous split by entering an integer.
## Requirements
ffmpeg command line utility
https://trac.ffmpeg.org/wiki/CompilationGuide/macOS
## How to use
launch the script called intersplit and pass it the path of the file you want to split like so
```shell
./intersplit.sh -i ~/My\ Folder/My\ media\ file.m4a
```
## Features
- Tag output files with track number
- Tag output files with track title
- adjust split position as many times as needed
- tested with .m4a files
## Options
- `-i`
- required
- The file path for the media you wish to split
- `-s | --seek`
- default: 0
- start position in seconds, all content before this position will be ignored
- `-t | --tracklist`
- optional
- provide a text file with track titles followed by track length
```
Opening Credits 00:07:23
Part One 00:26:08
Part Two 00:31:07
Part Three 01:04:02
Part Four 00:25:17
```
- This will allow the script to tag each track title as well as auto populate the segment values