Send the playblast to H3 in a video slot (#161) #172
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!172
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-161-video-slot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #161. Part of #139.
A Take queued on a complex Shot now sends the Shot's current Playblast to H3 in a video slot.
What changed
SlotMediumgainsVideo, with H3's 3 video slots (VIDEO_SLOTS). A complex Shot's current Playblast is its only video candidate (keypreviz, label "Previz vN"). A Shot that isn't complex has none. The video list follows the same rules as the other media: default order, user edits, exclusion and over-budget. Its slot numbers produce<Video N>tags.<Video N>in the same way as<Picture N>and<Audio N>. Excluding the Playblast, or unmarking the Shot complex, breaks a<Video 1>tag.h3.draftandh3.finalgo to v2 withchanges_output: false. Their manifests nameref_videos.ref_video_{n}(3 slots). The job builder adds oneVHS_LoadVideoper filled video slot, because H3's video ports take frames (IMAGE), as in the hand-tuned seed-hunter graph. The video loader is in ComfyUI-VideoHelperSuite, which the H3 workflows already need.added_class_types), so a ComfyUI withoutVHS_LoadVideoreports the H3 draft and final as not ready and names the pack.job_uploadrow now names either a blob or a path in the media folder. A Take records aprevizinput with the previz version and its slot. "Same take, new seed" with original inputs sends the same version again. Promotion reuses the draft's latents and sends no video.take_input.previz_version_idhas a real foreign key.shot_slot_item,take_inputandjob_upload, and addspreviz_version.deleted_at. Older rows survive the rebuild (migration test).Left for the sibling tickets
Check by hand before merging
VHS_LoadVideoagainst a real ComfyUI with H3. The loader's inputs areforce_rate 0,custom_width/height 0,frame_load_cap 0,skip_first_frames 0andselect_every_nth 1. FakeComfy accepts any inputs, so the tests cannot confirm this node signature for the installed VideoHelperSuite version.Tests
cargo test --workspace --features studio-core/test-support: 989 passed.bun test src scripts: 319 passed.bun run check: clean.tests/previz.rs: video Slot list,<Video N>tags, FakeComfy upload and wiring, a Shot that isn't complex, an excluded Playblast, Promotion, reroll with original inputs, and undo after a Take was sent.tests/shipped_workflows.rs: the video bindings and the node pack.tests/comfyui_preflight.rs: a missing video loader.tests/migrations.rs: V47.workflows.rs.