d3418c86df0ca2a03863a677d8719ec00fbe7a2b
firefox playing hdr youtube renders the desktop in linear scrgb, and capturing it as bgra8 clamps the >1.0 highlights to pure white. capture in r16g16b16a16_float instead and run a hable filmic + bt709 pixel shader directly on the captured d3d11 texture (which windows-capture already exposes via frame.as_raw_texture), then read back bgra8 so the ffmpeg pipe stays unchanged from the sdr path. the shader is compiled offline with fxc at build time and embedded. the fullscreen-triangle draw needs an explicit cull-none rasterizer state since the default back-face cull silently drops it.
ByteSize
Portable Windows screen-to-clip recorder. Drag a frame, record, export to GIF, WebM, or MP4 with a target file size slider that handles the math. Spiritual successor to GifCam. CC0.
Build
npm install
npm run tauri dev
Release build:
npm run tauri build -- --no-bundle
Output is a single portable ByteSize.exe. Drop it in a folder and run.
Runtime layout
When you run the exe, it creates the following next to itself:
ByteSize.exe
config.toml # user settings
bin/ffmpeg.exe # downloaded on first run
output/ # default export location
temp/ # scratch space, auto-cleaned
logs/ # optional, off by default
Nothing goes in AppData. Nothing goes in the registry. Zip the folder, run anywhere, delete to leave no trace.
License
ByteSize is CC0. The ffmpeg binary downloaded on first run is licensed separately under its own terms (typically GPL for builds that include x264 / x265).
Releases
1
ByteSize 0.1.0
Latest
Languages
Rust
57%
Svelte
33.5%
TypeScript
6.1%
CSS
2%
PowerShell
0.6%
Other
0.8%