ObjReader Community

FFplay => WebmCap => Topic started by: Patrice Terrier on September 16, 2026, 08:48:18 am

Title: WebmCap
Post by: Patrice Terrier on September 16, 2026, 08:48:18 am
WebmCap - Tiny native WebM screen recorder/player

WebmCap is the successor to FFplay/FFcapture. It no longer uses FFmpeg.exe, thus drastically reducing the binary size.
It is designed primarily for creating tutorial videos.

It captures a selected desktop window in real time and creates a WebM video using VP9 for video and Opus for audio.

(https://www.zapsolution.com/FreeBasic/WebmCap.png)

The complete executable is currently only:

1213 KB

Despite its small size, WebmCap includes the complete recording and WebM muxing engine.

Main features


Why WebM / VP9 / Opus?

The original goal was to avoid relying on a large external multimedia application such as FFmpeg for a relatively simple screen-recording task.

WebmCap therefore uses only the components it actually needs.

libvpx was reduced to the VP9 encoding functionality required by WebmCap, Opus is statically linked, and the required libwebm muxer sources are compiled directly into the application.

The project also uses TCLib to minimize conventional CRT overhead.

The result is a complete recorder/player of approximately 1.2 MB.

Recording quality

A demanding test was made using an ObjReader 3D animation (Helmet.orb).

For the same 71-second animation:

Code: [Select]
FFCapture : 91.0 MB / 71 seconds
WebmCap   : 58.4 MB / 71 seconds

The WebmCap VP9 recording retains excellent visual quality while producing a substantially smaller file.

ObjReader was rendering the animation at approximately 239/240 FPS while WebmCap recorded it at 30 FPS.

Playback

WebmCap is primarily a WebM recorder, but it can also be used as a lightweight video player.

Simply drag and drop an existing video file onto the WebmCap window.

The video is displayed using WV2B/WebView2. Press ESC to close the player and immediately return to the capture interface.

There is deliberately no hard-coded list of supported video extensions: the file is passed directly to WV2B/WebView2, which determines whether it can be played.

Implementation

WebmCap is written in native procedural C/C++ for Windows x64.

It uses:


WebmCap is another example of what can still be achieved on Windows by staying close to the native API and including only the code actually required.