CaYaVidFit
Project Images (1)
Latest Version
Project Description
CaYaVidFit
Windows video size fitter powered by ffmpeg (WPF / .NET 8).
Drag-and-drop a video, pick a shrink or boost preset (or a target MB), choose an export format, then encode.
Ships as a single-file self-contained .exe — no .NET install required on the target PC.
Turkish docs: README.tr.md · Brand: cayadev.com
Download
Get the latest portable build from Releases.
- Download
CaYaVidFit.exe - Run it (Windows may show SmartScreen on first launch — More info → Run anyway if you trust the build)
- If ffmpeg is missing, use Install ffmpeg in the app header
What it does
CaYaVidFit wraps ffmpeg / ffprobe in a small desktop UI so you can:
- Shrink a video to a guaranteed fraction of the original file size (or smaller)
- Optionally raise size/quality budget with boost presets
- Hit an exact target size in MB with two-pass H.264 + AAC
- Keep the same container as the input, or pick MP4 / MKV / MOV / WEBM / AVI
- See the exact ffmpeg command and copy it
It is built for everyday “this file is too big for upload / chat / mail” workflows — not a full NLE.
Features
Input & output
- Large drop zone + animated full-window drop overlay when you drag a file over the app
- Browse for input and output paths
- Default output name:
*_fitted.<ext>next to the source (extension follows the selected format) - Supported inputs include MP4, MKV, MOV, AVI, WEBM, M4V, WMV, FLV, TS/MTS, MPEG, …
Encode modes
| Mode | Behavior |
|---|---|
| Shrink High (~95%) | Two-pass size cap ≈ 95% of original — best quality among shrink presets |
| Shrink Medium (~82%) | Two-pass size cap ≈ 82% of original (default) |
| Shrink Low (~65%) | Two-pass size cap ≈ 65% of original — smallest shrink preset |
| Boost Quality+ (~125%) | Two-pass budget ≈ 125% of original — more bits / higher quality |
| Boost Ultra (~160%) | Two-pass budget ≈ 160% of original |
| Target MB | Plan video/audio bitrates for a chosen megabyte target (two-pass H.264 + AAC) |
Important: Shrink presets are designed to never grow the file vs the original. Plain CRF-only encodes can inflate already-efficient sources; CaYaVidFit uses a size-capped two-pass plan instead.
Stream copy
If the file is already under the target / the size budget is too tight for a sensible bitrate, the app can stream-copy (-c copy) instead of re-encoding (when the checkbox is enabled).
Export format
- Same as input (default)
- Or force: MP4, MKV, MOV, WEBM, AVI
UI / UX
- Dark CaYaDev palette (
#050505/ accent#C42021) - Compact layout: Format + Output on one row; ffmpeg command + Log side by side
- Progress bar, Cancel, copyable command, timestamped log
- Window opens centered and clamped to the work area
Language
- Default: English
- If Windows UI culture is Turkish (
tr-*): Turkish strings automatically - Optional override for testing / screenshots:
$env:CAYAVIDFIT_LANG = "en-US" # or "tr-TR"
.\CaYaVidFit.exe
Requirements
- Windows x64
- ffmpeg + ffprobe
- Detected from
PATH, or from./ffmpeg/next to the app - Optional in-app install (winget / gyan.dev essentials zip)
- Detected from
Quick start
- Open
CaYaVidFit.exe - Drop a video (or Browse…)
- Pick a Shrink / Boost preset or Target MB
- Choose Format if you need a specific container
- Confirm Output path
- Click Start
Cancel stops the running ffmpeg process.
Build from source
Prerequisites
- .NET 8 SDK (Windows)
Run
cd CaYaVidFit
dotnet run --project .\src\CaYaVidFit\CaYaVidFit.csproj
Publish single-file (portable)
dotnet publish .\src\CaYaVidFit\CaYaVidFit.csproj `
-c Release -r win-x64 --self-contained true `
-p:PublishSingleFile=true `
-p:IncludeNativeLibrariesForSelfExtract=true `
-o .\dist
Or:
.\tools\Publish.ps1
Output: .\dist\CaYaVidFit.exe
Project layout
CaYaVidFit/
CaYaVidFit.sln
README.md / README.tr.md
LICENSE
docs/
logo.png
screenshot.png # real English UI capture
src/CaYaVidFit/
App.xaml(.cs)
MainWindow.xaml(.cs)
Assets/logo.png, app.ico
Models/ # encode modes, video info, paths
Services/ # probe, encode, bitrate, ffmpeg locate/install, Loc
ffmpeg/.gitkeep # optional local ffmpeg bundle folder
tools/Publish.ps1
Notes & limitations
- Primary encode path is H.264 (libx264) + AAC in a container you choose; exotic codecs/containers may need manual ffmpeg
- Two-pass encodes write temporary pass-log files under the system temp folder and clean them up afterward
- Target MB is a plan (bitrate math + mux overhead margin). Slight overshoot can still happen because of container overhead
- WEBM/AVI selection changes the output extension; codec pipeline remains the app’s H.264/AAC-oriented path unless you customize the command externally
- This is an MVP desktop tool — no GPU encode UI, no timeline editor, no batch queue yet
Troubleshooting
| Issue | What to try |
|---|---|
| App won’t start / silent exit | Check CaYaVidFit_crash.txt on the Desktop |
ffmpeg: missing |
Use Install ffmpeg, or put ffmpeg.exe + ffprobe.exe on PATH / in ./ffmpeg/ |
| Drop overlay stuck | Fixed in current builds — update from Releases; restart the app |
| Output larger than source on “Shrink” | Use a current Release; shrink modes are size-capped two-pass |
| SmartScreen warning | Expected for unsigned portable exes; verify you downloaded from this GitHub repo |
License
MIT — see LICENSE.
Made by CaYaDev / Çağan Turgut.
Project Links
Project Statistics
0
GitHub Stars
1
Version
37
Views
16
Downloads
Versions
v0.1.0
September 21, 2026 at 09:56 PMCaYaVidFit v0.1.0
Portable Windows x64 single-file build — tag matches commit ac47f34.
Highlights
- Shrink presets stay under original size (~95% / ~82% / ~65%)
- Boost presets Quality+ (
125%) and Ultra (160%) - Target MB two-pass encode
- Export format: same as input or MP4/MKV/MOV/WEBM/AVI
- EN/TR UI (OS language; optional
CAYAVIDFIT_LANG) - Animated drag-and-drop overlay
- Expanded README (EN/TR) + real English UI screenshot + badges/topics
Download
CaYaVidFit.exe— self-contained, no .NET install required
Forum
In this forum you can ask questions about the project, report bugs, request features, or join general discussions.