/media-os:workflow-streaming-distributionfrom media-os
Delivers live or VOD content over HLS/DASH/RTMP/SRT/WHIP/RIST with adaptive bitrate ladders, DRM (Widevine/PlayReady/FairPlay), MediaMTX fanout, and CDN upload to Cloudflare Stream/Mux/Bunny/S3.
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.
None: SKILL.md is the whole skill.
What: Ship live or VOD content out to every playback surface. Package once, protect optionally, deliver everywhere.
ffmpeg-streaming, ffmpeg-whip, ffmpeg-rist-zmq, ffmpeg-hwaccel, ffmpeg-drm, media-shaka, media-gpac, mediamtx-server, gstreamer-pipeline, media-cloud-upload, media-batch, ffmpeg-quality, webrtc-spec, webrtc-pion, webrtc-mediasoup, webrtc-livekit, ffmpeg-docs.
Latency vs. reliability vs. tooling:
| Protocol | Latency | Pros | Cons |
|---|---|---|---|
| WHIP (WebRTC) | sub-second | lowest latency; browser-native | needs HTTPS in prod; ffmpeg 7+ |
| SRT | 120 ms default (tunable) | reliable UDP, forward error recovery | needs port forwarding |
| RTMP | 2–5 s | ubiquitous ingest | TCP, no FEC, aging |
| RIST | low | FEC + ARQ pro contribution | fewer CDN endpoints |
Use ffmpeg-streaming with the split-scale-encode pattern — one decode, N rate/size variants emitted in parallel. Netflix-style default: 4 video renditions (240p, 480p, 720p, 1080p) + 2 audio tracks (stereo + 5.1). Force keyframe alignment with -g <fps*seg_len>, -keyint_min <fps*seg_len>, -sc_threshold 0.
Canonical target is CMAF (unified fMP4 segments serving both HLS and DASH manifests). Use media-shaka (Shaka Packager) for one-command HLS+DASH output from the same segment set. For pure HLS classic, ffmpeg-streaming's hls muxer works directly.
cbcs scheme. media-shaka handles the three simultaneously; key server URL in ${user_config.SHAKA_KEY_SERVER_URL}.ffmpeg-drm or Shaka for ClearKey / Widevine.The mediamtx-server skill ingests RTMP/SRT/WebRTC and republishes to every other protocol. One YAML → every playback client served.
Use media-cloud-upload: Cloudflare Stream (tus resumable), Mux (token id + secret), Bunny (PUT to storage zone), S3 (aws CLI / rclone). Tokens live in plugin userConfig.
For bidirectional many-to-many (> ~50 peers), deploy an SFU instead of MediaMTX: webrtc-livekit (Go + JWT minter), webrtc-mediasoup (Node), or webrtc-pion (Go, lower-level).
-hls_segment_type fmp4, short -hls_time (1–2 s), -hls_flags +independent_segments+omit_endlist.ffmpeg-rist-zmq.?mode=caller.-movflags +faststart — second-pass rewrite to move moov atom to front. Required for progressive web playback.-hls_time is a target, not a guarantee. Keyframe cadence determines actual segment length. Force alignment: -g <fps*seg_len> -keyint_min <fps*seg_len> -sc_threshold 0.independent_segments flag required for CMAF/LL-HLS. ABR switching breaks without it.-hls_key_info_file needs a trailing newline on the IV line. Many editors strip it silently, then decryption fails.cbcs scheme; Widevine/PlayReady default to cenc. For unified CMAF DRM, ALL three use cbcs.getUserMedia over http except on localhost./v3/* Control API needs api: yes in config (off by default).-re flag reads input at native framerate — essential for live from file; without it ffmpeg reads as fast as possible.-f flv explicit for RTMP — ffmpeg can pick the wrong muxer from the URL alone.-rtmp_chunk_size 4096.ICEServers in config.mediasoupworker build.Invoke media-shaka to take a single master ProRes/MOV through Shaka Packager with 4 video renditions + AAC stereo + cbcs key rotation, emitting both master.m3u8 and manifest.mpd pointing at the same *.m4s segments. Upload with media-cloud-upload. QC the result with workflow-analysis-quality.
workflow-live-production — where the contribution stream originates.workflow-broadcast-delivery — for broadcast-spec contribution paths.workflow-analysis-quality — VMAF + manifest validation on the encoded output.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