Skip to content
ypxcsPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ffmpegcut icon

ffmpegcut

Cut video clips fast — lossless by default.

Tauri Solid TypeScript Vite Bun Rust FFmpeg

Preview

ffmpegcut on launch, with an empty preview, timeline, and playback controls

Features

  • Two-handle timeline with frame snapping and a live playhead timecode
  • Playback controls under the timeline: play/pause, previous/next frame, previous/next keyframe, and Set in / Set out
  • Drag-and-drop or native file dialog to open a video
  • Keyboard shortcuts: Space play/pause, ← / → frame-step (Shift = 1s), I/O set in/out
  • Dark-only UI, and a collapsible segments rail synced with the timeline
  • Multiple cuts in one pass — add as many segments as you want, export once
  • Stream-copy output (no quality loss, very fast), or optional re-encode (H.264/H.265, bitrate, fps, resolution) with a progress line and cancel
  • Live per-segment and total output size estimates
  • Single app for macOS and Windows, with ffmpeg bundled

Platform support

  • macOS: Apple Silicon (aarch64) only.
  • Windows: buildable from source (not wired up in CI yet).

Requirements

  • bun and the Rust toolchain + Tauri 2 prerequisites
  • macOS: Xcode Command Line Tools · Windows: MSVC Build Tools + WebView2

ffmpeg/ffprobe are bundled as sidecars under src-tauri/binaries/ — no separate install.

Run in development

bun install
bun run tauri dev

Build a release bundle

macOS (automated)

Update version in src-tauri/tauri.conf.json (for example, 0.2.0) and push that commit. Run the release workflow (Actions → release → Run workflow) on that branch. It builds and ad-hoc signs the app, then creates the matching GitHub release (for example, v0.2.0) and attaches ffmpegcut-macos-aarch64.app.zip. Use a new version for each release; the workflow won't overwrite an existing tag.

First launch: the app is ad-hoc signed (not notarized), so allow it once — right-click the app → Open → Open, or System Settings → Privacy & Security → Open Anyway.

Locally

bun run tauri build

Windows

Place ffmpeg/ffprobe (e.g. from BtbN FFmpeg-Builds, win64-gpl) in src-tauri/binaries/, then bun run tauri build. Unsigned → SmartScreen warns on first launch.

How it works

  1. Click Add video or drop a video onto the editor.
  2. Drag the timeline handles to mark the range, or move the playhead and click Set in or Set out. The arrow buttons step by frame, and the diamond buttons jump to the previous or next keyframe when keyframe data is available.
  3. Click Add segment to save the range. Repeat for each clip you want to keep.
  4. Click Export to combine the saved segments into one file. Stream copy is the default and can cut at nearby keyframes rather than the exact selected frame. Use the gear to choose Re-encode for more precise cuts.

License

MIT — see LICENSE. Covers ffmpegcut's own source only, not the bundled ffmpeg/ffprobe binaries.

Credits

Bundles unmodified ffmpeg/ffprobe static binaries built by osxexperts.net from FFmpeg release/6.1 (GPL v2+, with libx264/libx265). Invoked as separate sidecar processes, so the GPL does not extend to ffmpegcut's source; redistributors must still provide the corresponding FFmpeg source. FFmpeg is a trademark of Fabrice Bellard — see ffmpeg.org. Not affiliated with the FFmpeg project.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages