Skip to content
edimoldovanPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

222 Commits

Folders and files

Repository files navigation

Viode

Website: eduardmoldovan.com/viode — what Viode is, what it automates, and how to hear about the launch.

Alpha software. Viode works — everything documented below is real, tested, and verified on Linux and macOS — but it is young. Expect rough edges, keep originals of your footage, and report what breaks.

The mission: get Lex Fridman off macOS/Windows.

Ask anyone who's tried to leave Mac or Windows what's holding them back and you'll hear the same answer: "I would, but I edit video." Professional video editing is the last workload with no serious home on Linux. Lex edits a 3-hour podcast; today that means Apple hardware. The day he can cut an episode faster on Linux than on his Mac, that excuse dies for everyone.

Viode is that editor, built Linux-first around three ideas:

  • Your edit is data you own. The timeline is a plain text file: diff a cut, revert a mistake, review an edit like a pull request. No opaque project blobs, no cloud, no subscription.
  • The editor does the tedious work. Remove dead air with one command. Sync multicam angles by their audio, no clap slate. Delete a sentence in the transcript and the video cuts itself. Export with correct loudness without knowing what LUFS means.
  • AI is a first-class editor, not a plugin. Claude (or any MCP client) drives the same engine you do — full feature parity with the CLI: it can cut, trim, place, grade, look at frames and scopes, read waveforms, and render.

Viode ships a CLI, an MCP server, and a desktop app — all thin clients over one engine (viode-core).

Post, Grido, Podium, Viode and omarchy-kit are made together:

  • Post — Gmail as a native window on Linux, a command in the terminal, and tools for Claude.
  • Grido — a fast native spreadsheet for .xlsx files, and tools for Claude.
  • Podium — presentations built from a storyline, exported to PDF, PowerPoint and HTML, and tools for Claude.
  • Viode — a professional video editor on Linux and macOS, a command in the terminal, and tools for Claude.
  • omarchy-kit — the egui elements the apps are built from, in the Omarchy theme's colours.

What sets Viode apart

Task In Viode
Your edit plain TOML — git diff a cut, git revert a mistake, review an edit like a PR
Remove dead air viode cut-silences 0 — one command, padding included
Edit by transcript whisper.cpp on your machine: delete the sentence, the video cuts itself
Multicam sync viode angle cam2.mp4 — audio cross-correlation, no clap slate
Automation every feature is a CLI verb; cron it, pipe it, script it
AI a first-class MCP client that can cut, trim, look at frames, read waveforms, and render
Loudness-correct exports viode render --preset podcast — two-pass EBU R128 built in

All of it ships today: live composited playback, audio mixing, keyframes, transforms/PiP, color with scopes, the full roll/slip/slide trim grammar, speed ramps with optical-flow smoothing, ProRes/DNxHR/HEVC/AV1 exports with a render queue, and media relinking. What remains is depth and dogfooding.

Viode editing a timeline in the GUI: filmstrips, waveforms, playhead, and live playback

Filmstrips, waveforms, a playhead — and live video playback of the edit, with zero rendering in between.

Why

Editing is a feedback loop: look, cut, look again. Viode is built so that loop has nothing in it that isn't editing — no waiting on renders to see a cut (playback of your edit starts instantly), no clicking through hours of footage to find dead air (one command), no re-syncing cameras by hand (the audio does it), no guessing at loudness specs (presets know). And because every capability is exposed as a command and an MCP tool, anything repetitive can be scripted or delegated to an AI that works with the same precision you do.

The acceptance test is written down and non-negotiable: Lex edits a 3-hour multicam podcast in Viode, and it's better than his Mac setup. Every design decision gets judged against that bar — "works on a 3-minute demo" is not done.

Proven on real media

Not demo clips — real films, measured end-to-end on 2026-08-28. Test bench: AMD Ryzen 9 9950X3D (16c/32t), 64 GB RAM, Radeon iGPU, WD_BLACK SN8100 NVMe, Arch Linux (kernel 7.1.8). Media: His Girl Friday (1940, 1h32m of the fastest dialogue ever filmed), Sita Sings the Blues (CC, 1h22m), and an hour of genuine 4K60 (Big Buck Bunny, lossless-looped). Protocol: scripts/test-real-media.sh.

Real-world task Time
Build a 2h53m two-film timeline 0.4s
50 splits across that 3-hour timeline 0.15s (~3ms per edit)
Silence scan over 92 min of rapid dialogue 8.6s (~640× realtime)
Proxy ~3h of footage (parallel per-file) 77.8s (~135× realtime)
Multicam auto-sync on real 1940s audio 4.0s — found the 2.000s offset exactly
Cut to the synced angle (take) instant
Render an 80s composite (wipe + grade + 1.5× speed + PiP + title) 4.9s
Loudness-normalized podcast export 7.6s
ProRes interchange export 10.2s
Scene detection on 10 min of 4K60 (via proxy) 2.6s (was 52.2s on the original — 20×)
Repeat audio analysis (cached) 0.01s
Probe a 1-hour 4K60 file 2.4s
Proxy 1 hour of 4K60 6m21s (~10× realtime — within 1.4× of the raw decode floor)
Render 30s of true 3840×2160@60 17.8s (1.7× realtime)

Two bugs no synthetic test had caught fell out of this session — a transition-type render failure and renders silently ignoring project resolution — both fixed with regression tests the same day. The optimization backlog is measured, not guessed (VA-API proxying tested 4.5× slower than this CPU, so it stays opt-in).

First run on macOS (2026-08-29)

Viode had never run on macOS before this. Test bench: Apple M5 Max, 128 GB unified memory, macOS 26, Homebrew GStreamer 1.28.6, Rust 1.98.

What Result
cargo build --release clean on the first try (28s)
cargo test — the full suite, 69 tests all green; warm end-to-end run ~3s
GES render, podcast preset, preview pipeline all work, first try

One genuine gap: Homebrew's monolithic gstreamer omits the soundtouch plugin, so speed changes (viode speed) failed to render until we built libgstsoundtouch from the matching gst-plugins-bad source (~1 minute) and dropped it into ~/.local/share/gstreamer-1.0/plugins/. Everything else worked unmodified. Full log and fixes: docs/macos-bootstrap.md.

A second Homebrew gap: the core ffmpeg formula no longer links libvidstab, so viode steady needs the community build: brew tap homebrew-ffmpeg/ffmpeg && brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-libvidstab (uninstall the core formula first). viode doctor says exactly this when it finds the gap.

On macOS the GUI renders through wgpu (Metal). macOS 26.6 stopped presenting eframe's OpenGL window after its first frames — the editor kept running but the screen froze — and Metal is the supported path on Apple hardware anyway. Linux keeps the OpenGL renderer.

Install

Installers — an AUR package, a Homebrew formula, .deb/.rpm, and a drag-and-drop Mac app that carries its whole engine inside — are being built now. Until they land, Viode builds from source:

Requirements (Arch package names; any distro works with equivalents):

rust  ffmpeg  gstreamer  gst-editing-services  gst-plugins-{base,good,bad,ugly}  gst-libav

GStreamer Editing Services 1.24 or newer (Ubuntu 24.04 and later ship it).

Optional: gst-plugin-va for hardware decode, mpv for watching renders.

Transcription also needs a ggml model: drop one (e.g. ggml-base.en.bin from huggingface.co/ggerganov/whisper.cpp) into ~/.local/share/viode/models, or point VIODE_WHISPER_MODEL at it. Subject-aware reframing (viode render --preset shorts --reframe) needs the face model in the same directory — viode doctor prints the exact download command.

After installing, run viode doctor: it checks every engine piece this machine has (GStreamer elements, ffmpeg, mpv, whisper.cpp) and names the exact package for anything missing. GStreamer builds differ per platform — Homebrew's ships without soundtouch, for example — so the editor also tells you upfront: the GUI shows a banner and the MCP server reports gaps to the AI when it connects, before it plans an edit around a feature that isn't there.

git clone https://github.com/edimoldovan/viode && cd viode
cargo install --path crates/viode-cli

Quickstart

viode new mycut && cd mycut
viode add ~/footage/interview.mp4     # copies into media/, appends to timeline
viode ls                              # show the timeline
viode split 0 12.5                    # split clip 0 at 12.5s into it
viode rm 1                            # drop the second piece
viode render                          # frame-accurate render -> renders/mycut.mp4

Or skip the typing:

viode gui

The GUI viewer

Every command is discoverable with the mouse. ctrl+K (or the ⌘ toolbar button) opens the command palette: type what you want — "razor", "export", "title" — and every entry shows its key combo, so the palette teaches the fast path as you use it. Right-clicking a clip, a title marker, or the ruler offers the verbs that act on that object, the icon toolbar carries the handful everyone touches (add, split, delete, undo, redo, save, render), and the inspector holds every parametric edit. Keyboard and palette and menus all run the exact same actions — nothing lives in only one surface. The key reference sits behind the ? Help button in the timeline header (or press ?).

Footage arrives with the mouse too: drag files onto the window, or use the ➕ toolbar button. Tracks, angles (auto-synced by audio), silence cutting, scene splitting, proxies, and LUTs are all in the palette, the right-click menus, and the inspector.

Multicam editing lives on the angle wall: every angle shows its frame at the playhead, clicking one (or pressing its number key) takes it over the marked range or the clip under the playhead. Markers sit on the ruler as colored flags — click seeks, right-click removes, and alt+drag gives a marker a duration, drawn as a bar you can resize.

viode gui opens the current directory's project; viode gui <path> opens a project file or directory from anywhere. Started with neither — which is what launching Viode from the app menu looks like — it shows a welcome screen instead: recent projects, New Project (name, fps, resolution, location), and an Open Project file dialog. Every project you open lands in the recents list automatically, however you opened it.

To put Viode in your app launcher and associate .viode project files with it before packages exist, run ./scripts/install-desktop.sh (it installs the icon, launcher entry, and file association into ~/.local/share; --uninstall removes them). The packages will install the same files system-wide.

The window itself (egui) is laid out like an NLE: the preview dominates, and the timeline docks below it with a prominent timecode, track headers on the left (V1/A1 style; video lanes stack above V1, audio lanes below A1), real filmstrips and waveforms, and titles as markers. Colors follow the Omarchy theme LIVE — switch themes and the whole window recolors within a second, like the rest of the desktop (elsewhere it uses Viode's own dark default). The preview is the same GES timeline the renderer uses, streamed frame-by-frame into the window, so transitions, titles, transforms, and keyframes all play exactly as they will render. Transport follows the editor grammar: space play/pause, J/K/L shuttle (up to 8x, both directions), ←/→ step a frame, shift+←/→ jump a second, home/end jump, and clicking or dragging on the ruler scrubs. 4K projects preview at 720p automatically; sources stay untouched.

The GUI edits with full parity (G2): click a clip to select it, drag it to move (main-track clips reorder, overlays reposition), drag its edges to trim, alt+drag an edge to roll the cut, alt+drag the body to slip, shift+alt+drag to slide. The keyboard grammar carries over from the keyboard: s split, i/o trim to playhead, d delete, </> move, t title, u/U undo/redo, w save (quit asks about unsaved edits). An inspector panel edits every clip property — speed, gain, pan, transitions (crossfades, dips to black or white, and wipes), position/scale/rotate/opacity and blend modes, color grade (white balance, exposure, and tone included, applied live), keyframes — plus full title editing (a box behind the text, a soft shadow, an outline, dragging a title on the picture to place it, and an entrance and exit: fade, slide from an edge, or pop), with single undo steps per slider gesture. Beside the inspector, the Keyframes panel draws a lane for each animated property of the selected clip across its span: drag a key to retime it on the frame grid (snapping to the playhead and other keys), click it to go there, right-click for its ease, type or drag the value at the playhead, and step between keys with alt+←/alt+→ (alt+k adds or removes one at the playhead). No edit stops playback: the preview changes the playing timeline in place, and only adding, removing, or switching a track (or changing the frame size or rate) rebuilds it, at the same spot and still playing.

The viewer also live-reloads: when any other process rewrites the project file — the CLI, an editor, or an AI session over MCP — the timeline redraws and the playing preview takes the change the same way, without stopping (unsaved local edits are never clobbered). Ask Claude to "open the UI" over MCP (ui_open) and watch the edit happen.

The pro surface (G3) lives in the left panel. Angles: every non-main track appears with a thumbnail — mark a range ([ and ], shown on the ruler) and click an angle to take that range from it, the multicam cut as one click. Transcript: transcribe the clip under the playhead (whisper.cpp), then click a sentence to jump to it or × to cut it out of the video. Scopes: the Scopes tab measures the program picture, graded and composited, live while it plays: a waveform, an RGB parade, a vectorscope, and a histogram, any combination, picked at the top of the tab, from a scope's right-click menu, the View menu, or the palette. The render dialog (r) does masters, YouTube/Shorts/podcast presets and custom codecs, renders in the background, and manages the shared render queue. Missing media raises a relink banner — point it at a directory and clips reconnect by filename.

The layout is yours to shape. Drag the dividers to size the left panel, the inspector, and the timeline lanes; double-click a divider to collapse that panel (or use the palette's Show or hide entries). Sizes and collapsed panels are remembered, and a narrow window squeezes the panels before the viewer. The viewer carries its own footer: timecode, transport buttons, a Fit/50%/100% zoom picker, and a mini-timeline with the markers and the marked range. Clips are blocks colored by track type with a name strip and a head thumbnail; track headers carry the visibility and lock switches, and a locked track is hatched and refuses every edit. The left panel is tabbed (Media, Angles, Transcript, Markers, History, Captions), the inspector groups properties into collapsible sections whose switches turn a whole section off while keeping its values, color sliders show what they do on their rails, and the line at the bottom of the window describes whatever is under the pointer.

Every saved change lands in one history that the editor, the CLI, and an AI over MCP all share. The History tab lists each step with who made it — "you" or "AI" — and clicking a step goes back to it; an AI step opens to show the reason the model gave and the frames, waveforms, and scopes it inspected first. Unsaved edits undo locally, and once they are saved, undo walks the shared list, so an AI's cut can be undone in the editor and an editor change from the CLI. Saves are atomic (a crash mid-save never truncates the project), and while edits are unsaved the editor keeps a copy every minute; if a session ends without saving, the next open offers the work back, and "Restore an earlier version…" lists every copy.

Three-point editing works the way editors expect. Double-click a file in the Media bin (thumbnails, length, frame rate, size, and whether the timeline uses it) to open it in the source monitor beside the program viewer, mark in and out (an in-point alone runs to the end of the file), and press , to insert it at the playhead or . to overwrite; the source monitor keeps the keys, so you can mark and place again. ' extracts the marked range and closes it up; ; lifts it and leaves a gap that plays black and silent until you delete it. ⌘C copies a clip, ⌘V pastes over the playhead, ⌘⇧V pastes as an insert. shift+T opens trim mode on the nearest cut: the outgoing and incoming frames side by side, arrows roll the cut a frame at a time, clicking a frame ripples that side, and J/K/L trim while playing, committed as one undo step. The tools column beside the track headers switches clicks and drags between select, razor (click to split), slip, slide, and rate stretch (drag an edge to change speed so the clip fills the new length). Still images (PNG, JPEG, WebP) drop in as five-second clips, "Export frame…" (palette, File menu, or the viewer's right-click) writes the frame at the playhead as a PNG, and markers export as a CSV review list. Captions are their own track: a lane above the timeline and a Captions tab to edit text and timing, generate from speech, import or export SRT and WebVTT, and burn into the picture. Right-click a transcript sentence and "Cover with…" lays B-roll over exactly that sentence on a video track.

The audio console works like a mixing desk. Every track with sound plays through its own bus: a channel strip of inserts (high- and low-pass, de-hum, a three-band EQ, and a look-ahead peak limiter), then the fader and the pan. The buses meet in the master mix, identically in the preview and the render, and fader, pan, mute, solo, and insert moves are heard while playing, without a rebuild. Click a track header (or the fx button on its Mixer strip) to edit the track in the inspector; an fx badge on the header shows a track with inserts. During playback a loudness meter (EBU R128, measured in Viode's own code) sits beside the timecode with the momentary, short-term, and integrated readings; pausing keeps them, seeking starts over. The inspector's Audio section gives a clip the same EQ, filters, limiter, and de-hum (they sound the same on a clip and on its track), plus normalize (to a loudness or true-peak target, measured from the processed sound), baked with voice cleanup in one cached ffmpeg pass. A crossfade is a true dissolve that keeps the picture's brightness for any pictures, whatever their shape, placement, rotation, motion, or transparency, and audio crossfades between clips are constant power, so the level holds through the overlap, also under a dip, where the picture passes through black or white. A transition never outlasts the room its clips leave: an edit that takes that room (an insert or split inside it, a trim, a speed change) shortens it to fit and the timeline closes up behind it, an edit that leaves no room turns it into a cut, and a duration longer than the room is refused.

Settings that need processing (stabilization, a clip's sound processing, masks, LUTs, and bundled projects) are processed once per source file and setting, in the background: the clip shows a thin fill along its foot as far as the work has come, and the bottom line names the step and its percentage ("Stabilizing interview.mp4 · step 2 of 2 · 43%"). Editing and playback go on meanwhile; the preview plays the clip without the work (a bundled project holds its place, black on the main track, until its render lands) and then swaps it in place, while exports and exported frames always wait for it (so do the CLI's and MCP's scopes; the Scopes tab measures the preview as it is shown). A setting changed mid-way stops the work it no longer needs, and a bundle that contains itself is refused as a cycle. Grades need none: they apply live. On the CLI the verbs that set such a setting process that clip before they return, printing each step on stderr, and verbs that can bring settings back (undo, redo, a history jump or restore, a bypass or track switched on, a relink) process whatever is due, noting any failure; MCP's tools do the same and report each step as progress notifications when the client asks for them; and two processes never process the same file at once (the second waits and shows the first one's progress).

The keyboard follows the standard editor layout by default (arrows step frames, shift+arrows jump a second) and can switch to the Premiere Pro, Final Cut Pro, or Avid layout. "Keyboard layout…" switches layouts and rebinds any action by pressing the new key, with a warning before a key is taken from another action; the palette, menus, and tooltips always show the active keys. Clip drags snap to edits, the playhead, markers, and the range (the magnet button or N toggles it). A menu bar — native on macOS, in the window on Linux — reaches every action, and Preferences sets the defaults for new projects, autosave, snapping, the keyboard layout, and proxies.

CLI reference

viode new <name> [--fps 30] [--res 1920x1080]   create a project directory
viode add <file> [--in T] [--out T]             append a clip (imports if outside)
viode add logo.png [--dur 5]                    a still image as a clip
viode insert <file> --at T [--in --out]         splice a source range in; later clips move
viode overwrite <file> --at T [--in --out]      lay a source range over what plays there
viode extract <start> <end> · lift <start> <end> remove a range: close it up / leave a gap
viode copy <i> --to T [--insert]                copy a clip to a time (overwrite or insert)
viode stretch <i> --to D                        rate stretch: play the same source for D
viode frame <t> --out f.png                     export the composited frame at t
viode import <files...>                         copy media into media/
viode probe <file>                              media metadata
viode ls                                        show the timeline
viode split <i> <at>                            split clip i at offset
viode trim <i> [--in T] [--out T]               change source in/out points
viode move <from> <to>                          reorder clips
viode rm <i> [--track N]                        remove a clip
viode fade <i> <dur> [--kind dip-black|…]       transition from the previous clip (0 clears)
viode gain <i> <dB>                             audio gain in dB (0 = unity, -60 = silence)
viode pan <i> <p>                               stereo pan, -1..1
viode key <i> <prop> <at> <val> [--ease in-out] keyframe gain (dB)/alpha/x/y/scale/rotate (fades, moves)
viode keys <i> [--rm k] [--ease k hold]         list / remove keyframes, change one's ease
viode keys <i> --move k <at> | --value k <v>    retime a keyframe (source time) or change its value
viode fx <i> "<gst effect>" [--track N]         add effect, e.g. "videobalance saturation=0"
viode track add <name> [--kind video|audio]     overlay tracks (B-roll, music)
viode track ls / on <i> / off <i>               manage tracks
viode track lock <i> / unlock <i>               a locked track refuses every edit
viode track fader|pan <i> <v> · mute|solo <i>   the track mixer, fader in dB (--off releases mute/solo)
viode track eq|filter|limit|dehum <i> …         track inserts on its bus (the clip verbs' options)
viode loudness [--file F]                       EBU R128: integrated, range, true peak (no file: renders first)
viode undo / redo                               step the shared history (any surface's edits)
viode history [--show N] [--jump N]             every saved change: who, what, why
viode versions · viode restore <n>              autosaved copies of unsaved editor work
viode config get [key] · config set <key> <v>   preferences (new-project defaults, autosave, ...)
viode keys-preset <name>                        editor keyboard layout: viode, premiere, final-cut, avid
viode bypass <i> <section> on|off [--track N]   switch transform/color/wheels/curves/secondary/vignette/audio off (values kept)
viode add <file> --track N --at T               place a clip on an overlay track
viode title "text" --at T --dur D [--font F]    overlay a title [--x --y --color --box [COLOR] --shadow [COLOR] --outline [COLOR]]
                                                [--anim-in fade|slide-left|slide-right|slide-top|slide-bottom|pop --anim-out ANIM --anim-dur D]
viode titles [--rm k | --edit k ...]            list / remove / edit titles (text, timing, place, box, shadow, outline, animations)
viode sync <a> <b>                              audio-sync offset between two files
viode angle <file>                              add a synced multicam angle (disabled track)
viode take <track> <start> <end>                cut to an angle for a timeline range (0 is the main camera)
viode autocut [--min-shot S] [--lead S]         cut the multicam to whoever is speaking (takes, editable)
viode transcribe <i> [--model M]                whisper.cpp transcript (timed segments and words, cached per file)
viode cut-text <i> <from> <to>                  cut transcript segments out of the video
viode cut-fillers [--words um,uh]               cut every filler word, from word-level transcripts
viode place <i> --x --y --scale --opacity       picture-in-picture, layouts, rotation
viode color <i> --temperature 0.3 --exposure 1   white balance, exposure, highlights/shadows/whites/blacks (live)
viode color <i> --contrast 1.2 --saturation 1.1 [--gamma 1.2] [--lut f.cube]  rest of the grade (live) / LUT (baked, first)
viode wheel <i> shadows|midtones|highlights --hue 30 --amount 0.2 --luma 0.1 [--clear]  color wheels (live)
viode curve <i> --luma "0,0 0.25,0.2 1,1" [--red|--green|--blue …] [--clear]  curves after the wheels (live)
viode secondary <i> --hue 120 --width 40 --saturation 0.5 [--shift 20] [--mask on|off] [--clear]  correct one color (live)
viode adjust --at T --dur D [--track N]         adjustment clip: its grade (color/wheel/curve/… --track) grades the picture beneath it; place --opacity / key alpha / mask set how much and where
viode vignette <i> --amount -0.5 [--size 0.5] [--roundness 0] [--softness 0.5] [--clear]  darken or lighten the edges (live)
viode scope <i> [--kind waveform|parade|vector|histogram] [--at T] [--track N]  a scope of the finished picture where the clip shows source time T, by default its first frame after any transition into it (PNG)
viode speed <i> <rate>                          2 = fast, 0.5 = slow motion
viode roll/slip/slide <i> <±sec>                pro trim grammar (totals preserved)
viode play [--from T]                           LIVE composited preview, no render
viode watch [file]                              newest render in mpv; markers/cuts become chapters
viode timeline-export F.otio|F.xml|F.edl        the timeline as OpenTimelineIO, Final Cut Pro 7 XML, or CMX 3600 EDLs (one per track)
viode timeline-import F.otio                    a timeline from another editor, replacing this one (undoable)
viode queue add/ls/run/clear                    render queue
viode media ls/missing · viode relink <dir>     media management, reconnect moved files
viode freeze <t> [--dur 2]                      frame hold: freeze the frame at t
viode ramp <i> --from 0.5 --to 2                stepped speed ramp (time remapping)
viode steady <i> [--smoothing 10] [--off]       stabilize footage (vidstab bake)
viode captions [--srt f.srt] [--burn]           captions track from local transcription
viode captions --words 1                        captions word by word (or N words each)
viode captions --import f.srt|f.vtt             captions track from a file
viode captions --export f.srt|f.vtt             write the captions track out
viode captions --burn / --no-burn               burn captions into the picture (or stop)
viode cover <i> --segment N --with f.mp4        B-roll over a transcript sentence (or --from/--to)
viode render --preset shorts --reframe          Short that follows the subject (face detection)
viode mend <i> [--dur 0.25]                     morph the jump cut before clip i
viode matte <track> <i> green|blue|off          chroma key an overlay clip
viode blend <i> <mode> --track N                blend an overlay clip with the tracks beneath it (multiply, screen, overlay, soft-light, add, difference, normal)
viode match <i> --to <j>                        match exposure/saturation to a reference clip
viode mask <i> --region x,y,w,h [--follow]      blur/pixelate a region (optionally tracking it); on an adjustment, where its grade goes (--shape ellipse --feather F --invert)
viode bundle <project> [--track --at]           nest another project as one clip
viode duck <track> [--amount -12]               duck music under dialogue (gain keyframes, dB)
viode clean <i> [--strength 12] [--off]         voice denoise + rumble cut (audio bake)
viode eq <i> [--low dB] [--mid dB] [--mid-hz Hz] [--high dB] [--off]   clip EQ (shelves + a mid band)
viode filter <i> [--highpass Hz] [--lowpass Hz] [--off]               rumble and hiss filters
viode limit <i> --ceiling dB · dehum <i> --mains 50|60                 peak limiter · hum notches
viode normalize <i> --lufs -16 | --peak -1 | --off                    one steady gain to a loudness or peak target
viode refit <track> <i> --to 90                 retime music to a duration, seam crossfaded
viode mark <t> [text] [--dur D] / mark --rm <i>  named timeline markers, optionally spanning D
viode marks [--csv] [--out f.csv]               list markers / review CSV (timecode, duration)
viode bench <file>                              measure sw vs hw encoding on YOUR footage
viode doctor                                    engine checkup: what works on THIS machine
viode silences <i>                              list silent stretches
viode cut-silences <i> [--pad 0.15]             cut dead air (keeps padding)
viode scenes <i> / split-scenes <i>             scene changes / split at them
viode levels <i> [--window 0.5]                 RMS loudness map
viode waveform <i> / thumbs <i>                 waveform PNG / contact sheet PNG
viode proxy [--force]                           build 540p proxies for all media
viode render [--preset P] [--codec C]           presets or h264/hevc/av1/prores/dnxhr
             [--bitrate kbps] [--smooth fps]    bitrate targeting, optical-flow slow-mo
viode gui                                       GUI viewer: live preview + timeline
viode serve --mcp                               MCP server on stdio

Times accept 12, 12.5, 01:30, or 00:01:30.250 everywhere.

--smart renders by lossless stream-copy in ~0 time (cuts snap to keyframes). Hardware encoding is opt-in and honest: run viode bench on your own footage — the hardware candidate is VA-API on Linux and VideoToolbox on macOS, and if it wins on your machine the verdict prints the exact VIODE_HWACCEL value to export, which switches proxies and renders over; the default never changes without a local measurement. On macOS the same switch governs decoding: renders and the preview decode in software unless VIODE_HWACCEL=videotoolbox is set. Every render keeps its sound on its picture to the sample: GES renders the picture frame-accurately with lossless sound, and ffmpeg writes the AAC with its encoder delay recorded, so players start the sound exactly on time. Every render is in video levels (limited range), BT.709 for frames taller than 576 lines and BT.601 below, whatever the footage: full-range clips, stills, and clips in another matrix enter the timeline's color space exactly, through the grader (Viode's own color element), and the viewer and viode frame show the same levels the render writes. --preset finishes the master for a destination with two-pass EBU R128 loudness: youtube (-14 LUFS), shorts (1080x1920 center-crop, -14 LUFS), podcast (audio-only m4a, -16 LUFS). Shorts draw the project's titles after the vertical crop, sized for the vertical frame — a title burned into the wide master would be sliced by it.

The project file

A project is a directory; the timeline is project.viode — plain TOML, hand-editable, git-diffable. Track 0 is the main sequence: clips play back-to-back in file order, positions derived, never stored (an optional transition crossfades with the previous clip). Overlay tracks position clips explicitly with at; titles sit on top. Old single-track files load forever.

[project]
name = "mycut"
fps = 30.0
resolution = [1920, 1080]

[[track]]
name = "main"

[[track.clip]]
src = "media/interview.mp4"
in = "00:00:04.200"    # where playback starts in the source file
out = "00:01:12.000"   # where it ends

[[track.clip]]
src = "media/broll.mp4"
out = 2.5              # numbers or timecodes; `in` defaults to 0
transition = 0.5       # crossfade with the previous clip
effects = ["videobalance saturation=0.0"]

[[track]]
name = "music"
kind = "audio"         # av (default) | video | audio

[[track.clip]]
src = "media/theme.mp3"
out = 30.0
at = 0.0               # overlay tracks are positioned explicitly

[[title]]
text = "Chapter One"
at = 1.0
dur = 3.0
ypos = 0.8             # 0 top .. 1 bottom (unset: centered at the bottom)
anim_in = "slide-left" # optional: fade, slide-left/right/top/bottom, or pop
anim_out = "fade"
anim_dur = 0.4         # each animation's length (0.5 s when unset)

[title.box]            # optional: a box behind the text (sizes in em)
color = "#000000"
opacity = 0.6
padding = 0.25
radius = 0.1

[[marker]]
at = 12.0
text = "check the audio"
dur = 4.0              # optional: the marker spans a passage

[[caption]]
start = 1.2
end = 3.4
text = "Welcome back."

A lifted range leaves a gap clip in the main sequence (gap = true, its in/out give the length): it plays black and silent, and deleting it closes the gap. captions_burn = true under [project] burns the captions track into the picture.

Multicam

Angles sync themselves by audio cross-correlation — no clap slate, no manual nudging:

viode add cam1.mp4          # the reference
viode angle cam2.mp4        # synced automatically, parked as a disabled track
viode take 1 05:00 07:30    # cut to cam2 for that timeline range

take swaps the synced angle footage onto the main track; total duration never changes.

Edit video by editing text

viode transcribe 0          # whisper.cpp -> numbered, timed segments
viode cut-text 0 12 14      # delete segments 12-14 -> the video cuts itself

Requires whisper.cpp (pacman -S whisper.cpp) and a ggml model (VIODE_WHISPER_MODEL or --model).

Connect your AI

One command registers Viode with every AI app on the machine — Claude Desktop, Claude Code, Cursor, Windsurf, Gemini CLI, opencode, Codex (GPT):

viode connect

The GUI offers the same thing as a one-click card on the welcome screen. After a restart of the AI app, editing is a conversation: "cut the silence out of my podcast and give me a Short." Unknown client? viode connect --print emits the snippet to paste.

AI editing over MCP

viode serve --mcp speaks MCP on stdio. Register it with your client (for Claude Code, this repo ships .mcp.json) and the AI gets every CLI verb as a tool, plus senses:

  • frame_grab — returns the frame at any timeline position as an image (overlay-aware), so the model can look at a cut before judging it
  • thumbs / waveform — contact sheets and waveform images
  • audio_levels, silence_detect / silence_cut, scene_detect / scene_split
  • render_preview — fast sub-range render for checking a section
  • the full edit surface: tracks, effects, fades, titles, multicam (angle_add / take), and transcripts (transcribe / text_cut)
  • ui_open — opens the GUI on the user's screen; it live-reloads on every MCP edit, so the user watches the AI cut in real time
  • watch — opens a finished render in a player on the user's screen, with the project's markers and cuts as chapters for edit-to-edit jumping
  • undo / redo / history_list / history_jump — the same shared history the user walks in the editor; every edit tool takes an optional reason, which the History tab shows next to the frames the model looked at before making the change
  • versions_list / version_restore, config_get / config_set, keys_preset_set — autosaved versions and the user's preferences

The server also briefs the model at connection time: how to work with senses, proxy long footage, read SOURCE vs timeline time, and verify its own cuts — the briefing ships inside the binary, so every install and every connected AI gets it with zero setup.

A realistic prompt: "Create a project from the clips in ~/footage, open the UI, cut the silences out of clip 0, and render a shorts version" — and the edit assembles itself in the window while the model works.

Architecture

   viode CLI ───►┌────────────┐
   viode gui ───►│ viode-core │──► GES/GStreamer (frame-accurate render)
 MCP (Claude)───►│  (library) │──► ffmpeg sidecar (probe, proxies, analysis,
                 └────────────┘     smart-copy, presets)
  • viode-core — timeline model, TOML persistence, pure edit operations, analysis, render backends. Every client goes through it; the GUI is just another client and adds zero capabilities the CLI lacks.
  • GStreamer Editing Services renders; ffmpeg does everything around the timeline. The engine sits behind a trait and is swappable.
  • Proxies (540p) are built once and used automatically by playback, previews, frame grabs, and contact sheets.

Development

cargo build && cargo test          # 114 tests: unit, property-based, end-to-end
./scripts/bench-longform.sh 10     # long-form performance check

On 5-minute 720p footage: edit ops ~3 ms, full silence scan 0.8 s, proxy build ~60x realtime. Long footage is proxied once, then everything interactive touches only proxies.

Tests generate their own media with ffmpeg and self-skip on machines without ffmpeg/GES. Read crates/viode-cli/tests/cli.rs (full_edit_workflow) for the product walkthrough in test form, and crates/viode-cli/tests/mcp.rs for a worked MCP session.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages