guth-media 0.1.0

Optional, out-of-process inline video playback plugin for Guth.
Documentation

guth-media

Optional inline video playback for the Guth file manager. The plugin owns the VLC decoder in a separate process; Guth itself does not load VLC. Images, video posters, and silent hover previews continue to work without this plugin.

Install only if wanted

cargo install guth-media --version 0.1.0 --locked
guth-media install-plugin

Registration does not enable playback. In Guth Settings → Plugins, click Refresh plugins, then Enable on guth-media. Keep the bundled Knotlook Media preview plugin enabled. No media plugin or system package is installed automatically by Guth.

Full playback requires Linux and VLC 3 (libvlc.so.5) with the appropriate codec plugins. On Arch, common MP4 codecs also require vlc-plugin-ffmpeg. These are optional runtime requirements, not Guth build requirements. VLC's application window is never opened. A missing runtime/codec produces an inline error only after you explicitly enable playback and press Play.

Use

Open a video preview and click Play video, or click its canvas. Space/Enter pause and resume; the timeline seeks; volume/mute controls sound; Expand stays inside Guth. Closing, navigating, or disabling the plugin stops the process. Paused seeks update the picture and retain the requested timecode.

Scope and safety

  • Local regular files are opened read-only by descriptor, preserving raw Unix filenames. The process accepts only the fixed versioned playback protocol.
  • Frames and commands are size-bounded. Decoder output uses a latest-frame mailbox; slow rendering does not create an unbounded frame queue.
  • The native callback code exists only in the optional player binary. The library is an unsafe-free wire contract with no VLC dependency when built with default-features = false (the mode used by Guth).
  • Source-resolution RGBA frames travel through a pipe. The maximum is the renderer's texture limit, an 8,192-pixel edge, and 16 megapixels. This is CPU-buffer playback, not zero-copy/HDR. High-frame-rate 4K may be expensive.
  • Track/subtitle selection, streaming URLs, and full media-player parity are not provided. The host checks the reviewed UUID, version, capability, enabled state, executable permissions, and ownership before dispatch.

Plugin ID: 01a0bc38-c985-7a91-b5d4-c5752af2842c. Protocol/capability: inline-video-v1.