The Gitea SSH endpoint serves git under the "gitea" user, not "git"; the retargeted submodule URL and README clone instructions must use it. Co-Authored-By: Claude Code <noreply@anthropic.com>
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 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 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 ascommand routes Matroska correctly. - The companion
MP42Foundationsubmodule 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.
Build and run
Clone the repository and include 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 with
git submodule update --init --recursive
Open Subler.xcodeproj in Xcode, select the Subler scheme (Product → Scheme → Subler) and press
Run. Command-line builds need a deployment-target override on recent toolchains, which refuse the
projects' 10.13 target:
xcodebuild -project Subler.xcodeproj -scheme Subler -configuration Debug build MACOSX_DEPLOYMENT_TARGET=12.0
There is no test target; changes are verified by building and running the app.