Create polished demo videos without editing skills. Mac/Windows/Linux
Revert "Restore motion blur behavior and bake stronger defaults"
webadderallae56f5472920
diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsxindex 71ef0530..0e131cd7 100644--- a/src/components/video-editor/SettingsPanel.tsx+++ b/src/components/video-editor/SettingsPanel.tsx@@ -2734,7 +2734,7 @@ export function SettingsPanel({.maxDirectionalBlurPx}min={0}- max={64}+ max={32}step={0.1}onChange={(value) =>onZoomMotionBlurTuningChange?.({@@ -2778,7 +2778,7 @@ export function SettingsPanel({.maxRadialBlurStrength}min={0}- max={1}+ max={0.5}step={0.005}onChange={(value) =>onZoomMotionBlurTuningChange?.({diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsxindex 7f088dcc..fd3a3141 100644--- a/src/components/video-editor/VideoEditor.tsx+++ b/src/components/video-editor/VideoEditor.tsx@@ -4361,8 +4361,7 @@ export default function VideoEditor() {? (smokeExportConfig.fps ?? settings.mp4FrameRate ?? mp4FrameRate): (settings.mp4FrameRate ?? mp4FrameRate);const pipelineModel = smokeExportConfig.enabled- ? (smokeExportConfig.pipelineModel ??- (smokeExportConfig.useNativeExport ? "modern" : "legacy"))+ ? (smokeExportConfig.pipelineModel ?? "modern"): (settings.pipelineModel ?? exportPipelineModel);const useExperimentalNativeExport =pipelineModel === "modern" &&diff --git a/src/components/video-editor/editorPreferences.test.ts b/src/components/video-editor/editorPreferences.test.tsindex ef40d7b8..ca1378dd 100644--- a/src/components/video-editor/editorPreferences.test.ts+++ b/src/components/video-editor/editorPreferences.test.ts@@ -75,17 +75,8 @@ describe("editorPreferences", () => {expect(DEFAULT_EDITOR_PREFERENCES.cursorSway).toBe(0.25);});- it("bakes in the stronger split motion blur tuning defaults", () => {- expect(DEFAULT_EDITOR_PREFERENCES.zoomMotionBlurTuning).toMatchObject({- panVelocityThreshold: 0,- zoomVelocityThreshold: 0,- maxDirectionalBlurPx: 48.2,- maxRadialBlurStrength: 0.755,- });- });-- it("defaults MP4 exports to the legacy pipeline", () => {- expect(DEFAULT_EDITOR_PREFERENCES.exportPipelineModel).toBe("legacy");+ it("defaults MP4 exports to the Lightning pipeline", () => {+ expect(DEFAULT_EDITOR_PREFERENCES.exportPipelineModel).toBe("modern");});it("loads stored editor control preferences", () => {diff --git a/src/components/video-editor/projectPersistence.ts b/src/components/video-editor/projectPersistence.tsindex f6550040..9adb3608 100644--- a/src/components/video-editor/projectPersistence.ts+++ b/src/components/video-editor/projectPersistence.ts@@ -177,7 +177,7 @@ export function normalizeExportPipelineModel(value: unknown): ExportPipelineModereturn value;}- return "legacy";+ return "modern";}export function normalizeExportMp4FrameRate(value: unknown): ExportMp4FrameRate {@@ -360,10 +360,10 @@ export function normalizeProjectEditor(editor: Partial<ProjectEditorState>): Pro? clamp(rawZoomMotionBlurTuning.zoomVelocityThreshold, 0, 0.4): DEFAULT_ZOOM_MOTION_BLUR_TUNING.zoomVelocityThreshold,maxDirectionalBlurPx: isFiniteNumber(rawZoomMotionBlurTuning.maxDirectionalBlurPx)- ? clamp(rawZoomMotionBlurTuning.maxDirectionalBlurPx, 0, 64)+ ? clamp(rawZoomMotionBlurTuning.maxDirectionalBlurPx, 0, 32): DEFAULT_ZOOM_MOTION_BLUR_TUNING.maxDirectionalBlurPx,maxRadialBlurStrength: isFiniteNumber(rawZoomMotionBlurTuning.maxRadialBlurStrength)- ? clamp(rawZoomMotionBlurTuning.maxRadialBlurStrength, 0, 1)+ ? clamp(rawZoomMotionBlurTuning.maxRadialBlurStrength, 0, 0.5): DEFAULT_ZOOM_MOTION_BLUR_TUNING.maxRadialBlurStrength,panResponsePerSecond: isFiniteNumber(rawZoomMotionBlurTuning.panResponsePerSecond)? clamp(rawZoomMotionBlurTuning.panResponsePerSecond, 1, 30)diff --git a/src/components/video-editor/types.ts b/src/components/video-editor/types.tsindex 4110cb06..e6a7c6f0 100644--- a/src/components/video-editor/types.ts+++ b/src/components/video-editor/types.ts@@ -116,9 +116,9 @@ export interface ZoomMotionBlurTuning {export const DEFAULT_ZOOM_MOTION_BLUR_TUNING: ZoomMotionBlurTuning = {panVelocityThreshold: 0,- zoomVelocityThreshold: 0,- maxDirectionalBlurPx: 48.2,- maxRadialBlurStrength: 0.755,+ zoomVelocityThreshold: 0.025,+ maxDirectionalBlurPx: 11,+ maxRadialBlurStrength: 0.175,panResponsePerSecond: 11,zoomResponsePerSecond: 9,zoomSafeZoneRadiusPx: 6,diff --git a/src/lib/exporter/modernVideoExporter.nativeStaticLayout.test.ts b/src/lib/exporter/modernVideoExporter.nativeStaticLayout.test.tsindex 7008a9c1..2d5d3c41 100644--- a/src/lib/exporter/modernVideoExporter.nativeStaticLayout.test.ts+++ b/src/lib/exporter/modernVideoExporter.nativeStaticLayout.test.ts@@ -308,29 +308,6 @@ describe("ModernVideoExporter native static-layout eligibility", () => {).toBe("unsupported-background-video");});- it("skips native static-layout when motion blur is enabled", () => {- const exporter = createExporter({- zoomMotionBlur: 0.8,- zoomTemporalMotionBlur: 0.6,- cursorMotionBlur: 0.4,- });-- expect(- exporter.getNativeStaticLayoutSkipReasons(- {- audioMode: "edited-track",- strategy: "offline-render-fallback",- },- videoInfo,- 59,- ),- ).toEqual([- "unsupported-zoom-motion-blur",- "unsupported-zoom-temporal-motion-blur",- "unsupported-cursor-motion-blur",- ]);- });-it("collects every native static-layout blocker for beta diagnostics", () => {const exporter = createExporter({width: 1921,diff --git a/src/lib/exporter/modernVideoExporter.ts b/src/lib/exporter/modernVideoExporter.tsindex c2457e59..55f47923 100644--- a/src/lib/exporter/modernVideoExporter.ts+++ b/src/lib/exporter/modernVideoExporter.ts@@ -1409,18 +1409,6 @@ export class ModernVideoExporter {reasons.push("unsupported-background-video");}- if ((this.config.zoomMotionBlur ?? 0) > 0) {- reasons.push("unsupported-zoom-motion-blur");- }-- if ((this.config.zoomTemporalMotionBlur ?? 0) > 0) {- reasons.push("unsupported-zoom-temporal-motion-blur");- }-- if ((this.config.cursorMotionBlur ?? 0) > 0) {- reasons.push("unsupported-cursor-motion-blur");- }-const hasZoomRegions = (this.config.zoomRegions ?? []).length > 0;const needsTimelineMap = this.shouldUseNativeStaticLayoutTimelineMap(videoInfo,