You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
brief2mp4 0.8.0: film mode, 3D recipes, stricter checks
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
3D pack upgrade. Six tested Blender motion recipes in 3d/templates/recipes/ (b2m3d recipe list and recipe run NAME): a seamless loop (frame 1 equals the last frame, cyclic curves), retime between timeline markers (shape-preserving), cloth drop onto an object, rigid bodies with hinge or ball constraints (a chain or a pendulum), folding with shape keys, and a forward walk with planted feet and two-bone IK. Each reports measurements with an ok verdict and warnings, refuses settings that cannot work, and has a test that asserts its numbers with a real Blender (skipped when Blender is absent), with a control that must fail (a naive walk, a chain with its constraints deleted, a floor with no collider, a one-key fold). Their plain arithmetic is in b2m_math.py, which imports no Blender and is tested in CI on every system. b2m3d recipe run passes --python-exit-code 1, so a recipe error reaches the caller. If you installed the 3D pack before, run install_3d.sh again: the installed copy of the pack does not know recipe until then.
Live Blender route through blender-mcp, next to the headless route, which stays the default for rendering: references/blender-live.md (live or headless, install, safety, sending a recipe) and a stage option so recipes run politely inside an open scene.
Optional generators, never bundled: scripts/gen3d.py calls Hunyuan3D-2 or TRELLIS when you have installed them (image or text to a GLB, with a credit and licence sidecar), and b2m_flip_bake.py bakes and renders a FLIP Fluids liquid. Licence notes, with the project's own text quoted, in references/generators-3d.md and references/ecosystem.md. TRELLIS's GLB export runs components licensed for research or evaluation only (nvdiffrast, a Gaussian rasterizer), so gen3d.py runs it only with --non-commercial and prints their install line only on request; Hunyuan3D-2's Acceptable Use Policy (label published output as machine-generated) is in its note and sidecar.
One look for the recipes.--look studio (a seamless backdrop with no horizon, soft key, fill, rim and wall wash, ray-traced light), --orbit (a constant camera turn), captions as small lower thirds that fade in and out (--caption-px, --caption-frames, --caption-fade). Per recipe: a jointed mannequin with an upright walk (hips lowest in double support, arm swing, chest twist, lead room), a chain that frames its whole swing (frame_margin reported and tested) with a stand and rounded links, two-colour paper with thickness and a follow camera for folds, cloth thickness and sheen.
examples/10-3d-motion: a 24-second film in one studio, five recipes, dissolves on the bar lines of a CC0 track.
Film mode: one brief in a project folder, a finished explainer or documentary out, with every stage's file on disk (scripts/film.py: story, script, storyboard, assets, voice, retime, build, captions, mix, render, check, report; each stage skippable and re-runnable). New reference section "Explainer and documentary (film mode)" in references/formats.md.
scripts/fetch_archive.py: archive photos, maps and documents from Wikimedia Commons and Openverse, public domain, CC0 and CC BY only (ShareAlike, NonCommercial, NoDerivatives and unknown are rejected in the request and again on every answer), with ASSETS.json credits.
scripts/make_map.py: a country or region map as SVG with markers, labels and routes, from Natural Earth (public domain), shipped as a 54 KB subset so it works offline; the projection is chosen for the region.
scripts/sfx_synth.py: whoosh (without white noise), tick, thud, paper, typewriter, riser and hit made in code, seeded, held under -1 dBTP.
scripts/split_takes.py: one recording cut into per-line WAVs by pauses and, when available, word timings (a words file or whisper.cpp); the voice is never stretched.
scripts/retime.py: the picture re-timed to the measured voice, with beat-grid snapping and resolved sound cues.
scripts/mix.py: voice, music ducked 15 dB under the voice with an exact envelope, effects pinned by their peak, -14 LUFS.
templates/film/: the archive desk documentary look for HyperFrames (dark editorial layout, slow push-ins at one velocity, typeset captions, map overlays, date stamps, a ledger counter).
Optional routes for F5-TTS (voice) and MusicGen (music), with their non-commercial model licence notes; credits for Natural Earth, Wikimedia Commons and whisper.cpp in references/ecosystem.md.
Craft checks: scripts/check_seams.py (one-frame flicker, pops at act joins, hard and soft cuts, true freezes; run by check_delivery.sh), scripts/check_clutter.py with scripts/dom_boxes.js (no card on card, 24 px between text, at most 4 text blocks, nothing clipped), scripts/ocr_sweep.sh (placeholder text and leaked paths in the finished frames), scripts/beat_grid.py and scripts/cut_points.sh (beats and scene cuts), and scripts/fetch_music.py (CC0 and CC BY audio from Openverse with ATTRIBUTION.md).
References: motion-doctrine.md, render-traps.md, review-checklist.md and sound.md.
Changed
A check that could not measure never passes. Decode errors, truncated files, a broken tesseract, a page with no timeline or an empty box file are FAILs; a missing optional tool is a SKIP with exit 3, and check_delivery.sh then ends RESULT: INCOMPLETE (exit 3) instead of RESULT: PASS.
check_seams.py reads frames at a constant rate, so times in variable-frame-rate recordings are real seconds.
fetch_music.py streams downloads under a size cap, downloads only from https:// links, and counts --pick from 1.