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
fix(exporter): normalize bare VP8/VP9 codec strings from web-demuxer
FabLrc6577a5441804
diff --git a/src/lib/exporter/streamingDecoder.ts b/src/lib/exporter/streamingDecoder.tsindex 24b984481..c3bca3c49 100644--- a/src/lib/exporter/streamingDecoder.ts+++ b/src/lib/exporter/streamingDecoder.ts@@ -311,8 +311,16 @@ export class StreamingVideoDecoder {);}+ if (/^vp08$/i.test(decoderConfig.codec)) {+ decoderConfig.codec = "vp8";+ }+ if (/^vp09$/i.test(decoderConfig.codec)) {+ decoderConfig.codec = "vp9";+ }+const codec = decoderConfig.codec.toLowerCase();- const shouldPreferSoftwareDecode = codec.includes("av01") || codec.includes("av1");+ const shouldPreferSoftwareDecode =+ codec.includes("av01") || codec.includes("av1") || codec.includes("vp09");const segments = this.splitBySpeed(this.computeSegments(this.metadata.duration, trimRegions),speedRegions,