An unofficial desktop app for the Insta360 X5 360° camera: a player, an editor, camera control, live output and export. It runs on Linux (Wayland or X11, Vulkan) and on macOS (Metal); everything from decoding to the AI models runs on the GPU, and no FFmpeg is involved. The interface follows your system's language: British English where that is the custom (spelling, number plates, dates and a 24-hour clock), US English otherwise (Settings › General › Language overrides it).
x5desk is a personal project. It is not affiliated with, endorsed by or supported by Insta360 (Arashi Vision Inc.). "Insta360" and "X5" are their trademarks and are used here only to say which camera the app works with.
- Library and player. One browser of the recordings and photos in your x5desk folder, exports and recent files, on
the connected camera and on a card, by day, with details and the next action beside them. Opens X5 recordings
(
.insv,.lrv) and photos (.insp,.jpg) and stitches the two lenses live. Views: the X5's lens presets (Tiny Planet, Wide, Linear, Narrow) with Dewarp, a zoom, or the whole sphere. Stabilization from the camera's gyro: free, horizon lock, direction lock, or a forward view along the direction of travel. The seam is aligned by optical flow (RAFT). Frame grabs as JPEG, with noise reduction on night footage. - Tracking and framing. Follow a subject you box or click on a paused frame, or let auto framing pick the clip's main subject. Faces and license plates can be blurred. Highlights become an auto edit, cut to a music track's beats if you give it one.
- Library search. Type words to rank your recordings and photos, and the camera's files by their thumbnails, by what their pictures show; tags (night, ride, city, …) and near-duplicates come from the same model.
- Editor. A timeline with trim, split, speed ramps, freeze frames and each clip's waveform; reframing with keys in
the Viewer's lens presets and camera movement presets; looks (
.cubeLUTs) and color adjustments per clip; music that ducks under the clips' audio, a wind filter and voice denoise; text, stickers, watermark and a nadir patch; undo and project files. - Effects. On a clip of the edit, in its Effects tab: Empty Scene, Light Trails, Frame Stack, Frame Delay, Freeze Trail, Echo Trail, Planet Pair, New Sky, and editing presets such as Dolly Zoom, Pull Out or Passing Vehicle.
- Camera. One screen over USB, Wi-Fi or Bluetooth: the live preview in the Viewer's lens presets, the camera's modes and settings, the shutter with timelapse, self-timer and highlight marks, its details and clock; the album in the Library with thumbnails and resumable downloads (listed in Activity), import from the card. The X5's Webcam Mode works as a source as well.
- Stream. Send the player, the live preview or the webcam picture to an RTMP server, to OBS (a source plugin, whose view source can leave out or blur the background behind the person it follows) or to other apps as a PipeWire camera, with one Go live; the view can follow a person, in a recording or on the live camera.
- Export. H.265 (8 or 10 bit) and H.264, as 360 video with spherical metadata or flat along the view, with the
options above. Every Export… opens a sheet over what you're looking at: presets or your own size, codec and rate,
the range, a look, the seam, stabilization, blur and audio filters, and where the file goes, with its size estimated;
for a flat export that follows a person, a color, a picture or a blur behind them.
The job runs in Activity, with the camera's downloads and the jobs agents start through
x5desk mcp; there you follow, cancel or retry it. - For AI agents.
x5desk mcpis an MCP server that lets an agent list and download the album, render stills and run exports (the 360 sphere or a flat view, the Viewer's lens presets too), in tiers you enable in Settings › AI agents (orx5desk mcp enable); the command that adds x5desk to Claude Code is there too (x5desk mcp --print-configalso prints Claude Desktop's entry).
The app's Help has a page for each place, with its keys. Settings x5desk has not been run with on a real X5 are marked
untested in the app. ARCHITECTURE.md describes the code, TODO.md what is open.
- Linux on x86-64 with Wayland or X11, PipeWire (1.2 or newer for the archive, see Install), ALSA and D-Bus (BlueZ for Bluetooth); file dialogs come from xdg-desktop-portal.
- A GPU whose Vulkan driver decodes and encodes H.265 and H.264 (Vulkan Video). x5desk is developed on AMD graphics with
Mesa's RADV (Mesa 26). On NVIDIA it has been run on one card, an RTX 4090 with driver 620.73, without a display
attached: playback, stills and exports work there. That driver now and then leaves a picture half decoded; x5desk
notices and decodes it again (Settings → Graphics counts them). Intel graphics are untested. Settings → Graphics shows
what the app found; on a machine with two GPUs the app takes the faster one, or the other when the faster one doesn't
come up (Settings → Graphics then says why). Settings → Graphics › GPU to use picks one from the next start (if it
doesn't come up, the app starts on the fastest that does and Graphics says why),
x5desk --gpu <number or part of the name>(e.g.--gpu radeon) overrides it for one start, andx5desk --gpu listlists the GPUs with what they decode and encode;x5desk mcptakes--gputoo. - An Insta360 X5. Other Insta360 cameras have not been tried.
- macOS 15 or later also works (Metal, VideoToolbox); see "macOS" in
ARCHITECTURE.md. There is no Windows version.
Download x5desk-<version>-x86_64.AppImage from the Releases page, make it executable and run it:
chmod +x x5desk-<version>-x86_64.AppImage./x5desk-<version>-x86_64.AppImageThe AppImage is built in Debian 12, so it needs glibc 2.36 or newer (Debian 12, Ubuntu 24.04, Fedora, Arch and later),
and brings PipeWire's client library, so the system's PipeWire may be older than 1.2. It mounts itself with FUSE
(fusermount3 from fuse3, or fusermount); without FUSE, --appimage-extract-and-run runs it unpacked.
--appimage-extract unpacks it into squashfs-root, with this README, the license and the license texts of everything
bundled (licenses/).
On Arch, the AUR package x5desk-bin installs the same binary with its desktop entry and the udev rule below:
yay -S x5desk-bin, or with any AUR helper.
x5desk-<version>-x86_64-linux.tar.gz holds the binary on its own: unpack it and run x5desk. It takes the system's
PipeWire library and so needs PipeWire 1.2 or newer as well as glibc 2.36 (Debian 13, Ubuntu 25.04, Fedora 42, Arch and
later). The archive also holds the desktop entry (x5desk.desktop), the icon, the udev rule (70-x5desk.rules), this
README, the license and the license texts of everything bundled (licenses/).
To use the camera over USB, choose Android App on the camera's USB menu. x5desk talks to the camera directly, so
your user needs access to the USB device. The AUR package installs a udev rule for that; with the AppImage or the
archive, if the camera is not found, add the rule (the archive's 70-x5desk.rules) and plug the camera in again:
# /etc/udev/rules.d/70-x5desk.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2e1a", TAG+="uaccess"
You need:
-
Rust 1.98.1 (what x5desk is developed with) or newer, from rustup.
-
Git LFS. Two model files are stored in LFS; without it the checkout holds pointer files and the build fails while importing the models.
-
A C toolchain, pkg-config, clang (for bindgen) and the development files of ALSA, D-Bus and PipeWire 1.2 or newer (Ubuntu 24.04's PipeWire 1.0 is too old: the link fails):
# Debian 13, Ubuntu 25.04 or newer sudo apt install build-essential pkg-config clang libclang-dev git-lfs libasound2-dev libdbus-1-dev libpipewire-0.3-dev# Arch sudo pacman -S --needed base-devel clang git-lfs alsa-lib dbus pipewire
Then:
git lfs installgit clone https://github.com/anlumo/x5desk.gitcd x5desk && cargo build --release --locked -p appThe app is target/release/x5desk. The workspace's release profile keeps line tables, which makes that binary about
1.1 GB; CARGO_PROFILE_RELEASE_DEBUG=0 CARGO_PROFILE_RELEASE_STRIP=debuginfo cargo build --release --locked -p app
builds it without them.
The release archive and the AppImage are built by .github/release-linux.sh in a Debian 12 container, on a GitHub
runner for every v<version> tag (.github/workflows/release.yml) or by hand:
docker run --rm -v "$PWD:/src" -e CARGO_HOME=/src/target/cargo -e RUST=1.98.1 -e DIR=x5desk-local-x86_64-linux -e IMG=x5desk-local-x86_64.AppImage -e CARGO_PROFILE_RELEASE_DEBUG=0 -e CARGO_PROFILE_RELEASE_STRIP=debuginfo debian:12 /src/.github/release-linux.shIt links PipeWire 1.4 from bookworm-backports. The AppImage is the AppImage project's runtime
(type2-runtime 20251108, downloaded into target/ once and checked against
its SHA-256) followed by a squashfs of an AppDir: AppRun, the app, PipeWire's client library with the plugins, modules
and client.conf it loads (and libselinux, which one of the modules links), the desktop entry and icon, and the
archive's README and license texts plus those of the runtime, PipeWire and libselinux. AppRun, the desktop entry and
the udev rule are in packaging/, the AUR package's PKGBUILD in packaging/aur.
The OBS source plugin is built separately and is not part of the release archive. It is licensed under the GPL,
version 2 or later (crates/obs/LICENSE), as OBS requires of its plugins: cargo build --release --locked -p obs makes target/release/libx5desk_obs.so, which OBS loads as
~/.config/obs-studio/plugins/x5desk-obs/bin/64bit/x5desk-obs.so.
cargo test --workspace runs the tests. Those that need footage read X5 recordings of your own from the folder named
by X5_SAMPLES and skip without it; the repository contains no footage.
x5desk is licensed under the PolyForm Noncommercial License 1.0.0: you may use, change and share it for any
non-commercial purpose. The OBS source plugin (crates/obs) is the exception: it is licensed under the
GPL, version 2 or later, and the one file it shares with the app (crates/live/src/obs.rs, the frame protocol
between them) is available under either license.
That covers what you do with the app, not only its code: making videos for a commercial purpose with x5desk (paid work, footage for sale, a monetized channel) is a commercial use and not permitted. The license makes no claim on what you export: a video made for a non-commercial purpose is yours without conditions.
Required Notice: Copyright 2026 Andreas Monitzer (https://github.com/anlumo/x5desk)
It is non-commercial because of what it bundles. The neural networks compiled into the app are published under permissive licenses, but several were trained on datasets whose terms allow non-commercial use only, and one on data that states no license at all:
| Model | Used for | License of the weights | Training data to know about |
|---|---|---|---|
| RAFT-small (torchvision) | seam alignment | BSD-3-Clause | FlyingChairs, FlyingThings3D: research only |
| YOLOX-nano (Megvii) | detecting subjects | Apache-2.0 | COCO 2017 |
| VitTrack (OpenCV zoo) | tracking a subject | Apache-2.0 | includes GOT-10k: CC BY-NC-SA 4.0 |
| YuNet (OpenCV zoo) | face detection for the blur | MIT | WIDER FACE: non-commercial |
| YOLOX-nano license plates (this project's fine-tune) | plate detection for the blur | Apache-2.0 (YOLOX) | open datasets, own footage, and one dataset without a stated license |
| PP-HumanSeg (PaddleSeg) | person segmentation for Freeze Trail, Echo Trail and the background behind a followed person | Apache-2.0 | a Baidu dataset |
| EfficientViT-seg B1 (MIT HAN Lab) | sky segmentation for New Sky | Apache-2.0 | ADE20K, ImageNet: non-commercial research and education |
| TinyCLIP ViT-39M/16 (Microsoft) | library search | MIT | YFCC-15M (partly non-commercial), distilled from a LAION-2B model |
| RNNoise (Xiph.Org) | voice denoise | BSD-3-Clause | public datasets |
The app's About page shows each model's source, license text and training data in full; the models/README files in
crates/track, crates/stitch, crates/effects and crates/media record where every file came from and how it was
converted. No Insta360 model is used.
The interface's fonts, Inter (4.001) and JetBrains Mono (2.304), are compiled into the app unmodified; both are
licensed under the SIL Open Font License 1.1. The About page and the release archive (licenses/fonts) carry their
license texts; crates/app/fonts/README records where they came from.
The Rust crates the app is built from are under permissive licenses (MIT, Apache-2.0, BSD, ISC, Zlib, Unicode-3.0),
a few under MPL-2.0 (Symphonia and three small crates, used unmodified from crates.io). The release archive carries
their license texts in licenses/crates, with an index of every crate, its license and its source.
x5desk contains its own AAC encoder and reads and writes H.264 and H.265 streams through the GPU. These formats are covered by patents in some countries; the license above grants no rights to third parties' patents.
x5desk is an independent program that works with a camera its user owns. This is how the author understands the legal position; it is not legal advice.
- It is its own work. All code in this repository was written for this project. The repository contains no Insta360 source code, binaries, firmware, AI models, artwork, LUTs or footage, and the app uses neither Insta360's SDK nor its accounts or servers. Stitching, stabilization, tracking and the effects are implemented here, with the open models listed above.
- What it shares with the camera is an interface. To talk to the camera and to read its files, a program has to use
the message layouts the camera expects over USB, Wi-Fi and Bluetooth (
crates/proto/proto) and the layout of the metadata in its recordings. That is interface information, written down here under names of this project's own, and it is included only as far as working with the camera requires. Copyright protects the code of a program, not the protocols and file formats it uses: in the EU, Directive 2009/24/EC excludes the ideas and principles behind a program's interfaces from protection (Article 1(2)), and the Court of Justice held that a program's functionality and its data file formats are not protected expression (SAS Institute v World Programming, C-406/10). US law draws the same line (17 U.S.C. § 102(b)). - Interoperability is a recognized purpose. The same Directive treats making an independently created program work with other programs as a legitimate aim (recitals 10 and 15, Article 6), and contract terms cannot rule out what it allows for that aim (Article 8). In the US, 17 U.S.C. § 1201(f) and the case law on interoperability (Sega v. Accolade, Sony v. Connectix) recognize the same aim.
- Nothing is circumvented. The camera's recordings are ordinary MP4 and JPEG files with unencrypted metadata, and its protocol is not encrypted. x5desk breaks no encryption, copy protection or license check and does not touch the camera's firmware. It connects the way the camera offers: over USB once its owner picks the mode on the camera's menu, over Wi-Fi once the owner allows the computer on the camera's screen.
- The names say what it is compatible with. "Insta360" and "X5" identify the camera; nothing suggests that the app comes from or is approved by Insta360.
What this means for you: use x5desk with your own camera and for non-commercial purposes, and expect no warranty. It is not the vendor's software, so it can behave differently from the official app and may stop working with a firmware update.
If you hold rights in something here and see a problem, please open an issue.






