Split a ripped Blu-ray concert/music disc into individual, chapter-named Dolby Atmos song files — without ever re-encoding the audio.
If Atmos Track Splitter saves you time, a coffee is always appreciated ☕
You've ripped a Blu-ray Audio disc — a concert film, a live album, or one of the growing number of Dolby Atmos remaster/reissue Blu-rays (SDE's Surround Series, immersive audio reissues, etc.) — and you want it in your Plex / Jellyfin / Kodi library as individual, correctly-named song files instead of one giant feature-length file. If that's you, this tool exists for exactly that job, and nothing else.
It is not a ripping tool, a re-encoder, or a general-purpose media converter — see Notes & known limitations for what it deliberately doesn't do.
- Why this exists
- Features
- How it works
- Requirements
- Usage
- Building a standalone .exe
- Project layout
- Recovering from an interrupted run
- Notes & known limitations
- Roadmap
- Reporting Issues
- Support This Project
- License
Concert Blu-rays and Atmos reissue discs are usually one giant file with chapter markers per song. Most tools either:
- flatten/transcode the audio (losing the Atmos object metadata), or
- give you the whole disc as one file with no easy way to split it, or
- require you to hand-build
mkvmerge/ffmpegcommands per chapter.
Atmos Track Splitter automates the whole thing: point it at the ripped disc folder, let it find the right Atmos playlist, name the tracks (typed, pasted, imported, or looked up), and get one clean, bit-exact file per song.
- 🔍 Auto-detects the right playlist — scans every
.mplsplaylist and scores each one (Atmos track present, chapter count, video track, duration) rather than just grabbing the first Atmos match, and explains its reasoning so you can sanity-check the pick. The playlist dropdown itself only appears when there are genuinely two or more plausible candidates to choose between; for the common case of one clear Atmos playlist it's picked automatically and the reasoning is shown inline instead. Near-identical playlists (alternate angles, region variants) are automatically flagged as likely duplicates instead of shown as separate top candidates. - 📝 Five ways to name tracks — paste a plain list and it fills the chapter table automatically as you type or paste; import a tracklist file (
.txt,.nfo,.cue, or a saved.tracklist.json); pull in whatever chapter names are already embedded in the disc; or search MusicBrainz and Discogs and match a release tracklist to your chapters automatically. Every method shows a review screen before anything is applied — matched chapters pre-checked, mismatches flagged, nothing silently overwritten. - 📂 Finds sidecar tracklists for you — if a
.txt/.nfo/.cuetracklist is already sitting in the disc rip folder, the app tells you so you don't have to go looking. - ⏸️ Resumable, cancel-safe jobs — extraction progress is checkpointed to a manifest, so a crash, a cancel, or a closed app mid-job doesn't mean starting over; relaunching against the same output folder offers to resume exactly where it left off.
- 📋 Per-job extraction log — every run writes an
extraction.logyou can open with one click, showing exactly what each external tool was told to do — the single most useful thing to attach to a bug report. ⚠️ Checks for MKVToolNix/ffmpeg on startup — if either is missing, you get a dialog with direct download links and a Browse button that verifies and remembers a custom path, instead of a confusing failure mid-extraction.- ✂️ No re-encoding — stream-copies video + Atmos audio only; the object-based Atmos mix stays bit-exact.
- 📺 Keeps the video track — so playback on a TV shows the concert, not a black screen.
- 📁 Clean output, never overwritten silently — a sensibly-named album folder, one file per song, and a confirmation before any existing output file is replaced.
- 💾 Remembers your settings — last-used folders and tool paths persist between runs; once an output folder's been used, it's shown as a compact one-line summary instead of asking you to re-review it every run (a "Change" link is right there if you need it).
- ⚡ Scans as you go — point the source field at a disc folder (type, paste, or Browse) and it scans automatically; no separate Scan button to remember to click.
- 🪟 Runs standalone — build a windowed
.exewith no attached console, so closing the terminal (or just double-clicking it) never kills a mid-extraction job. - ❓ Built-in Help menu — tips and troubleshooting live in the app itself (Help → Tips & Troubleshooting), alongside quick links to this README and the issue tracker.
- Point the app at a folder containing a ripped disc — it must have the standard, unmodified
BDMV/PLAYLIST/*.mplsstructure (not a flattened single MKV). - It inspects every playlist via
mkvmerge -iand scores each as a candidate for the Atmos feature, pre-selecting the best match and showing its reasoning. - You name each chapter — paste, import a file, pull in embedded names, or look it up on MusicBrainz or Discogs — and review the proposed matches before accepting them.
- It extracts the video track plus just the Atmos audio (stream-copy, no transcoding) via
mkvmerge, dropping the other audio tracks (AC-3, DTS-HD, etc). It then reads the exact chapter timestamps and splits the result into one file per song withffmpeg, checkpointing progress as it goes.
External tools (must be installed and either on your PATH, or their paths set via the app's missing-tools dialog / settings.py):
| Tool | Provides | Link |
|---|---|---|
| MKVToolNix | mkvmerge, mkvextract |
https://mkvtoolnix.download/ |
| ffmpeg | ffmpeg, ffprobe |
https://ffmpeg.org/ |
Python packages:
pip install -r requirements.txtpython main.pyNote: if you launch it from PowerShell/cmd, the app is a child process of that terminal — closing the terminal window kills the app too, even mid-extraction. Run it with
pythonw main.py(fully detached, no console) instead, or build the standalone.exebelow.
The optional Flask edition runs the existing Atmos Track Splitter extraction engine in a lightweight Debian 13 container and provides a browser interface. It does not replace or alter the Windows desktop application.
- Browse the read-only rip directory or select completed downloads from the
configured qBittorrent category (normally
audio-bluray). - Completed torrents are queried through the qBittorrent Web API. The app reads torrent state and content paths only; it does not pause, rename, move, delete or otherwise change torrents.
- Ripped BDMV folders are scanned directly. Blu-ray ISO files are read with Debian's 7-Zip command-line tool and their BDMV tree is copied to a separate staging directory. No loop mounting or privileged-container mode is used.
- Automatic title suggestions use embedded chapter names, local sidecars, MusicBrainz and (when configured) Discogs. Timed tracklists are aligned against chapter durations, allowing an intro, applause or an extra encore without shifting every subsequent title.
- Suggested titles are always presented for review. Unattended splitting is disabled in this browser edition.
- Extraction uses the existing MKVToolNix/FFmpeg stream-copy pipeline, including cancellation and resumable-job support.
- On successful splitting the app creates a portrait Plex poster
folder.jpg(1000 x 1500, 2:3 aspect ratio) from local cover art or the selected MusicBrainz release's Cover Art Archive image. The original cover remains intact in the centre over a softly blurred background; it is not stretched or cropped. Existing artwork is not overwritten.
The original download folder is mounted read-only so qBittorrent can continue seeding. ISO staging is kept after an interrupted job to allow recovery and removed after a successful split.
Copy .env.example to .env and check the host paths and qBittorrent
connection details. The supplied example disables the browser login and binds
the web interface only to the Dell's LAN address (WEB_BIND_IP=192.168.0.89).
Change that value if the Dell's LAN address changes.
RIPS_DIR=/mnt/disks/MEDIA6TB/torrents/audio-bluray— direct host path to the dedicated category on MEDIA6TB, mounted read-only. In the qBittorrent container this same folder is/data/torrents/audio-bluray.OUTPUT_DIR=/data/media/music-videos— existing Plex Music Videos destination on the mergerfs pool.STAGING_DIR=/mnt/disks/MEDIA4TB/torrents/audio-bluray-staging— writable temporary workspace on the physical MEDIA4TB ext4 filesystem. This keeps ISO free-space checks tied to the staging drive rather than mergerfs's combined free-space figure. Allow free space roughly equal to the ISO size plus 512 MiB.QBITTORRENT_URL— qBittorrent Web UI address reachable from this container, notlocalhostunless qBittorrent shares the container's network namespace.QBITTORRENT_USERNAMEandQBITTORRENT_PASSWORD— the Web UI login.QBITTORRENT_CATEGORY=audio-bluray— the category to query.QBITTORRENT_CONTENT_ROOT— absolute category path as qBittorrent sees it inside its own container. This is not the host path mounted atRIPS_DIR; set it to the matching internal path.AUTH_DISABLED=true— explicitly disables the browser login. This is intended only for a trusted home LAN. Anyone on that LAN who can reach the service can browse downloads, start/cancel jobs, change Discogs settings and write into the Plex Music Videos destination.WEB_BIND_IP=192.168.0.89— binds the published Docker port to the Dell's LAN interface rather than all interfaces. Do not change this to0.0.0.0for an unauthenticated deployment.QBITTORRENT_USERNAMEandQBITTORRENT_PASSWORDare still required for the app to read the qBittorrent Web API. They are unrelated to browser login.PUIDandPGID— set these to the account that owns the destination directories (check withid -u && id -g).
Then build and start:
mkdir -p config
docker compose up -d --buildOpen http://192.168.0.89:8765 from a device on the home LAN. With
AUTH_DISABLED=true, no browser sign-in is requested. The app also offers
a health endpoint at /healthz. Do not port-forward this unauthenticated
service to the public internet or expose it over a wider network. For
remote access, use a separately secured method and enable browser
authentication first.
The container uses one Gunicorn worker because job state is held in memory. The rip mount is read-only; only output, configuration and staging mounts are writable.
Validation note: unit tests cover qBittorrent API handling, path mapping, BDMV discovery, simulated ISO staging, title matching and the browser routes. The Docker image is built in CI. A real Blu-ray ISO and a real qBittorrent container still need end-to-end testing on the Dell before production use.
pip install pyinstaller
build_exe.batThis produces AtmosTrackSplitter.exe — a windowed exe with no attached console, so it survives closing the terminal it was launched from (or just double-click it directly).
The exe bundles the Python app itself, but not
mkvmerge,mkvextract,ffmpeg, orffprobe— those still need to be installed separately and reachable onPATH.
AtmosTrackSplitter/
├── main.py GUI (customtkinter): scanning, naming, extraction, Help menu
├── extractor.py Core logic: scanning, scoring, chapters, tracklist matching,
│ MusicBrainz lookup, splitting, resume/manifest handling
├── settings.py Persisted settings (tool paths, last-used folders)
├── split_now.py CLI: split an already-extracted Atmos MKV by hand
├── AtmosTrackSplitter.spec PyInstaller build spec
├── build_exe.bat One-click .exe build script
└── requirements.txt
extractor.py has no GUI dependencies, so it can be imported and used on its own (e.g. from a script or a future CLI).
If the app is closed, crashes, or a job is cancelled partway through, just point it at the same source and output folders again — it'll detect the in-progress manifest and offer to resume from wherever it left off, skipping whatever was already completed.
If you'd rather handle it by hand (or the GUI resume path doesn't apply — e.g. you deleted the manifest, or extraction succeeded but you want to split into different names), the intermediate _atmos_extracted.mkv is left in the work folder rather than being cleaned up automatically on failure. Split it directly:
python split_now.py "path\to\_atmos_extracted.mkv" "path\to\output folder" --names-file tracks.txttracks.txt is just one track name per line, in chapter order — the same tracklist you'd paste into the GUI. Leading numbering (1., 01 -) is stripped automatically. Add --list-only (and skip --names-file) to just see how many chapters a file has before committing to names.
- Assumes chapters map 1:1 to songs. This holds for most concert/live-album Blu-rays, but always sanity-check the chapter count against the actual tracklist before running the paste-to-fill step.
- If a disc has no Atmos track, or the Atmos track isn't chaptered per song, this tool won't help — it depends on both being true.
- MusicBrainz coverage is best for mainstream releases. Small-run audiophile Blu-ray Pure Audio / Surround Series discs and other boutique/mail-order-only editions are often missing from MusicBrainz entirely, or only indexed under a different parent release with a different track count. If the number of tracks MusicBrainz returns looks nothing like your chapter count, that's almost always why — use Import Tracklist with a sidecar file instead.
- Output format defaults to
.mkv(TrueHD Atmos in an MKV container) to preserve the object-based Atmos metadata — converting to a plain audio container like FLAC would discard it. - Folder-in, folder-out only — no CLI or disc-drive/ripping support. This tool works on discs you've already ripped yourself; it doesn't rip or decrypt anything.
- Folder-watch mode (auto-detect new rips dropped into a monitored folder and prompt for naming)
- Full settings dialog for tool paths (currently only settable via the startup missing-tools dialog or by hand-editing
settings.json) -
MusicBrainz lookup as a fallback for track names— shipped
Found a bug or have a suggestion? Please open an issue rather than a Reddit comment, so it doesn't get lost:
The most useful things to include: the mkvmerge -i output for the affected playlist, and the extraction.log from the job (Open Log button in the app, or the file directly in your output folder) — between the two, that's normally enough to track down what's actually going wrong.
Atmos Track Splitter is free and built in my spare time — if it's useful to you, consider buying me a coffee.
Released under the MIT License. You are free to use, modify, and share this software.
