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
Merge pull request #423 from org-cyber/fix/windows-export-clean
Sid57c6a590a9be
diff --cc src/lib/exporter/streamingDecoder.tsindex 00d9f0b5f,ca1406ef6..24b984481--- a/src/lib/exporter/streamingDecoder.ts+++ b/src/lib/exporter/streamingDecoder.ts@@@ -309,12 -253,13 +317,14 @@@ export class StreamingVideoDecoderthis.computeSegments(this.metadata.duration, trimRegions),speedRegions,);+ const requiredEndSec = segments[segments.length - 1]?.endSec ?? 0;+const segmentOutputFrameCounts = segments.map((segment) =>- Math.ceil(((segment.endSec - segment.startSec) / segment.speed) * targetFrameRate),+ Math.ceil(+ ((segment.endSec - segment.startSec - EPSILON_SEC) / segment.speed) * targetFrameRate,+ ),);const frameDurationUs = 1_000_000 / targetFrameRate;- const epsilonSec = 0.001;// Async frame queue — decoder pushes, consumer pullsconst pendingFrames: VideoFrame[] = [];