DEV Community

Cover image for Portrait Clip, a local Windows app for vertical clips
Beau
Beau

Posted on

Portrait Clip, a local Windows app for vertical clips

Portrait Clip is a Windows app that takes a landscape recording and reframes it for TikTok, Shorts, and Reels. MIT. Local only. No account, no watermark, the file never leaves this PC.

What it does

Drop in an MP4, MOV, MKV, WEBM, or AVI. You get two crops on a canvas: Content and Camera. Drag them. Portrait, square, or landscape. Presets: Portrait Split, Portrait Crop, Full Blur. You can save your own layout.
Split at the playhead, trim, delete what you do not want. Compile with FFmpeg at 720p or 1080p, 30 or 60 fps. Stitch compiled clips into a montage if you need one file.
Exports go to Documents\Portrait Clip\Exports unless you change the folder in Settings.

How it is built

Tauri. TypeScript on the front, Rust on the back. FFmpeg encodes on this machine. The installer is a normal setup for the current Windows user. A newer setup replaces the install. Clips and layouts stay put.
Windows 10 or 11, 64-bit. Download the latest installer.

If you want to build it

Node, Rust, and VS 2022 C++ build tools.

git clone https://github.com/beaudenison/portrait-clip.git
cd portrait-clip
npm.cmd install
powershell -File scripts\download-ffmpeg.ps1
npm.cmd run tauri -- dev
Enter fullscreen mode Exit fullscreen mode

npm.cmd run tauri -- build writes the setup to src-tauri/target/release/bundle/nsis/.
Issues and PRs are open.

Links

Top comments (0)