makepad/apps/mpvideo/Cargo.toml
Admin d25cce9ae6 mp*: the window-manager app family — quick-look, warm-instance pool, pty teardown, theme bridge
Squashed from work; the fine-grained history is under tag archive/work-2026-08-29:
- mp* wave: mpwm window manager + the mp app family, WM API, theme bridge, PDF engine fix
- mpwm polish wave: terminal key focus, focus-history close order, pop-back-to-origin, occupied-workspace cycling, demo
- mpwm: ghost-launch/menu-flash root cause, scroll z-gate, browser binds, path-free status, viewers delisted, Fab opens
- mpwm: Hyprland-exact close animation over a frozen snapshot
- mpwm: warm-instance pool, flat-luminance opens, flicker-free CEF resize
- work: land the sources the last commits reference
- mpwm: quick-look gap fixes; image cache eviction on preview unload
- tweaker: material thumbnails + vibecode popup + ctrl-space notes, undo/redo over the edit ledger, capture-semantics pi
- tweaker: tabbed side panel (Props/Shader/Tree) - shader tab with checkerboard material well + prompt, complete widget-
- mpwm+mpterm: text quick-look — pty teardown deadlock fix, in-place retarget verified, debug probes stripped
2026-08-29 09:26:26 +02:00

37 lines
1.4 KiB
TOML

# mpvideo — a dumb video player, part of the mp* app family (mpterm, mpwm,
# mpfiles, mpimage, mptask, mpsheets, route, mixer...).
#
# `mpvideo <path>` opens one clip fit-to-window on a dark mp_theme
# background and plays it, sound and all. Space pauses, Left/Right seek
# ±5s (Shift ±30s), Up/Down set the volume, M mutes, double-click hides
# the chrome, Escape/Q quits. `--preview <path>` sizes the window as a
# popup — that is mpfiles' Quick Look. `--mute` (or MPVIDEO_MUTE=1, or a
# hidden window) starts silent, so a test run never talks at whoever is
# sitting at the machine.
#
# The decode path is lifted from apps/asset-ui/src/video_player.rs (a
# detached decode thread over the platform's hardware
# `makepad_platform::video_file` seam, a small frame ring paced against a
# wall clock, and the soundtrack mixed into `cx.audio_output`), with the
# VJ's NV12-on-the-GPU trick (apps/vj/src/nv12_view.rs) replacing the
# software YUV->BGRA loop: the frames stay NV12 all the way to two plane
# textures and the pixel shader does the colour conversion.
[package]
name = "mpvideo"
version = "0.1.0"
edition = "2021"
default-run = "mpvideo"
[lib]
name = "mpvideo"
path = "src/lib.rs"
[[bin]]
name = "mpvideo"
path = "src/main.rs"
[dependencies]
makepad-widgets = { path = "../../widgets" }
mp-theme = { path = "../../libs/mp_theme" }
mp-wm-api = { path = "../../libs/mp_wm_api" }