Skip to content
huner-cPublic

About

Instant Warm Standby screen recorder, preview trimmer, and lossless FFmpeg clip exporter for Windows

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickClip v2 (Pure Rust Zero-Copy GPU)

Ultra-lightweight Windows desktop & game screen recorder, toggleable RAM Replay Buffer (Anlık Tekrar), and instant PNG screenshot utility written in Pure Rust with zero external runtime dependencies (no Python, no FFmpeg, no bundled DLLs).

Architecture Highlights

  • Zero-Copy GPU Video Pipeline (src/capture/d3d_capture.rs, mf_video_encoder.rs):
    • Captures displays via DXGI Desktop Duplication (IDXGIOutputDuplication), converts BGRA → NV12 and crops regions directly in GPU VRAM using ID3D11VideoProcessor, and feeds surfaces straight to Windows Media Foundation Hardware H.264 MFTs (AMD AMF / NVIDIA NVENC / Intel QSV via IMFDXGIDeviceManager, with automatic Microsoft Software MFT fallback).
  • Toggleable In-Memory Replay Buffer (src/capture/ring_buffer.rs):
    • Inspired by SteelSeries GG Moments & NVIDIA ShadowPlay.
    • When OFF: 0 MB ring buffer RAM and 0% background capture/encode load — ideal when you only want manual screenshots or recordings.
    • When ON: Encodes compressed H.264 + AAC packets exclusively in RAM with zero continuous SSD writes, automatically discarding packets older than your configured window (30 / 60 / 120 / 180 / 300 s or custom 10–600 s) aligned cleanly to IDR keyframes.
    • Pressing the Replay hotkey (default F10) snapshots the RAM ring buffer into a standard MP4 via native Windows IMFSinkWriter (src/capture/mp4_muxer.rs) without interrupting the ongoing replay loop.
  • WASAPI Loopback + Native AAC (src/capture/wasapi_audio.rs, mf_audio_encoder.rs):
    • Captures system/game speaker audio directly via Windows Core Audio (IAudioClient loopback) paced by wall-clock with silent gap padding, encoded via Windows AAC Encoder MFT (192 kbps).
  • Normal Recording (F9) & Instant PNG Screenshot (F8):
    • Full-screen or interactive DPI-aware Win32 drag-select region capture (src/system/region_overlay.rs).
  • Native Windows Desktop Features (src/system/, src/ui/app.rs):
    • Multi-monitor DXGI selection, customizable global hotkeys (RegisterHotKey), customizable output folder, FPS (60/30) & bitrate (8/12/20 Mbps) controls, persistent %LOCALAPPDATA%\QuickClip\settings.json, single-instance lock, system tray minimize/restore, and optional Windows startup (HKCU\Software\Microsoft\Windows\CurrentVersion\Run).

Build & Run

Requires Rust (x86_64-pc-windows-msvc) and Visual Studio / Windows SDK build tools:

# Run unit + GPU integration tests
cargo test -- --nocapture

# Build standalone single-binary dist\QuickClip\QuickClip.exe
powershell -ExecutionPolicy Bypass -File scripts/build_exe.ps1

# Create/update Desktop and Start Menu shortcuts
powershell -ExecutionPolicy Bypass -File scripts/create_shortcuts.ps1

CLI Verification Modes

.\dist\QuickClip\QuickClip.exe --headless-check
.\dist\QuickClip\QuickClip.exe --smoke-test "$env:TEMP\quickclip_smoke"

About

Instant Warm Standby screen recorder, preview trimmer, and lossless FFmpeg clip exporter for Windows

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages