🧪 Klipp Lab is a fork of Klipp by Flabbjaxaren (GPL-3.0-only), on the
xiaomi-17ubranch. It installs beside Klipp as Klipp Lab (x17u.klipp.editor). Built and tested on a Xiaomi 17 Ultra; runs on any 64-bit Android 10+ phone. Issues with the fork's own features go here, not to Klipp.
⬇️ Latest release · latest debug build (the debug build is its own app, Klipp Lab Debug, installed beside the release with its own projects) · 📝 Changelog
Its focus: log video, RAW video and HDR from phone cameras, graded and exported on the phone.
| Rawr RAW (.rraw) | Recorded by the Rawr 17U fork: opens directly (no CinemaDNG step) and develops on the GPU into a log video, with each frame's levels and white balance and the sound in the file. Klipp Lab only. |
| One RAW tab | .rraw, .mcraw, .CRAW and DNG clips together, from as many source folders as you add (× removes one); a coloured badge says which kind each card is. Klipp Lab only. |
| DNG clips | A folder per recording (PhotonCamera's DNG folders and its ZIP container, read without unpacking) - add the folder they're recorded into once and every recording shows. Klipp Lab only. |
| MotionCam RAW (.mcraw) | Developed on the GPU into a log video (S-Log3, LogC4, F-Log2, DaVinci Intermediate…). Clips go on the timeline at once and switch to their develop when ready. Needs a 10-bit HEVC encoder. In Klipp too since 0.22.0-beta.1, ported from here (#12). |
| Live EI | The EI shows at once, as on a cinema camera; Develop bakes it in from the RAW. A pasted grade carries the EI to every RAW clip. |
| Orientation | MotionCam clips stand as shot - portrait, or with the phone turned round (each frame's orientation, or the one locked in MotionCam). A Rotation choice in the picker turns the selected clips by hand. Reported by kavascript on Telegram. |
| Cinematic RAW (.CRAW) | By matthew777777, with his app's decoder. Same develop as MotionCam RAW. Android 12+. His import is in Klipp too since 0.22.0-beta.1 (#11); here CFA takes are developed on the GPU. |
| HLG export | From each clip's OpenDRT node: Rec.2100 HLG, 10-bit HEVC, shown as HDR by Google Photos. Needs a 10-bit HDR HEVC encoder. |
| Dolby Vision export | The same grade as Dolby Vision 8.4, with metadata from the edited frames. Dolby Vision clips in come out as Dolby Vision again. Only on phones with a Dolby Vision encoder (the 17 Ultra has one). |
| EI and white balance per clip | Applied before all nodes, as in a raw developer; for George Kiarie's 17 Ultra camera mods also where the sensor clips. |
| SDR grades in HLG | Clips graded with a LUT (or with no OpenDRT node) go into an HLG export too, converted from SDR as ITU-R BT.2408 does it (SDR white at 203 nits). Automatic, as in Klipp 0.23. |
| LUT browser | Previews of the current frame, groups, fast .zip import (the faster .cube reading is in Klipp 0.22 too, #13). |
- 🐢 Slow-mo at the project's rate (120 → 24 / 30), every source frame used once
- 🧲 Close gaps on a track or after a clip (Klipp 0.23 has Close gap too)
- 🎥 Movement presets Punch-in and Shake, beside Klipp's Zoom in / out - ordinary keyframes, still editable
- 🖐️ Drag to reframe a filling clip on the monitor: it stops at the frame's edge for good, so no black shows (Klipp's lets go when pushed on)
- ⏱️ Standard frame rates for phone clips (58.6 → 60)
- 📤 Export screen with progress, time left and speed · clip count on the edit page
- 📥 Import: Pictures, delete files from the phone, a picture on ProRes and CineForm cards, tags on the cards (the log curve the file names or Xiaomi's LOG, HLG / PQ, DOLBY VISION, 10-BIT, the codec) and a Log chip
- 🎛️ Insta360 I-Log as an input (X6 and Luna): suggested for a clip from the X6 that says it's I-Log; a clip exported from Insta360's app is picked by hand
- 💾 Storage page: what the app keeps on the phone, with a Clear for each kind
- 🖥️ Full screen, three interface sizes, resizable picture in landscape
🎛️ Insta360 I-Log: how to (tested with an X6)
- Record in I-Log on the camera. Its files are 10-bit HEVC; their colour tags say BT.709 either way.
- InstaFrame clips (the camera's own .mp4, copied off the camera or downloaded with Insta360's app): import them as they are. Klipp Lab reads the colour profile the X6 writes at the end of the file - the card shows I-LOG, Color says the camera recorded the clip in Insta360 I-Log, and the clip's EI curve and a new OpenDRT start from it.
- 360 clips (.insv, two fisheye lenses): Klipp Lab doesn't stitch them. Reframe the clip in Insta360's app and export it as Flat video with no filter or colour adjustment (tested: 4K, 50 fps, bitrate 150) - the export keeps the I-Log picture in 10-bit and lands in DCIM/Camera. It no longer says it's I-Log (its card shows INSTA360): set Insta360 I-Log on the clip's EI chip (Log curve), then add an OpenDRT - it starts from it.
- Then grade from the OpenDRT node as with any log clip. Its contrast is softer than Insta360's own I-Log LUT.
🔁 Sent to Klipp and merged (Klipp 0.21.0-beta.2: #4–#10 · Klipp 0.22.0-beta.1: #12, #13 · Klipp 0.23.0-alpha.2: #14, #15 · Klipp 0.23.0-alpha.7)
-
Taken into Klipp 0.23.0-alpha.7 by Flabbjaxaren, in his own code: CineForm import, the matte and the cinema formats with Fill / Fit, the film cards, the picker's sort, Select all and pull to refresh, Loop, Zoom in / out, the 3 / 5 s and Cinema fades, bitrates above the encoder's range, the export's file date, the storage warning
-
MotionCam clips stand as shot - portrait, or the phone turned round (#14)
-
An OpenDRT after a film over the whole picture does nothing (#15)
-
MotionCam RAW import with the GPU develop, ported by Flabbjaxaren (#12)
-
Faster .cube LUT import (#13)
-
HLG export from the grade (#6)
-
LUT browser with previews and groups (#5)
-
Video picker with previews; clips keep their names (#7); limited access on Android 14+
-
Add to the timeline in the order selected, or on import (#8)
-
Files without a colour transfer keep their matrix and range (#4)
-
Select several projects and delete them (#9)
-
The selection box scrolls the timeline at the edges (#10)
🙏 Credits
Klipp by Flabbjaxaren, on the FilmCraft engine. Film simulation from spektrafilm by Andrea Volpato et al. OpenDRT by Jed Smith. EI relation and slow-mo idea from George Kiarie's RawViewer. Cinematic RAW Studio .CRAW import by matthew777777, with his app's decoder (Apache-2.0). Fixes to the MotionCam develop from Klipp 0.22 by Flabbjaxaren (exact develop size, the encoder's end, placeholders developed again). MotionCam RAW read with motioncam-decoder (Apache-2.0, with the MIT-licensed JSON for Modern C++ by Niels Lohmann and SIMDe). Dolby Vision approach from Dolby's dolby-vision-editor sample (BSD-3-Clause-Clear). HLG with deleted clips: the same fix as Klipp's 2797f03 by Flabbjaxaren.
Rawr .rraw frames decoded with the LJ92 decoder from TinyDNG by Syoyo Fujita and contributors (MIT), as the Rawr 17U fork uses it. CineForm decoded with FFmpeg's CineForm decoder (LGPL-2.1-or-later), added to Klipp's ProRes library.
Methods (our own code, after published work): Malvar, He and Cutler's demosaic (2004); Kim et al.'s Planckian locus fit (2002); ITU-R BT.2100 (HLG) and BT.2408 (SDR in HLG); Insta360's I-Log White Paper (2026).
Everything below is Klipp's own README (as of Klipp 0.23.0-alpha.7). Where Klipp Lab works differently, the part above applies - above all the RAW import: one RAW tab for .rraw, .mcraw, .CRAW and DNG clips instead of Klipp's MotionCam RAW chip and the Files app, with the develop settings (EI, Develop into) in the Color page's RAW row.
A multi-track video editor for Android phones, built for touch. A Kotlin/Jetpack Compose app on top of the FilmCraft editing engine (Rust, via JNI); playback and export with Media3.
🚧 Status: a hobby project in active development. Android 10+ (arm64). Tested on a vivo X300 Ultra and a OnePlus 12. It comes with no warranty – keep copies of footage you care about. Support is best effort.
🐞 Found a bug or missing something? Report a bug or suggest a feature – there are short forms for both.
Download Klipp-<version>.apk from Releases and open it on
the phone (allow installing from your browser or file manager when Android asks). Updates install over the old
version and keep your projects. Requires Android 10+ on a 64-bit ARM phone.
- ✂️ Editing: up to six video and ten audio tracks, insert/overwrite from a source monitor, ripple, roll, slip, razor, linked audio, compound clips, markers (also on the music's beat), sync by sound (camera + separate recorder), undo/redo for everything. Slow-mo plays a high-frame-rate clip at the project's rate with every frame used once (120 fps in a 24 fps project = 20 %), and a new project takes the nearest standard frame rate of a phone clip (59.6 fps → 60).
- 👆 Touch first: swipe down through a clip to cut it (slide back up before you let go to cancel), drag any edge to trim (with a loupe and a two-frame trim view), long-press to lift, pinch to zoom; scrub on the ruler or the picture and slide the finger down for ½, ¼, ⅛ speed; two-finger tap = undo, three = redo, also inside the Add sheets.
- 📝 Text-based editing: on-device speech recognition (whisper.cpp with voice activity detection; Swedish, English and multilingual models in three quality steps) turns the audio into text. In the timeline: delete words to cut the video, remove pauses and filler words. In the source monitor (tap a clip in Media): read it as sentences and tap the ones you want to insert – one transcript per clip, shared by both. Automatic captions.
- 🎨 Color: node-based grading (wheels, curves, qualifiers, power windows with object and face tracking), LUTs, scopes, spektrafilm film simulation, OpenDRT, floating point through the whole video chain. Log input from phones and cinema cameras: Apple Log, vivo Log, DJI D-Log and D-Log2 (recognized from the clip), S-Log3, V-Log, LogC3/LogC4, F-Log2, Log3G10, DaVinci Intermediate, ACEScct, T-Log. On the Color page playback loops the clip being graded, with a scrub strip for it.
- 🎞️ Video layers: transitions, titles and templates, captions, blend modes, masks with keyframes and tracking, keyframed motion, opacity and volume – linear, easy ease, ease in/out or hold, and a value graph with bezier handles (evaluated with the engine's own curve math, so preview and export match). Auto reframe: a clip is zoomed to fill the frame and follows the face (e.g. 16:9 footage in a 9:16 project) – or a person you tap in the picture, also one seen from behind (Follow person). Motion blur per pixel from the clip's own motion (optical flow), as from a 180° shutter.
- 🎧 Audio: volume lines on the clips in the timeline (tap for a keyframe, drag the line or a keyframe, double tap to delete), mixer with automation, effects on clips and tracks (noise reduction and speech enhance worked out ahead over the whole clip, EQ, compressor …), ducking under speech, loudness measurement, voice-over, text to speech (the phone's voices), built-in sound effect packs.
- 📷 RAW and pro formats: ProRes and CineForm import, MotionCam RAW (
.mcraw) and Cinematic RAW Studio (.CRAW) developed on the phone into an editable log copy (see Known limitations). - 📱 Fits the screen: the picture follows the project's shape (16:9, 9:16, 4:3 …) and its height is kept per shape; in landscape the divider between the picture and the timeline can be dragged (double tap = back). Interface size Normal, Compact or Small and a full screen without the system bars in Settings → Appearance.
- ⚡ Performance: proxies, pre-rendering of heavy parts, render cache, HDR and 10-bit.
- 🔒 Private: nothing leaves the phone: speech recognition and all processing run locally, and Klipp collects no usage data. The network is only used to download the speech models you ask for.
Turn them on in Settings → Experimental. They are off by default; while off, Klipp is the advanced editor on tracks, as before. Turning them on or off, or switching between them, never changes the project: the same clips, tracks, effects and undo history in every mode.
- 🐣 Simple mode: a second, beginner face on the same editor. The clips as a strip of thumbnails (tap to select,
drag the edges to trim, hold and drag to reorder, swipe down to cut), and five buttons: Add, Sounds (sound packs, text
to speech, ducking under speech, fade out at the end), Text (four title styles, 3 s, 5 s or the whole clip),
Filter (look, exposure, contrast, warmth, saturation – for one clip or all) and Format (the video's size and
orientation). Save video exports in Good
(Full HD) or Best (4K) and can share straight away. Everything in it is an advanced-mode function: work done in
advanced mode that simple mode has no control for is kept and shown as a mark on the clip. Details in
docs/simple-mode.md. - 🧲 Magnetic timeline: V1 is the storyline. Clips close up when one is deleted or trimmed and make room when one is inserted; clips on the other tracks are connected to the storyline clip they hang on and follow it – also through speed changes and freeze frames. From the source: connect, insert, overwrite or replace (the new clip keeps its own length). Lift a clip from the storyline, overwrite into it or replace it with a gap clip; disconnect a clip's connected clips so they stay put; group connected clips into one connected storyline. Sound effects and voice-overs are connected below the storyline on a free track. Position mode overwrites instead: moves, trims and Delete leave gap clips and nothing ripples. It can be chosen for advanced mode; simple mode always edits on it.
Turned on, the same page chooses simple or advanced mode and, for advanced mode, tracks or the magnetic timeline. Both may still change between versions – feedback in Issues is welcome.
Klipp is free, open source and ad-free, built in my spare time. If you enjoy it and want to support further development, any contribution is greatly appreciated!
app/– the Android app (Compose, Media3 for playback and export)rust/–klipp-bridge, the JNI bridge to FilmCraft (Session::execute)app/src/main/cpp/– the JNI wrappers for whisper.cpp and the RAW developers (built by Gradle with CMake)third_party/– Media3 effect, transformer and ExoPlayer (modified), whisper.cpp (trimmed), the Cinematic RAW Studio and MotionCam decoders – seeTHIRD_PARTY.mdtools/– the FFmpeg build, the spektrafilm table export, the regression run (tools/regress), the source package
English (default) and Swedish. Translations live in app/src/main/res/values-*/ (Swedish in values-sv/); the
app language can be chosen per app in the system settings (Android 13+).
- Export: Media3 Transformer with the multi-layer compositor (
LayerCompositor): the top video track down to V1 plus cross dissolve layers, titles and captions as overlays (TimedOverlay), templates and animations inTitles.kt. - Preview: Media3's CompositionPlayer doesn't support multiple video sequences yet, so the main player shows the
bottom layer and
UpperLayersdraws the upper layers (their own muted ExoPlayers in a TextureView, synced to the playhead), titles and captions on top. While you drag a slider,LivePreviewdraws a still frame. - Long-press "Program" in the viewer for a diagnostics view.
Requirements: Android Studio (or SDK + JDK 21), Rust (rustup), Android NDK.
-
Install the Rust target and cargo-ndk (once):
rustup target add aarch64-linux-android cargo install cargo-ndk -
Build the Rust bridge into
app/src/main/jniLibs(about 10–20 min the first time). The built library is not in the repository; GitHub Actions builds it on every push (.github/workflows/build.yml) and keeps the APK as an artifact:cd rust export ANDROID_NDK_HOME=$HOME/Library/Android/sdk/ndk/<version> RUSTFLAGS="--remap-path-prefix=$HOME=~" cargo ndk -t arm64-v8a --platform 29 -o ../app/src/main/jniLibs build --release -
Build the ProRes import's library (FFmpeg's ProRes decoder + Klipp's wrapper,
libklipp_prores.so) into the same folder – it downloads the pinned FFmpeg release and checks its SHA-256 (a minute or two; CI builds it too):tools/ffmpeg/build.sh -
Open the project in Android Studio and run, or build from the terminal (Gradle builds the C++ parts – whisper.cpp and the RAW developers – itself):
./gradlew assembleDebug
Android only updates an installed app with an APK signed by the same key. The release build reads its key from
~/.klipp/keystore.properties (outside the repository; or a file named by the KLIPP_KEYSTORE environment variable):
storeFile=/path/to/klipp-release.jks
storePassword=…
keyAlias=klipp
keyPassword=…
Without it (e.g. on CI) the release build is signed with the debug key. -Pklipp.debugSigned=true forces the debug key,
to update an install that was signed with it. Keep the key and its password backed up – without them no update can
replace an installed Klipp.
- MotionCam RAW
.mcrawvideo: in the video picker, tap MotionCam RAW and choose MotionCam's folder once (usuallyDocuments/MotionCam). Klipp develops each take on the GPU into a 10-bit HEVC log copy with its sound; a quick half-size copy goes on the timeline first and the full one replaces it by itself. The RAW chip at the start of the Color page's node chain develops it again with another log or exposure index. MotionCam clips start with an OpenDRT node from the log they are developed into, as CRAW clips do, and stand as they were shot (portrait, landscape or turned round). Thanks to Paulo Gonçalves (@utalpt) for the developer this is built on. - A film over the whole picture already makes the finished picture: an OpenDRT in its node or after it does nothing (the Color page says so). Put OpenDRT before the film, or set the film to Effects only.
- Cinematic RAW Studio
.CRAWvideo opens through Import → Files app on devices with a compatible 10-bit HEVC encoder. Klipp develops an editable log copy with AAC audio when present and keeps the source linked. The editing copy is scaled to fit the encoder when needed. Use CRAW development on the Color page to choose a different log profile or exposure index and develop the clip again in place. - Clips imported through the system photo picker get generic names (e.g.
28.mp4) – Android hides the file names. - Projects live inside the app: back them up with their media (Projects → long-press → Back up to a folder… or Save a project package with media…) before uninstalling Klipp or moving to another phone.
- vivo Log has no published specification; its curve was measured and its colors fitted to vivo's own vivo Log → Rec.709 LUT.
- Speech recognition runs on the CPU (the GPU path was tried and dropped: unstable drivers, slower on phones).
- HLG export works, but the preview on the phone stays SDR.
- DJI D-Log M has no published curve and is not offered as an input yet (D-Log and D-Log2 are).
- Motion blur's motion analysis stays on the phone that made it: a project package opened on another phone offers to analyze the clip again (until then the blur follows the camera only).
- Exports are saved in Movies/Klipp, or in a folder chosen under Save to in the export dialog.
- Rust (the bridge against real files):
KLIPP_TEST_MEDIA=<folder> cargo test --release– the folder needsklipp_a.mp4,klipp_b.mp4,tal.m4a,three.movanddf_noise.wav; the workflow shows how to generate them with ffmpeg. - Kotlin (gestures, snapping, ripple, the Rust → Kotlin contract, video layers, properties, screenshots):
./gradlew testDebugUnitTestand./gradlew recordRoborazziDebug - GPU (on a connected phone): the film and the grade nodes rendered by the phone's GPU, as playback runs them, against
the CPU path:
./gradlew connectedGpuTestAndroidTest. They run in their own app (se.gendut.klipp.gputest), so the installed Klipp and its projects are never touched. - Regression run (on a connected phone, through the app's agent bridge): frame-exact playback and export checks in a
project of their own – see
tools/regress/README.md.
The FilmCraft version is pinned in rust/Cargo.toml (rev). Update it deliberately.
Klipp is free software: as distributed, the app and this repository as a whole are offered under the GNU General
Public License, version 3 only (GPL-3.0-only, see LICENSE and docs/licensing.md); the JNI bridge's own code
(rust/) is GPL-3.0-or-later. Everything
it contains or downloads from other projects, with licenses and changes, is listed in THIRD_PARTY.md; the full
inventory, license texts and notices are in LICENSES/ and in the app (Settings → About → Licenses and source code).
Each release's Corresponding Source: docs/source-release.md.
Parts from other projects:
- spektrafilm (Andrea Volpato et al., https://github.com/andreavolpato/spektrafilm) – spectral film simulation,
GPL-3.0. The color pipeline is ported to
app/src/main/java/se/gendut/klipp/engine/Spektra.kt; the tables inapp/src/main/assets/spektrafilmare computed with spektrafilm's code (tools/spektrafilm/export_tables.py). The film profiles and everything that encodes them (tables, LUTs) are CC BY-SA 4.0 – seeapp/src/main/assets/spektrafilm/SPEKTRAFILM_LICENSE.txt. The spectral upsampling tables behind the film tables are Klipp's own (tools/spectra, after Jakob & Hanika 2019). - OpenDRT (Jed Smith, https://github.com/jedypod/open-display-transform) – GPL-3.0, in
engine/OpenDrt.kt. - FilmCraft (the editing engine, Rust), Media3 (Apache-2.0), whisper.cpp (MIT), FFmpeg (LGPL-2.1+, only its ProRes and CineForm decoders and MOV reading/writing, for the ProRes import).
- DeepFilterNet (noise reduction and speech enhance), MediaPipe and YuNet (face following), Beat This!
(beat markers), ONNX Runtime (word edges, beat markers), Silero VAD, the Cinematic RAW Studio and
MotionCam decoders – licenses in
THIRD_PARTY.md. - Media3 effect (Apache-2.0) as source code in
third_party/media3-effect, modified so that the whole video chain computes in floating point (RGBA16F) – seethird_party/media3-effect/KLIPP.md. - Media3 transformer (Apache-2.0) as source code in
third_party/media3-transformer, modified for live playback's cuts with one video renderer – seethird_party/media3-transformer/KLIPP.md. - Media3 ExoPlayer (Apache-2.0) as source code in
third_party/media3-exoplayer, modified so a clip ending before an open GOP's keyframe keeps its last frames – seethird_party/media3-exoplayer/KLIPP.md.
python -m venv venv && venv/bin/pip install numpy scipy colour-science scikit-image opt-einsum numba matplotlib \
exiv2 rawpy lensfunpy OpenImageIO pyfftw
git clone https://github.com/andreavolpato/spektrafilm
venv/bin/python tools/spektrafilm/export_tables.py spektrafilm/src app/src/main/assets/spektrafilm reference.json
reference.json (every stage for a few films and settings) is used by SpektraTest – copy it to
app/src/test/resources/spektrafilm_ref.json.



