Turn any video into a Mixamo-rig animation - GVHMR estimator, spec-driven retarget, FK apply in Blender via MCP. Works with any Mixamo character; built to be operated end-to-end by an AI agent.
Pitfalls: judge limb height against the head; abutting windows cancel
Sacha604989f6445a
diff --git a/action_specs/spin.json b/action_specs/spin.jsonindex b3640a7..a3a4d4d 100644--- a/action_specs/spin.json+++ b/action_specs/spin.json@@ -8,42 +8,162 @@"estimator": "gvhmr_siga24","src_fps": 24,"dst_fps": 30,-- "rest_blend_start": { "full_src": 24, "release_src": 34 },- "rest_blend_end": { "start_src": 210, "full_src": 226 },-- "fists": { "rise_src": [170, 178], "fall_src": [200, 210] },-+ "rest_blend_start": {+ "full_src": 24,+ "release_src": 34+ },+ "rest_blend_end": {+ "start_src": 210,+ "full_src": 226+ },+ "fists": {+ "rise_src": [+ 140,+ 150+ ],+ "fall_src": [+ 200,+ 210+ ],+ "comment": "owner pass-7: hands were open after the kick; the performer holds fists from 6 s."+ },"plant": [- { "src": [1, 49], "support": "both" },- { "src": [50, 62], "support": "right" },- { "src": [63, 80], "support": "both" },- { "src": [81, 95], "support": "right" },- { "src": [96, 131], "support": "both" },- { "src": [132, 155], "support": "none", "boost": 1.35,- "comment": "owner pass-2: jump reads too low vs reference. Window widened to true liftoff (airborne detection fires late, eating the launch rise) + 1.35x arc boost." },- { "src": [156, 241], "support": "both" }+ {+ "src": [+ 1,+ 49+ ],+ "support": "both"+ },+ {+ "src": [+ 50,+ 62+ ],+ "support": "right"+ },+ {+ "src": [+ 63,+ 80+ ],+ "support": "both"+ },+ {+ "src": [+ 81,+ 95+ ],+ "support": "right"+ },+ {+ "src": [+ 96,+ 131+ ],+ "support": "both"+ },+ {+ "src": [+ 132,+ 155+ ],+ "support": "none",+ "boost": 1.35,+ "comment": "owner pass-2: jump reads too low vs reference. Window widened to true liftoff (airborne detection fires late, eating the launch rise) + 1.35x arc boost."+ },+ {+ "src": [+ 156,+ 241+ ],+ "support": "both"+ }],-"smooth": [- { "src": [172, 204], "window": 5,- "comment": "owner pass-2: flurry smoother. Pass-4: window 9 -> 5; a 9-frame window averaged away the punch extension peaks." }+ {+ "src": [+ 172,+ 204+ ],+ "window": 5,+ "comment": "owner pass-2: flurry smoother. Pass-4: window 9 -> 5; a 9-frame window averaged away the punch extension peaks."+ }],-"reach": [- { "src": [172, 204], "ramp_src": 4, "side": "both", "factor": 1.22, "max_fraction": 0.97,- "comment": "owner pass-4: punches don't travel far enough. Reference reaches 87-98% of arm length; restore extension on already-extending arms only." }+ {+ "src": [+ 172,+ 204+ ],+ "ramp_src": 4,+ "side": "both",+ "factor": 1.22,+ "max_fraction": 0.97,+ "comment": "owner pass-4: punches don't travel far enough. Reference reaches 87-98% of arm length; restore extension on already-extending arms only."+ }],-"nudges": [- { "src": [172, 204], "ramp_src": 5, "side": "both", "offset": [0, 0, -0.08],- "comment": "owner pass-3: flurry arms too high vs reference - lower both arm chains 8 cm." },- { "src": [172, 204], "ramp_src": 5, "side": "right", "offset": [0, -0.05, 0],- "comment": "owner pass-3: right shoulder pulls back - bring the right chain 5 cm forward." }+ {+ "src": [+ 138,+ 206+ ],+ "ramp_src": 6,+ "side": "both",+ "offset": [+ 0,+ 0,+ -0.13+ ],+ "comment": "owner pass-7: hands sat at face level from the kick landing to the end; the performer holds them at chest level. One continuous window - two abutting windows cancel during their handover."+ },+ {+ "src": [+ 158,+ 204+ ],+ "ramp_src": 6,+ "side": "both",+ "offset": [+ 0,+ 0,+ -0.1+ ],+ "comment": "owner pass-7: the flurry needs more than the post-kick guard, and it must be at full strength BEFORE 7.0 s (src 168) - the owner judged the punches wrong 'from the start'."+ },+ {+ "src": [+ 168,+ 204+ ],+ "ramp_src": 5,+ "side": "right",+ "offset": [+ 0.035,+ -0.05,+ -0.03+ ],+ "comment": "owner pass-3/7: right chain off the shoulder, tucked toward the midline, level with the left."+ }],-"_head_look_note": "pass-6: no manual gaze correction needed any more. The estimator now emits the performer's real gaze (mesh nose vs ears) and the apply orients the head to it, clamped to gaze_max_offset_deg from the chest.","gaze_max_offset_deg": 70,-- "qa_src_frames": [1, 40, 55, 71, 85, 97, 117, 130, 146, 157, 170, 184, 192, 220, 241]-}+ "qa_src_frames": [+ 1,+ 40,+ 55,+ 71,+ 85,+ 97,+ 117,+ 130,+ 146,+ 157,+ 170,+ 184,+ 192,+ 220,+ 241+ ]+}\ No newline at end of filediff --git a/docs/PITFALLS.md b/docs/PITFALLS.mdindex ed71c96..b982fc8 100644--- a/docs/PITFALLS.md+++ b/docs/PITFALLS.md@@ -99,23 +99,35 @@ touching a clip a human has partially signed off.fast flurry (9 frames) also averages away its extension peaks —punches visibly shrink. Keep flurry windows narrow (5) and restoreamplitude with `reach`.-19. **A "Hand" bone's world position is the WRIST.** Blender reports a+19. **Judge limb height against the HEAD, not the shoulders.** A+ hand height that looks correct relative to the shoulder line can sit+ at face level on a character whose head/shoulder proportions differ+ from the performer's — the eye reads hands against the face. A+ guard measured "3 cm off" shoulder-relative was 10-19 cm off+ head-relative, which is what the owner saw.+20. **Abutting correction windows cancel at the handover.** Two+ `nudges` windows that meet (138-171, 168-204) each ramp through the+ junction, so the total correction dips exactly where they meet — a+ visible defect at that instant. Use one continuous window plus a+ smaller overlapping one, and make a correction reach full strength+ BEFORE the beat it is meant to fix.+21. **A "Hand" bone's world position is the WRIST.** Blender reports abone's head; `mixamorig:*Hand` sits at the wrist, so dividing itsdistance-from-shoulder by (arm+fore+hand) understates extension by~15%. Measure the wrist against arm+fore, or the fingertip bone.## Process-20. **Beat sheet before any spec.** The 16-pass punch and the 4-pass+22. **Beat sheet before any spec.** The 16-pass punch and the 4-passkick differ by exactly this discipline; the two shipped clips took1–2 passes each.-21. **One constraint per pass; signed-off regions are frozen.** The+23. **One constraint per pass; signed-off regions are frozen.** Thesingle historical regression came from "improving" feet whilepolishing something else after the upper body was approved.-22. **Map human notes to the owning system before editing.** "Frames+24. **Map human notes to the owning system before editing.** "Frames18–50, punching side" once meant the *guard*, not the punch — apass was wasted editing the wrong function. Convert the frame rangeto src frames, find the beat, find the spec field; only then edit.-23. **QA passing ≠ done.** Numbers catch explosions, pops, skate and+25. **QA passing ≠ done.** Numbers catch explosions, pops, skate anddrift; they cannot see a wrong silhouette. Play the clip, read thestills, ask the human.