Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
export on windows
Siddharth27377c21942c
diff --git a/public/wallpapers/wallpaper14.jpg b/public/wallpapers/wallpaper14.jpgdeleted file mode 100644index c1762f76b..000000000Binary files a/public/wallpapers/wallpaper14.jpg and /dev/null differdiff --git a/public/wallpapers/wallpaper16.jpg b/public/wallpapers/wallpaper16.jpgdeleted file mode 100644index 9038dde12..000000000Binary files a/public/wallpapers/wallpaper16.jpg and /dev/null differdiff --git a/src/lib/exporter/videoExporter.ts b/src/lib/exporter/videoExporter.tsindex c692fc330..a3619d466 100644--- a/src/lib/exporter/videoExporter.ts+++ b/src/lib/exporter/videoExporter.ts@@ -118,9 +118,20 @@ export class VideoExporter {if (this.cancelled) break;const canvas = this.renderer!.getCanvas();++ // CRITICAL FIX for Windows: Explicitly specify colorSpace when creating VideoFrame from canvas+ // Without this, VideoFrame.colorSpace can be null on Windows, causing "Cannot read properties of null" error+ // Using BT.709 with sRGB transfer (IEC 61966-2-1) which is standard for HD video+ // @ts-ignore - TypeScript definitions may not include all VideoFrameInit propertiesconst exportFrame = new VideoFrame(canvas, {timestamp,duration: frameDuration,+ colorSpace: {+ primaries: 'bt709',+ transfer: 'iec61966-2-1',+ matrix: 'rgb',+ fullRange: true,+ },});if (this.encoder && this.encoder.state === 'configured') {