Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Editor: parts the engine dropped read Interrupted, separate from parts the user stopped
Bowen Xue54f8a8bca040
diff --git a/web/editor.js b/web/editor.jsindex 05d1f18..8f2f725 100644--- a/web/editor.js+++ b/web/editor.js@@ -557,6 +557,9 @@ export function openEditor({api, app, from = null, panel = {}, components: givenstate.settle(record => pinStoppedJob(record, [block.id], job.id));} else if (block.state === 'running' && clip.pending !== 'running') state.settle(record => model.settle(record, [block.id], 'running'));}+ // The status word of a part the engine dropped is read from the job, which arrives after the record is drawn.+ const dropped = job => (job?.blocks || []).filter(block => block.state === 'interrupted').length;+ if (dropped(job) !== dropped(previous)) tracks?.refresh?.();genbar?.update(barJob(job)); updateTop(); updateTransport();const active = ['queued', 'running', 'cancelling'].includes(job.state);if (completed.size || (!active && previous?.state !== job.state) || (job.output && job.output !== previous?.output))@@ -781,6 +784,9 @@ export function openEditor({api, app, from = null, panel = {}, components: given},reasonText: value => editorErrorText(value, t),failureText: id => failures.text(id),+ // A part that was running when the engine went away, as opposed to one the user stopped.+ interrupted: clip => clip.pending === 'stopped' && !clip.source && !!clip.job+ && (jobStatuses.get(clip.job)?.blocks || []).some(block => block.state === 'interrupted' && model.attemptClip(state.record, block.id)?.id === clip.id),selectedFailure() {const clip = state.selection?.kind === 'clip' && state.record.tracks.flatMap(track => track.clips).find(clip => state.selection.ids.includes(clip.id) && clip.pending === 'failed');if (clip) return {id: clip.id, text: failures.text(clip.id)};diff --git a/web/editor_notes.js b/web/editor_notes.jsindex 46e7132..c8784bd 100644--- a/web/editor_notes.js+++ b/web/editor_notes.js@@ -18,9 +18,9 @@ export const stripText = clip => clip.note || firstLine(clip.text);export const describedTrack = track => track.kind === 'video' && track.clips.some(clip => !isText(clip) && stripText(clip));const agentWrote = record => record.tracks.some(track => track.clips.some(clip => clip.text_by === 'agent'));// Status words appear only in the hover tip and the panels (Iris 10-11).-export function blockStatus(clip, t, fraction = 0) {+export function blockStatus(clip, t, fraction = 0, interrupted = false) {if (clip.pending === 'running') return t(`Generating ${Math.round(fraction * 100)}%`, `生成中 ${Math.round(fraction * 100)}%`);- if (clip.pending === 'stopped') return t('Stopped', '已停止');+ if (clip.pending === 'stopped') return interrupted ? t('Interrupted', '上次中断') : t('Stopped', '已停止');if (clip.pending === 'failed') return t('Unfinished', '未完成');if (clip.pending) return t('Not generated', '未生成');const current = model.takes(clip).find(take => take.index === -1);@@ -103,7 +103,7 @@ export function createBlockNotes({state, t, actions}) {function showTip(item) {const view = item.element.closest('.fv-ed-track-view'), clip = item.clip; if (!view || !item.element.isConnected) return;const fraction = Number(item.element.style.getPropertyValue('--fv-ed-progress')) || 0;- const text = [clip.note || clip.text.trim(), blockStatus(clip, t, fraction)].filter(Boolean).join(' · ');+ const text = [clip.note || clip.text.trim(), blockStatus(clip, t, fraction, !!actions.interrupted?.(clip))].filter(Boolean).join(' · ');if (!text) return;if (!tip) { tip = el('div', 'fv-ed-note-tip'); tip.setAttribute('role', 'tooltip'); }if (tip.parentElement !== view) view.append(tip);diff --git a/web/editor_tracks.js b/web/editor_tracks.jsindex c1d8ef4..937073c 100644--- a/web/editor_tracks.js+++ b/web/editor_tracks.js@@ -536,7 +536,7 @@ export function createTracks(host, {state, sources = {}, t = en => en, actions =const failureText = visual === 'failed' ? actions.failureText?.(clip.id) || actions.reasonText?.(clip.reason) || clip.reason || t('Generation failed', '生成时出错') : '';if (visual === 'failed') item.status.replaceChildren(icon('warning'), create('span', 'fv-ed-clip-failure-reason', failureText));else item.status.replaceChildren();- const status = {planned: t('Not generated yet', '还没生成'), running: t('Generating', '正在生成'),+ const status = {planned: actions.interrupted?.(clip) ? t('Interrupted', '上次中断') : t('Not generated yet', '还没生成'), running: t('Generating', '正在生成'),done: t('Complete', '完成'), failed: failureText}[visual];const seconds = Math.round(clip.frames / model.FPS);item.element.title = '';