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: audio track names fit their head; text and subtitles can be added after separating sound
Bowen Xue6ec1dece63d4
diff --git a/freevideo_engine/editor_text.py b/freevideo_engine/editor_text.pyindex a38a0c7..e6ed3af 100644--- a/freevideo_engine/editor_text.py+++ b/freevideo_engine/editor_text.py@@ -53,7 +53,7 @@ def clean_style(raw, kind='text'):def validate_text_project(raw, validate_media):- _check(isinstance(raw.get('tracks'), list) and len(raw['tracks']) <= 5)+ _check(isinstance(raw.get('tracks'), list) and len(raw['tracks']) <= 9)media = {k:v for k,v in raw.items() if k != 'subtitle_style'}media['tracks'] = [t for t in raw['tracks'] if not is_text_track(t)]result = validate_media(media)diff --git a/web/editor_audio.css b/web/editor_audio.cssindex f92cf08..bc7c517 100644--- a/web/editor_audio.css+++ b/web/editor_audio.css@@ -1,11 +1,12 @@.fv-ed-audio-panel{box-sizing:border-box;width:100%;color:var(--fv-ink);font:13px/1.4 var(--fv-font,system-ui)}.fv-ed-audio-form,.fv-ed-audio-cross{display:flex;flex-direction:column;gap:12px}.fv-ed-audio-panel [hidden]{display:none!important}-.fv-ed-track-view .fv-ed-track-head{justify-content:space-between;gap:4px;padding:0 6px}+.fv-ed-track-view .fv-ed-track-head{justify-content:space-between;gap:2px;padding:0 4px}.fv-ed-track-head>svg{display:none}.fv-ed-track-head>span:not(.fv-ed-audio-track-controls){white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}.fv-ed-audio-track-controls{display:flex;gap:1px;flex:none}-.fv-ed-track-view .fv-ed-audio-track-switch{display:grid;place-items:center;padding:2px;width:24px;height:28px;border:0;border-radius:4px;background:transparent;opacity:.5;cursor:pointer}+.fv-ed-track-view .fv-ed-audio-track-switch{display:grid;place-items:center;padding:2px;width:22px;height:28px;border:0;border-radius:4px;background:transparent;opacity:.5;cursor:pointer}+@media (max-width:480px){.fv-ed-track-view .fv-ed-audio-track-switch{width:24px}}.fv-ed-audio-track-switch:hover,.fv-ed-audio-track-switch[aria-pressed=true]{opacity:1!important}.fv-ed-audio-track-switch[aria-pressed=true]{color:var(--fv-accent)!important}.fv-ed-track-row[data-muted=true] .fv-ed-clip{opacity:.45}diff --git a/web/editor_text_model.js b/web/editor_text_model.jsindex 790e109..1ed4fb6 100644--- a/web/editor_text_model.js+++ b/web/editor_text_model.js@@ -34,7 +34,7 @@ export function cleanStyle(raw = {}, kind = 'text') {}const freeze = value => { if (value && typeof value === 'object') { Object.values(value).forEach(freeze); Object.freeze(value); } return value; };export function readTextProject(raw, parseMedia) {- check(Array.isArray(raw.tracks) && raw.tracks.length <= 5, 'track');+ check(Array.isArray(raw.tracks) && raw.tracks.length <= 9, 'track');const media = {...raw, tracks: raw.tracks.filter(t => !isTextTrack(t))}; delete media.subtitle_style;const result = structuredClone(parseMedia(media)), ids = new Set(result.tracks.flatMap(t => t.clips.map(c => c.id))), seen = new Set();for (const track of raw.tracks.filter(isTextTrack)) {