/media-os:otio-convert [src] [dst]from media-os
Converts editorial timelines between NLE formats (EDL, FCPXML, AAF, etc.) using OpenTimelineIO CLIs. Also provides timeline statistics, concatenation, filtering, and a Qt viewer.
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
otio.py convert)otio.py cat)otio.py stat)otio.py tool)otio.py plugins)otio.py view)otio-docs instead.OTIO is a pip package. Install core + every community adapter:
pip install OpenTimelineIO-Plugins # installs opentimelineio core automatically
This gives you on PATH: otioconvert, otiocat, otiostat, otiotool, otiopluginfo, otioview (Qt; needs PyQt/PySide installed separately — pip install PyOpenTimelineIO[view]).
Verify install:
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py plugins
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py convert \
--input edit.fcpxml --output edit.otio
Format is auto-detected from the file extension. Shortcut aliases for common source→destination pairs:
| Alias | Source → Dest |
|---|---|
fcp7-to-fcpx | .xml (FCP7) → .fcpxml |
fcpx-to-fcp7 | .fcpxml → .xml |
edl-to-otio | .edl → .otio |
otio-to-edl | .otio → .edl |
aaf-to-otio | .aaf → .otio |
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py convert \
--input cut.edl --output cut.otio --preset edl-to-otio
The wrapper prints the real otioconvert command to stderr before running it; --dry-run echoes without executing.
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py cat --input edit.otio
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py cat --input a.otio --input b.otio --output combined.otio
Pass-through for otiocat: multiple --input = concatenate in order.
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py stat --input edit.otio
Prints track count, clip count, total duration, start/end time ranges — matches otiostat output.
otiotool is the surgical-edit multi-tool. The wrapper passes args through:
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py tool \
--input edit.otio --output flat.otio \
-- --flatten video --remove-transitions
Everything after -- is forwarded verbatim to otiotool. Common flags:
| otiotool flag | Effect |
|---|---|
--flatten video | collapse video tracks into one |
--flatten audio | collapse audio tracks into one |
--remove-transitions | drop all Transition objects |
--trim START END | crop global timeline range |
--copy-media-refs-from FILE | borrow media references from another OTIO |
--redact | strip clip names (useful for sharing timelines) |
Consult otiotool --help for the full list.
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py plugins
Enumerates: adapters, media linkers, schemadefs, hooks. Use to confirm an adapter (e.g. aaf_adapter, fcpx_xml) is installed before attempting conversion.
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py view --input edit.otio
Launches otioview Qt GUI (macOS/Windows/Linux with Qt). Needs PyOpenTimelineIO[view] installed.
OpenTimelineIO-Plugins is the right install for NLE round-trips. Just pip install opentimelineio gives you ONLY native otio_json / otiod / otioz adapters — no EDL, no FCP7 XML, no AAF.pyaaf2. On some systems pip install pyaaf2 has native-build hurdles. Try conda-forge: conda install -c conda-forge pyaaf2..edl → cmx_3600, .xml → fcp_xml (NOT FCPXML), .fcpxml → fcpx_xml, .aaf → aaf_adapter, .otio/.otiod/.otioz → native. Passing a FCPX .fcpxml file with .xml extension will misroute to FCP7 adapter..otio is the only lossless canonical format — hop through it.otioconvert --input-adapter and --output-adapter override extension detection when the filename doesn't match (e.g. EDL with .txt extension): otioconvert -i cut.txt --input-adapter cmx_3600 -o cut.otio.otiotool is NOT a round-trip tool; it's an in-place transform. It reads OTIO, applies transforms, writes OTIO. To transform an EDL → trimmed EDL, convert EDL→OTIO, run otiotool, convert OTIO→EDL."Video" / "Audio". otiotool --flatten video is lowercase arg, but the internal track.kind string is "Video". Don't mix up.otioview needs Qt. Headless boxes (CI, SSH) can't run it. Use otiostat + otiocat for text-only inspection.otiostat prints durations as value@rate pairs. A 24fps timeline of 10 seconds shows 240@24, NOT 10.0. Don't interpret as seconds — divide by rate.uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py convert \
--input cut.fcpxml --output cut.xml --preset fcpx-to-fcp7
Premiere imports both, but FCP7 XML is the stable round-trip.
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py convert --input cut.edl --output cut.otio
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py stat --input cut.otio
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py convert --input edit.fcpxml --output edit.otio
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py tool \
--input edit.otio --output flat.otio -- --flatten video
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py cat \
--input scene1.otio --input scene2.otio --output reel.otio
uv run ${CLAUDE_SKILL_DIR}/scripts/otio.py plugins | grep aaf
No adapter available for file 'foo.aaf'Cause: aaf_adapter not installed (or pyaaf2 broken).
Solution: pip install OpenTimelineIO-Plugins (gets everything). If AAF still fails: pip install pyaaf2 first.
otioview: command not foundCause: Qt/viewer extras not installed.
Solution: pip install 'PyOpenTimelineIO[view]' or install PyQt5/PySide2 manually.
Cause: EDL headers don't carry rate; cmx_3600 adapter defaults to 24fps.
Solution: Pass --rate 29.97 (or whatever) to otioconvert via otio.py convert ... -- --rate 29.97, or include a leader with rate in the EDL header.
.xml file treated as FCP7 but is actually FCPXSolution: Pass explicit adapter: otioconvert -i weird.xml --input-adapter fcpx_xml -o out.otio. Or rename file to .fcpxml first.
otioconvert: command not foundSolution: Install OTIO: pip install OpenTimelineIO-Plugins. Make sure the venv is active (which otioconvert).
otio-docs skill's references/adapters.md.otiotool transform catalog → references/otiotool.md in this skill.What SKILL.md sets; muted values are Claude Code's defaults
110 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.
/audio-pipewireRoute and introspect Linux audio/video/MIDI graphs with PipeWire: pw-cli (interactive object/module control), pw-dump (full graph JSON with --monitor), pw-link (list/create/destroy port links), pw-cat / pw-play / pw-record (playback+record), pw-top (real-time DSP load + xrun viewer), pw-metadata (shared metadata store), pw-loopback (source/sink bridges), pw-midiplay/pw-midirecord, pw-jack (JACK client compat shim), pw-mon, pw-profiler. WirePlumber session manager handles routing/defaults/profiles. Replaces PulseAudio (via pipewire-pulse) and JACK (via libjack.so shim) simultaneously. Use when the user asks to route Linux audio, link two apps, list audio devices on Linux, create a loopback, record system audio, monitor the audio graph, or set up a virtual audio device on modern Linux.
/audio-wasapiManipulate Windows audio via WASAPI (learn.microsoft.com/coreaudio): SoundVolumeView + svcl.exe (NirSoft — set default device, per-app volumes, save/load profiles), AudioDeviceCmdlets PowerShell module (Get-AudioDevice, Set-AudioDevice, Get-AudioDevicePlaybackMute), nircmd setdefaultsounddevice. Shared mode (Windows engine resamples all streams to endpoint fixed format) vs Exclusive mode (bit-perfect, audiophile, ~sub-3ms latency with IAudioClient3 + event-driven callbacks). WASAPI then MMDevice then Audio Engine (audiodg.exe) then WDM/KS. ASIO is Steinberg's parallel stack bypassing Windows audio. Virtual audio devices: VB-Audio Virtual Cable, VoiceMeeter/Banana/Potato. Use when the user asks to change Windows default audio device, route app audio, use VoiceMeeter, install VB-Cable, set a specific device from PowerShell, or enable exclusive-mode low-latency output.
/cv-mediapipeGoogle MediaPipe Tasks API (current supported, NOT legacy mediapipe.solutions): Vision Tasks (Face Detector, Face Landmarker, Face Stylizer, Hand Landmarker, Gesture Recognizer, Pose Landmarker, Holistic Landmarker, Object Detector, Image Classifier, Image Segmenter, Interactive Segmenter, Image Embedder, Image Generator), Audio Tasks (Audio Classifier), Text Tasks (Text Classifier, Text Embedder, Language Detector), GenAI Tasks (LLM Inference — on-device Gemma/Phi-2/Falcon/StableLM). Three run modes: IMAGE, VIDEO, LIVE_STREAM (async). Python: mediapipe.tasks.python.vision/audio/text/genai. Docs at ai.google.dev/edge/mediapipe/solutions. Model Maker for transfer learning. Use when the user asks to detect pose/face/hand landmarks, classify an image, run a body-pose model, segment people, recognize gestures, do on-device LLM inference via MediaPipe, or build a mobile/embedded CV pipeline.
/cv-opencvComputer vision on images + video with OpenCV (docs.opencv.org/4.x/): core (Mat / ndarray, linalg), imgproc (filtering, morphology, geometric transforms, color conv, histograms, contours), imgcodecs (imread/imwrite — PNG, JPEG, TIFF, WebP, EXR), videoio (VideoCapture / VideoWriter — FFMPEG, GStreamer, V4L2, AVFoundation, MSMF backends), calib3d (camera calibration, stereo, solvePnP, homography), features2d (ORB, AKAZE, BRISK, KAZE, SIFT), objdetect (FaceDetectorYN, FaceRecognizerSF, HOG, ArUco, QRCode), dnn (ONNX/TF/Caffe/Darknet, CUDA + OpenVINO + Vulkan backends, model zoo at github.com/opencv/opencv_zoo), photo (inpainting, denoising, HDR Debevec/Robertson), stitching (panorama), video (optical flow Farneback/LK/DIS, BackgroundSubtractorMOG2/KNN, tracking KCF/CSRT/MIL/Nano/Vit/DaSiamRPN). Python-first via cv2. Use when the user asks to detect faces, track objects, run YOLO inference, capture + process webcam frames, calibrate a camera, stitch a panorama, or use OpenCV from Python/C++.
npx claudepluginhub damionrashford/media-os --plugin media-osOther plugins' skills for the same job