MP4TRACK(1)

πŸ“¦
version 2.1.0 Β· 2 versions
, in fedora 43

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. πŸ‘‘
  • --enabled BOOL β€” sets trak.tkhd.flags (the enabled bit).
  • --inmovie BOOL β€” sets trak.tkhd.flags (the inMovie bit).
  • --inpreview BOOL β€” sets trak.tkhd.flags (the inPreview bit).
  • --layer NUM β€” sets trak.tkhd.layer.
  • --altgroup NUM β€” sets trak.tkhd.alternate_group.
  • --volume FLOAT β€” sets trak.tkhd.volume.
  • --width FLOAT β€” sets trak.tkhd.width.
  • --height FLOAT β€” sets trak.tkhd.height.
  • --language CODE β€” sets trak.mdia.mdhd.language.
  • --hdlrname STR β€” sets trak.mdia.hdlr.name.
  • --udtaname STR β€” sets trak.udta.name.value.
  • --udtaname-remove β€” removes the trak.udta.name atom. 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-index IDX β€” act on track index IDX.
  • --track-id ID β€” act on track id ID.
  • --colr-parms CSV β€” where CSV is IDX1,IDX2,IDX3.
  • --colr-parm-hd β€” equivalent to --colr-parms=1,1,1.
  • --colr-parm-sd β€” equivalent to --colr-parms=6,1,6.
  • --pasp-parms CSV β€” where CSV is hSPACING,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, --debug NUM β€” increase debug, or use the long-option to set NUM directly.
  • -v, --verbose NUM β€” 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 β€” supressed
  • 1 β€” add warnings and errors (default)
  • 2 β€” add table details
  • 3 β€” add implicits
  • 4 β€” everything

⭐ VERBOSE LEVELS ⭐

  • 0 β€” warnings and errors
  • 1 β€” normal informative messages (default)
  • 2 β€” more informative messages
  • 3 β€” everything

bestie reminder 🫢: -y/--dryrun is your bestie when you're not sure, and -f/--force will 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