/media-os:media-mediainfo [file]from media-os
Deep container and stream analysis using MediaInfo: codec profiles/levels, bitrate ladders, GOP structure, HDR10/HDR10+/Dolby Vision metadata, audio channel descriptions, and container quirks beyond ffprobe. Useful for broadcast QC, delivery spec pre-flight, and multi-file audits.
Ships in media-os. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Context: $ARGUMENTS
mediainfo in.mp4)--Output=JSON) and Step 3hdr subcommand)netflix-check)references/mediainfo.md-show_frames -show_entries side_data; MediaInfo shows them at the stream level.# macOS
brew install mediainfo
# Debian / Ubuntu
sudo apt-get install -y mediainfo
# verify
mediainfo --Version
Same binary and engine power the CLI and the GUI app — the JSON schema is stable across versions, so pin to JSON for automation.
mediainfo in.mp4 # human-readable default
mediainfo --Full in.mp4 # every tag, verbose (HDR, DV, GOP live here)
mediainfo --Output=JSON in.mp4 # machine-readable, stable schema
mediainfo --Output=XML in.mp4 # XML tree, same info as JSON
mediainfo --Output=HTML in.mp4 > report.html # browseable report
mediainfo --Output=EBU in.mxf # EBU Core XML for broadcast
mediainfo --Output=PBCore in.mxf # PBCore XML for archives
mediainfo --Output=MPEG-7 in.mp4 # MPEG-7 description
mediainfo --Output=CSV in.mp4 # CSV rows
Specific-field templates use --Inform="<stream>;<format>" and %Field% tokens:
mediainfo --Inform="Video;%Width% x %Height% @ %FrameRate%fps" in.mp4
mediainfo --Inform="General;%Format% %Duration/String3%ms" in.mp4
mediainfo --Inform="Audio;%Format% %Channels%ch %SamplingRate%" in.mp4
--Output picks a preset. --Inform customizes. %Field% names are MediaInfo's (not ffprobe's) — see references/mediainfo.md for the catalog.
Use JSON for automation. The root is {"media": {"track": [...]}}; each track has "@type" in {General, Video, Audio, Text, Image, Menu, Other}.
mediainfo --Output=JSON in.mp4 | jq '.media.track[] | {type: ."@type", format: .Format}'
mediainfo --Output=JSON in.mp4 | jq '.media.track[] | select(."@type"=="Video") | {w:.Width, h:.Height, prof:."Format profile", bd:.BitDepth}'
mediainfo --Output=JSON in.mp4 | jq '.media.track[] | select(."@type"=="Audio") | {codec:.Format, ch:.Channels, layout:.ChannelLayout}'
HDR / Dolby Vision inspection:
mediainfo --Full in.mkv | grep -i -E "colour|HDR|mastering|MaxCLL|MaxFALL|Dolby Vision|DV"
mediainfo --Full in.mp4 | grep -i dv # DV profile lines
GOP structure + codec profile:
mediainfo --Full in.mp4 | grep -i -E "format profile|gop|bframe|reference frame"
Per-codec profile strings:
"[email protected]", "High [email protected]", "[email protected]""Main [email protected]@High" (profile / level / tier)"[email protected]""LC", "HE", "HE v2"uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py check
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py summary --input in.mp4
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py json --input in.mp4
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py field --input in.mp4 --stream Video --name Width
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py hdr --input in.mkv
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py codec-profile --input in.mp4
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py compare --inputs a.mp4 b.mp4
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py netflix-check --input in.mp4
hdr returns a verdict (SDR / HDR10 / HDR10+ / HLG / DolbyVision) plus details. codec-profile parses profile + level for every video + audio stream. netflix-check flags common Netflix IMF/4K deliverables: HEVC Main 10, 10-bit, BT.2020, PQ, 3840x2160 or higher, ≥ 16 Mb/s for 4K.
--Full as MasteringDisplay_ColorPrimaries, MasteringDisplay_Luminance, MaxCLL, MaxFALL. ffprobe only surfaces these via -show_frames -show_entries side_data — expensive and requires decoding.HDR format : Dolby Vision, Version 1.0, Profile 8.1, dvhe.08.06.-show_frames frame-by-frame to infer it.mediainfo https://example.com/file.mp4 — MediaInfo partial-downloads headers and index, no full file required.--Output (capital O) vs --Inform: --Output picks a preset format (JSON, XML, HTML, EBU, PBCore, MPEG-7, CSV). --Inform customizes output using %Field% templates.%Field% syntax uses MediaInfo's names, NOT ffprobe's. %Width% not width. %FrameRate% not r_frame_rate. See the crosswalk in references/mediainfo.md.FrameRate is the current effective rate; FrameRate_Original is the pre-conversion rate (important for IVTC'd / telecined sources).Duration/String3 is milliseconds as a formatted string ("01:23:45.678"). Raw Duration is seconds as a float string. BitRate is integer bps; BitRate/String is "8 000 kb/s" formatted."[email protected]", HEVC = "Main [email protected]@High" (profile / level / tier), AV1 = "[email protected]". Parse on @.moof/mdat structure and fragment count; ffprobe sees only the muxed logical stream.uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py hdr --input in.mkv
# {"verdict":"DolbyVision","dv_profile":"8.1","transfer":"PQ","primaries":"BT.2020","max_cll":1000,"max_fall":400}
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py netflix-check --input master.mxf
# {"pass":true,"checks":{"codec":"HEVC","profile":"Main 10","bit_depth":10,"resolution":"3840x2160","hdr":"HDR10","bitrate_mbps":18.4}}
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py field --input in.mp4 --stream Video --name "Format profile"
# [email protected]
uv run ${CLAUDE_SKILL_DIR}/scripts/mediainfo.py compare --inputs src.mov encode.mp4
mediainfo: command not foundCause: MediaInfo is not installed.
Solution: brew install mediainfo (macOS) or apt-get install mediainfo (Linux). Verify with mediainfo --Version.
Cause: Codec metadata (SPS/PPS/VPS) not present in the muxed bitstream, or the field is only surfaced by --Full.
Solution: Re-run with --Full. If still missing, fall back to ffprobe -show_streams -show_frames for bitstream-derived values.
Cause: Streaming segment without the init/header segment; or a partial file truncated before the config record.
Solution: Point MediaInfo at the init segment (init.mp4) or the full file. For DASH/CMAF, run MediaInfo on the init segment concatenated with one media segment.
Cause: Server does not support HTTP Range requests; MediaInfo tries to stream blindly.
Solution: Download with curl -o file.mp4 URL then run MediaInfo on the local file.
--Inform returns nothingCause: Wrong stream name (case matters: Video not video) or unknown field name.
Solution: Check references/mediainfo.md for the exact %Field% catalog per stream type.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub damionrashford/media-os --plugin media-os110 skills in this plugin
/audio-coreaudioManipulate macOS audio at the Core Audio HAL layer: afinfo (audio file metadata), afplay (play), afconvert (convert format/rate/bit-depth/channel layout), say (TTS), SwitchAudioSource (change default input/output/system device — brew install switchaudio-osx), audiodevice CLIs (npm/Go variants), AppleScript via osascript to drive System Preferences Sound. HAL plugins at /Library/Audio/Plug-Ins/HAL/ load virtual drivers (BlackHole 2ch/16ch/64ch, Loopback, Background Music). Aggregate Device (drift-corrected multi-in) and Multi-Output Device via Audio MIDI Setup.app or AudioHardwareCreateAggregateDevice. Use when the user asks to change default macOS audio device, route audio between apps on Mac, install BlackHole, build an Aggregate Device, convert audio files with afconvert, or script Mac audio from the terminal.
/audio-jackRoute professional low-latency audio with JACK Audio Connection Kit (jackaudio.org): jackd server (ALSA/CoreAudio/PortAudio/ASIO backends), jack_control (D-Bus JACK2 config), jack_lsp (list ports/connections), jack_connect/jack_disconnect (manage links), jack_cpu_load, jack_samplerate, jack_bufsize (runtime period size), jack_transport, jack_rec (multi-channel WAV recording), jack_iodelay (round-trip latency), jack_wait, jack_midi_dump. JACK1 C maintenance vs JACK2 C++ multicore. Modern Linux swaps jackd for PipeWire's libjack shim — same client API. JackTrip for uncompressed multichannel UDP over the Internet. Use when the user asks to run a JACK server, connect audio clients, measure roundtrip latency, record from JACK ports, set JACK period size, or bridge JACK over the network with JackTrip.
Other plugins' skills for the same job