TrackSplit

Turn chaptered videos into gapless, tagged albums

Lossless FLAC or Opus, fully tagged with cover art, ready for Jellyfin, Lyrion, Navidrome, and Plex.

Armin van Buuren at Tomorrowland album cover
Martin Garrix at Red Rocks album cover
Swedish House Mafia at Tomorrowland album cover
Tiesto at Dreamstate SoCal album cover
David Guetta at UNVRS Ibiza album cover

Browse a TrackSplit library

Click an artist, then an album, to see its cover and full tracklist.

Chapters in, albums out

Sample-accurate splitting

Cut at chapter boundaries down to the sample. Gapless playback across every track, no clicks, no duplicated audio.

Codec-aware output

FLAC stays lossless. Opus stream-copies when safe, re-encodes transparently when not. Override with --format.

Rich metadata & art

Writes full Vorbis comments plus festival, stage, and venue. Embeds 1:1 cover art and generates an artist folder image.

Re-run detection

A per-album manifest tracks chapter hashes and source mtime. Re-runs on an unchanged library finish in milliseconds.

From video chapters to a tagged album

1

Install & check

Install the CLI, then confirm that ffmpeg and ffprobe are reachable.

pip install -e . && tracksplit --check
2

Point at a video or folder

One file or a whole directory. Parallel workers spread the load.

tracksplit ~/videos/ --output ~/music/library/
3

Enjoy the library

Tagged FLAC or Opus albums, embedded covers, artist folder images. Re-runs skip unchanged sets instantly.

tracksplit ~/videos/ --format opus --workers 4

Up and running in minutes

Prerequisites

  • Python 3.11 or newer
  • FFmpeg (ships ffmpeg and ffprobe)
  • MKVToolNix (optional, MKV cover extraction)

Install

Terminal
pip install git+https://github.com/Rouzax/TrackSplit.git

Then verify the toolchain is reachable:

Terminal
tracksplit --check