Files
SublerMKV/README.md
T
Scott GarrettandClaude Code 475737a6ad Drop the Sparkle updater and stamp the fork version 1.9.5mkv
A standalone fork must not pull its updates from subler.org's appcast:
the feed serves upstream builds signed with the upstream Ed key, so the
whole integration goes — the Check for Updates menu item and the
SPUStandardUpdaterController, the SUFeedURL/SUAllowsAutomaticUpdates/
SUPublicEDKey Info.plist entries, their six localized titles, and the
Sparkle SPM package reference. The app now has no package dependencies.

Also captures the Xcode 27.2 settings migration (deployment target now
$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET), so plain xcodebuild works with
no CLI override — verified with a clean build), the 1.9.5mkv marketing
version, and the matching MP42Foundation submodule bump. README and
CLAUDE.md lose the now-stale Sparkle and 10.13 notes.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-28 13:54:31 -05:00

83 lines
3.8 KiB
Markdown

# Subler #
Subler is a macOS app for muxing and tagging MP4/M4V/M4A files. The main features include:
* Creation of tx3g subtitle tracks, compatible with all Apple devices (iPod, Apple TV, iPhone, QuickTime).
* Mux video, audio, chapters, subtitles and closed-caption tracks from mov, mp4 and mkv sources.
* Raw formats: H.264 elementary streams (.h264, .264), AAC (.aac), AC3 (.ac3), Scenarist (.scc), VobSub (.idx).
* Metadata editing with TMDb, TVDB and iTunes Store lookups.
## About this fork
This is a standalone working copy maintained at [git.technomancer.com](https://git.technomancer.com) in
*Scott Garrett's Misc Files and Scripts*; it is not a staging ground for pull requests against upstream.
The original project is [SublerApp/Subler](https://github.com/SublerApp/Subler) by Damiano Galassi, and
this tree starts from its history.
### Changes on top of upstream
**Native Matroska support** — the headline change. `.mkv`/`.mka`/`.mks` files open directly and are edited
in place instead of being converted to MP4:
* Tags and the four per-track fields Matroska stores (name, language, enabled, forced subtitle) rewrite
the file in place (mkvpropedit-style), never touching the media clusters.
* Deleted or added tracks, and Save-As, go through a stream-copy remuxer that copies every block verbatim
and rebuilds the container bookkeeping (SeekHead, Cues, Duration).
* Chapters are editable: update via `.csv`, add via `.txt` (mp4chaps) import, insert one chapter or add
them at a fixed interval; chapter changes ride the remuxer.
* Subtitle tracks (`.srt`/`.ssa`/`.ass`) can be added to an open Matroska document.
* File ▸ Optimize performs a full structural rebuild on Matroska documents; the AppleScript `save as`
command routes Matroska correctly.
* The companion `MP42Foundation` submodule carries the engine for all of this (EBML scanner, tag mapping,
in-place tag writer, stream-copy remuxer, importer changes).
**VobSub muxing** — added VobSub tracks are muxed at the frame size declared in their `.idx` file.
**Metadata search from file names** — names carrying embedded IDs such as
`The Movie (2024) {tmdb-1015812}` or `{imdb-tt15239678}` now parse to a clean title, and the ID drives a
direct TMDb lookup (with title-search fallback) in the metadata search sheet, in queue jobs, and in the
AppleScript metadata fetch command.
**No auto-updates** — the upstream Sparkle integration is removed (updater menu item, appcast keys, SPM
package): a fork build pointed at subler.org's appcast would offer upstream builds signed with someone
else's key. The fork version is `1.9.5mkv`, and the app has no third-party package dependencies.
## Build and run
Everything the app builds from lives on this server: the `MP42Foundation` submodule, and inside it a
nested `contrib` submodule (the vendored mp4v2 sources). Both are `Scott-Files` repos cloned over SSH,
so an SSH key registered with your Gitea account is required.
Clone the repository with all submodules
```
git clone --recurse-submodules gitea@git.technomancer.com:Scott-Files/Subler.git
```
If you already cloned without submodules, `cd` into the `Subler` directory and fetch them (including the
nested one) with
```
git submodule update --init --recursive
```
To bring an existing checkout up to date:
```
git pull --rebase
git submodule update --init --recursive
```
There are no other dependencies — no Swift packages are fetched; everything above is the full build
input.
Open `Subler.xcodeproj` in Xcode, select the *Subler* scheme (`Product` → `Scheme` → `Subler`) and press
Run. Command-line builds work as-is (the projects target the toolchain-recommended deployment target,
unlike upstream's 10.13, which recent toolchains refuse):
```
xcodebuild -project Subler.xcodeproj -scheme Subler -configuration Debug build
```
There is no test target; changes are verified by building and running the app.