Bitrot
An application for datamoshing and creating glitchy video effects 💫
Install / Use
/learn @sixem/BitrotREADME
BitRot
BitRot (/ˈbɪt.rɒt/ noun) — A simple interface for creating glitchy video effects
<img width="1400" height="800" alt="ui" src="https://github.com/user-attachments/assets/58f04ac8-944e-41f3-9f23-0895091a2f3e" />Showcase
Pixelsort: Smears and reorders pixels along lines or bands, turning motion and edges into streaky, glitchy gradients.
- <details> <summary>Example (Pixelsort)</summary> <video src="https://github.com/user-attachments/assets/618222b9-3ff3-4a24-a54b-2bd21c06cd2f" controls></video>
Chroma Glitch: Splits and offsets color channels to create RGB drift, halos, and jittery color separation.
- <details> <summary>Example (Chroma Glitch)</summary> <video src="https://github.com/user-attachments/assets/728cb83d-a4bd-40c8-aba1-e150a77f96d0" controls></video>
Datamosh: Emulates compression corruption and motion‑vector bleed for fluid, melting transitions between frames.
- <details> <summary>Example (Datamosh)</summary> <video src="https://github.com/user-attachments/assets/f8a49356-ca71-4443-aea0-ecc2eb55dcd3" controls></video>
VHS: Adds retro tape artifacts/scanlines, noise, wobble, and soft tracking drift, for that worn‑out analog feel.
- <details> <summary>Example (VHS)</summary> <video src="https://github.com/user-attachments/assets/265b34e6-d30d-481c-b1c0-d395eb5c4d3c" controls></video>
Development
Prereqs (typical Tauri + Vite stack):
-
Node 20.19+/22.12+
-
pnpm (or npm if you absolutely prefer)
- Can be installed via:
npm install -g pnpm
- Can be installed via:
-
Rust (stable)
- See: https://rustup.rs/
-
Tauri system prereqs for your OS/distro
Install and run:
# install packages
pnpm install
# if you need to load the ffmpeg/ffprobe binaries from PATH:
pnpm run setup:ffmpeg
# start development environment
pnpm tauri dev
Tests
Frontend tests (Vitest):
pnpm test
Rust tests:
cd src-tauri
cargo test
See TESTS.md for coverage details.
Dependencies (ffmpeg/ffprobe)
This project expects ffmpeg and ffprobe as sidecar binaries.
Place them in:
src-tauri/binaries/
Quick setup (copies from your PATH):
pnpm run setup:ffmpeg
ffmpeg is resolved in this order:
ffmpeg(.exe)/ffprobe(.exe)next to the app executable (packaged builds)- Sidecars in
binaries/(packaged into app resources) orsrc-tauri/binaries/(dev) - System
PATHas a final fallback
For development and building, use names that match your platform target triple:
-
Windows (x64 MSVC):
ffmpeg-x86_64-pc-windows-msvc.exeffprobe-x86_64-pc-windows-msvc.exe
-
macOS (Intel):
ffmpeg-x86_64-apple-darwinffprobe-x86_64-apple-darwin
-
Linux (x64 GNU):
ffmpeg-x86_64-unknown-linux-gnuffprobe-x86_64-unknown-linux-gnu
Tauri resolves these from the base names binaries/ffmpeg and binaries/ffprobe.
Build + portable zip (Windows)
To build a portable zip on Windows:
pnpm run setup:ffmpeg
pnpm tauri build
pnpm run make:portable
Notes
- Some files include multiple video tracks; BitRot always targets the first video stream plus the first audio stream (if present).
H.264requires even dimensions. If a clip is odd-sized (for example1921x1081), BitRot trims a single pixel to keep encoders happy.- Datamoshing is intentionally destructive, so the result isn't always perfect, and some videos may work better than others for certain modes.
Related Skills
qqbot-channel
343.3kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
99.7k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
343.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
