Files
universal-video-transcode/scripts
Hermes Agent f088ae78e3 feat(tracks): carry every audio track, subtitle and font attachment
MP4 (default) keeps the 'opens anywhere' promise: all audio tracks become AAC at the
source's own channel layout (5.1 stays 5.1), text subtitles become mov_text, bitmap
subtitles are skipped with a logged note, font attachments are not carried.
container=mkv is the explicit fidelity mode: every audio/subtitle/attachment stream is
copied bit-for-bit, chapters and tags ride along.

New scripts/tracks.py holds the pure plan + the container-aware gate; library_run.py
uses it for mapping, per-track codecs, container extension, install-path names and the
hvc1 check (Matroska has no codec tag). Capability report gains container/audio_downmix/
subs and 'containers' (contract 3, version 1.2.0).

Verified: scripts/test_tracks.py 55/55 (both containers end to end, per-packet md5),
plus two real library_run.py runs (MP4 3x AAC incl. 6ch + 2x mov_text; MKV bit-exact).
2026-10-24 03:56:30 +08:00
..