MP4TRACK(1)
MP4TRACK π
okay bestie, welcome to mp4track, aka the manual page for mp4track trunk-r507 β and no, that's not a typo, it's literally the trunk build number, slay. This is one of the MP4v2 Utilities and she is so capable it's giving main character energy. Let's get into it π
β¨ SYNOPSIS β¨
mp4track [OPTION]... [PARAMETERS]... ACTION file...
π¦ DESCRIPTION π¦
So here's the vibe: for each mp4 file you hand over, she performs the ACTION you picked. And like β you have to pick an action, bestie, there's no default, she's not gonna guess. Also heads up: some options simply don't apply to some actions. It's giving "read the room", not "read the whole flag list and assume". π
π ACTIONS
--listβ list every track in the mp4. The receipts. The full roster. π--enabledBOOL β setstrak.tkhd.flags(the enabled bit).--inmovieBOOL β setstrak.tkhd.flags(the inMovie bit).--inpreviewBOOL β setstrak.tkhd.flags(the inPreview bit).--layerNUM β setstrak.tkhd.layer.--altgroupNUM β setstrak.tkhd.alternate_group.--volumeFLOAT β setstrak.tkhd.volume.--widthFLOAT β setstrak.tkhd.width.--heightFLOAT β setstrak.tkhd.height.--languageCODE β setstrak.mdia.mdhd.language.--hdlrnameSTR β setstrak.mdia.hdlr.name.--udtanameSTR β setstrak.udta.name.value.--udtaname-removeβ removes thetrak.udta.nameatom. bye babe π--colr-listβ lists all colr-boxes in the mp4.--colr-addβ adds a colr-box to a video track.--colr-setβ sets colr-box parms.--colr-removeβ removes the colr-box from the track.--pasp-listβ lists all pasp-boxes in the mp4.--pasp-addβ adds a pasp-box to a video track.--pasp-setβ sets pasp-box parms.--pasp-removeβ removes the pasp-box from the track.
πΈ PARAMETERS
--track-anyβ act on any/all tracks. she's not picky, she's generous π--track-indexIDX β act on track index IDX.--track-idID β act on track id ID.--colr-parmsCSV β where CSV isIDX1,IDX2,IDX3.--colr-parm-hdβ equivalent to--colr-parms=1,1,1.--colr-parm-sdβ equivalent to--colr-parms=6,1,6.--pasp-parmsCSV β where CSV ishSPACING,vSPACING.
π OPTIONS π
-z,--optimizeβ optimize the mp4 file after modification. glow-up, but for bytes β¨-y,--dryrunβ do not actually create or modify any files. window shopping only, no cap.-k,--keepgoingβ continue batch processing even after errors. she does NOT quit mid-setlist π₯-o,--overwriteβ overwrite existing files when creating.-f,--forceβ force overwrite even if the file is read-only. unhinged? maybe. iconic? absolutely π-q,--quietβ equivalent to--verbose 0.-d,--debugNUM β increase debug, or use the long-option to set NUM directly.-v,--verboseNUM β increase verbosity, or use the long-option to set NUM directly.-h,--helpβ print brief help, or use the long-option for extended help.--versionβ print version information and exit.
π§ DEBUG LEVELS π§
(for raw mp4 file I/O β yes, the actual guts, we love a behind-the-scenes moment)
0β supressed1β add warnings and errors (default)2β add table details3β add implicits4β everything
β VERBOSE LEVELS β
0β warnings and errors1β normal informative messages (default)2β more informative messages3β everything
bestie reminder π«Ά:-y/--dryrunis your bestie when you're not sure, and-f/--forcewill genuinely write over read-only files, so know what you're doing before you commit, fr fr.
that's the whole page, no notes π this was mp4track from the MP4v2 crew, version trunk-r507, dated July 2025 β periodt, go make some tracks do what you want ππΈ
π¦ where this page comes from
- fedora 43: libmp4v2 2.1.0-0.34.trunkREV507.fc43 Β· LicenseRef-Callaway-MPLv1.1
- fedora 43: libmp4v2 2.1.0-0.34.trunkREV507.fc43 Β· LicenseRef-Callaway-MPLv1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms