Commit Graph
135 Commits
Author SHA1 Message Date
Scott GarrettandClaude Code e02f60b5f6 Import BLU-RAY PGS .sup files via vendored sup2vob
MP42VobSubImporter now claims "sup" alongside "idx": the file is converted up-front to a temp .idx/.sub pair, so the existing VobSub machinery (muxable subp passthrough, tx3g conversion, frame size from the idx size: line) carries everything downstream. The pair lives in a private temp directory until the importer's dealloc; tracks retain the importer through export, so demux can always reopen it.

The converter is sup2vob (https://git.technomancer.com/Scott-Files/sup2vob) vendored under MP42/Sup2Vob, kept identical to upstream apart from provenance headers; the CLI-only globals and main.swift are adapted in Convert.swift, and MP42SupConverter is the new @objc facade the importer calls over the MP42-Shared-Swift.h shim. Vendored output was verified byte-for-byte identical to the upstream CLI, and saved MP4s play back as dvd_subtitle tracks.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-28 18:18:16 -05:00
Scott GarrettandClaude Code a287ea6404 Adopt Xcode 27.2 project migration
Purely settings: deployment target raised to the toolchain-recommended
value, string-catalog symbols enabled, c11/c++11 module-verification
standards, LastUpgradeCheck bumped, and Xcode's cosmetic re-sort of the
Matroska file entries in the pbxproj (same files, same targets).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-28 13:53:01 -05:00
Scott GarrettandClaude Code 1040f47542 Add Matroska tagging and track-removal support
- MP42Ebml: EBML vint/ID primitives, flat Segment scanner, block track
  number decoding, and element builders shared by all Matroska writers.
- MP42MkvImporter / MP42FileImporter: tagsOnly mode that mirrors the
  file's own track flags instead of the MP4 conversion heuristics.
- MP42MatroskaTagMapping: read/write SimpleTag maps shared by importer
  and writer, including community names for MP4-only movie fields.
- MP42MkvTagWriter: mkvpropedit-style in-place rewrite of Tags, cover
  art, and per-track name/language/enabled/forced fields with a
  size+mtime staleness guard; an untouched save is a byte-for-byte
  no-op.
- MP42MkvRemuxer: stream-copy rebuild that drops the blocks of removed
  tracks (TrackNumbers keep their gaps; block bytes are never
  rewritten), regenerates SeekHead and Cues, carries metadata edits in
  the same pass, and writes via temp file + atomic rename.
- MP42MkvTagWriter+Internal.h exposes the tag writer's scanning and
  payload builders so the remuxer reuses them unchanged.

Verified with the external matrix harness: 241 assertions green across
layout fixtures (ffmpeg/mkvmerge/streamed), removal scenarios, cue
parity, and idempotency.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-25 19:48:09 -05:00
Damiano Galassi 616cd9733b Update project 2026-09-29 16:19:03 +02:00
Damiano Galassi 2c6f987f5b Update localizations 2026-09-22 20:18:56 +02:00
Damiano Galassi 57236970a3 Add two methods two return the supported UTIs 2026-09-22 18:50:05 +02:00
Damiano Galassi ab939411c3 Xcode project check 2026-08-19 10:19:28 +02:00
Damiano Galassi c63253903d Another update check 2025-09-16 11:56:03 +02:00
Damiano Galassi 6b914137aa Run update check 2025-09-16 11:48:25 +02:00
Damiano Galassi 72c09dab2d Xcode update check 2025-09-08 14:38:51 +02:00
Damiano Galassi 531b5555b9 Xcode version check 2025-02-05 11:29:15 +01:00
Damiano Galassi 8cad594f4d Xcode project version check 2024-11-29 15:59:20 +01:00
arnnalddo aa541846bc Added Spanish (Latin America) translation 2024-07-18 12:06:08 +02:00
Damiano Galassi 23ac1a3256 Enable Swift concurrecy checks 2024-06-27 11:56:49 +02:00
Damiano Galassi 9454c452b7 Update to newer libmp4v2, add support for VVC and AV1 Dolby Vision. 2024-06-27 11:08:55 +02:00
Damiano galassi 9c6b7126f1 Set the minimum deplyoment target to 10.13. 2022-11-18 18:51:37 +01:00
Damiano Galassi cfa3c7eca8 Add French localization. 2022-01-11 11:13:35 +01:00
Damiano Galassi 33c5d84f51 Some preliminary changes to support multiple sample descriptions. 2021-12-18 14:03:54 +01:00
Damiano Galassi 9732c64bd5 Disable pedantic warnings. 2021-12-09 20:09:37 +01:00
Damiano Galassi 85790a5f41 Read Dolby Vision metadata from mp4 and mov. 2021-12-07 15:19:00 +01:00
Damiano Galassi a29d71f4d1 Link to Accelerate framework. 2021-12-07 12:07:08 +01:00
Damiano Galassi eb410ed7a4 Passthru the HDR10 metadata. 2021-05-28 14:56:10 +02:00
Damiano Galassi b7a14c22a4 Fix headers import. 2021-02-23 10:59:17 +01:00
Damiano Galassi 11069569e6 Update project. 2020-10-05 12:39:32 +02:00
Damiano Galassi e09a5d03b3 Add Chinese localization. 2020-10-04 12:47:34 +02:00
Damiano Galassi b4e599ae3b Fix universal build. 2020-10-02 13:31:05 +02:00
Damiano Galassi 0e421a6eef Enable and fixes more warnings. 2020-09-19 14:39:02 +02:00
Blair Replogle b5741cdf79 fix import statement build errors for static library target 2020-09-07 12:33:20 -06:00
Damiano Galassi 6cbd1ed712 Fix a cast on arm64 2020-07-10 13:06:08 +02:00
Damiano Galassi f63e23f878 Adopt objc direct attributes where possible. 2020-07-01 19:48:11 +02:00
Damiano Galassi fe93298806 Update project. 2020-03-12 18:01:54 +01:00
Damiano Galassi 41c14f6004 Add swift project configuration and remove test target. 2020-03-12 17:01:19 +01:00
Damiano Galassi ce4ee8e0f1 Reorganize headers. 2020-02-08 13:53:32 +01:00
Damiano Galassi bf0417c97d Refactor MP42Track private methods, removed NSUserDefaults usage. 2020-02-08 13:45:56 +01:00
Damiano Galassi 98b7bb0b6c Remove MP42Ratings class. 2020-02-04 13:40:45 +01:00
Damiano Galassi 9c812b34d7 Update ffmpeg. 2020-01-07 11:40:35 +01:00
Damiano Galassi 3d0f4ed705 Merge branch 'master' of bitbucket.org:galad87/mp42foundation 2019-10-15 09:46:43 +02:00
Damiano Galassi b82ac9b469 Fix static library build. 2019-09-28 10:29:34 +02:00
Damiano Galassi 3f482cc2a1 Update project. 2019-09-15 15:25:11 +02:00
Damiano Galassi 5dfa009610 Fix some annotations. 2019-08-12 10:50:19 +02:00
Damiano Galassi d15f3ee11c Update project. 2019-08-05 12:46:27 +02:00
Damiano Galassi 4d5fdd893f Update Tesseract to version 4. 2019-06-01 14:21:52 +02:00
Damiano Galassi bb1c13f8ab fix build when sandbox is disabled. 2019-03-11 16:10:34 +01:00
Damiano Galassi 0c14b18efc Improve reopening file under sandbox. 2019-03-11 09:57:34 +01:00
Damiano Galassi d05a51659b Fix some sandbox related code. 2019-03-10 11:12:41 +01:00
Damiano Galassi c5d4e175b3 Fix development region. 2019-03-08 09:47:23 +01:00
Damiano Galassi 9cea3be041 Set the min deployment target to 10.11 for a while. 2019-01-28 14:09:25 +01:00
Damiano Galassi 3ccde22cd7 Improve eac3+atmos parser. 2019-01-05 10:23:58 +01:00
Damiano Galassi 7cdf46620c Remove an hardcoded path from the project. 2018-08-07 14:35:07 +02:00
Damiano Galassi 41968f650c Update project. 2018-08-04 08:38:55 +02:00