/agent-edite-davinci-resolve:vertical-video-reframingfrom agent-edite-davinci-resolve
Use when reframing edited landscape video to portrait.
Ships in agent-edite-davinci-resolve. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This is a reframing workflow, not the raw-footage assembly covered by resolve-rough-cut. For Resolve-specific edit operations also load resolve-edit; for media reads follow the repo's source-media safety rules. Do not treat a marketing example or a source-file contact sheet as proof that a Resolve timeline renders correctly.
source_fps; ffprobe the source and decode review frames only into session scratch or an analysis root. Do not assume a clip titled for a game actually shows gameplay throughout: it may show a slide, chat, an illustration or a full-face reaction instead. When useful, inspect Resolve-rendered frames too; source frames cannot prove the composite, subtitles, effects or grade.references/reference-study.md.Timeline.SetSetting("timelineResolutionWidth")
returns False while the timeline inherits project settings
(useCustomSettings == "0"). Set useCustomSettings = "1" first, then width
(1080), then height (1920); each SetSetting returns a bool you must check —
a False does not throw.(name, start, end, enabled) tuples and end-frame equality against
the source for every audio/subtitle track plus the V1 video track; overlay
tracks may legitimately differ.Pan of
~2000 pushes an inset off a 1080-wide canvas. Still images (.jpg/.png) →
center + enlarge (Pan=0, Zoom=1.0). Reaction GIFs / short inserts → shrink
to a corner (Zoom≈0.38, Pan≈-250, Tilt≈+1250 = upper-left). Resolve sign:
positive Tilt moves up, positive Pan moves right.ffmpeg -vf fps=2,alphaextract + PIL getbbox() over
the whole clip, then place it by arithmetic: in a scaleToFit 1080x1920 timeline
the clip's effective scale is 0.5625*Zoom, and Pan/Tilt are timeline
pixels, so Pan = target_x_offset - src_x_offset*0.5625*Zoom (same for Tilt,
up positive). A side-third card panel centred in the chest band under the chin
and above the subtitles read well (Laffy 004); verify on a burn-in render. It
deviates from house-style short, so offer it as a proposal until the user
approves it for that channel.
The measuring script overlay_place.py lives in skill
talking-avatar-vertical-copy.talking-avatar-vertical-copy (fill height, overlays in the chest band).AppendToTimeline of a 25/50 fps GIF or a 60 fps source range lands one
record frame short or long depending on rounding, and GetSourceEndFrame()
is inclusive for some GIFs. Try nearby source ends (se+1, se, se+2;
for video ±1 source frame), keep the first whose record range equals the
16:9 item, and delete the misses (KT404 HL 2026-10-1 9:16 batch).GetFusionCompByIndex across 67 timelines hung
Resolve's scripting; the same comps read fine from the inactive timelines in
one pass. If Resolve hangs while its library is on G:, check G:\ with a
thread timeout first: a stuck Drive leaves Resolve unkillable until the user
restarts Google Drive.scripts/fix_vtuber2d_9x16.py (1280x720 source, 1080x1920 canvas): S0 = 1080/1280 = 0.84375, k = ZoomX * S0, so canvas_x = 540 + (src_x - 640) * k + Pan (Pan in timeline px, +right) and canvas_y = 960 + (src_y - 360) * k - Tilt * TILT_PX with TILT_PX = 720*S0/1920 = 0.31640625 (+Tilt up). Crop fields are a pre-zoom source window in S0 units: CropLeft = x0*S0, CropRight = (1280 - x1)*S0, same for top/bottom. Solve these inversely for a target canvas point; do not tune Pan/Zoom by eye.ZoomGang = True (ZoomX == ZoomY). Never unlock aspect ratio (ZoomX != ZoomY) to cover a side black border when centering a corner-baked avatar; on Katy404 day 36 that stretched the avatar horizontally (3.64 vs 2.963). Instead compute the minimum uniform scale k >= (CW / 2) / min(AV_CX, SRC_W - AV_CX) (540.0 / (1280.0 - AV_CX) on 720p-normalized coordinates when the avatar sits on the right) and derive window_crop from that same uniform k.place(). Reusing a previous day's centre moved the day-35 avatar ~150 px off-centre and put the subtitle band over the eyes.(name, start, end, enabled) tuples. Values that read back correct but still show black mean the crop/window math is wrong, not the write.When adding or fixing V3 "VTuber Zoom" punch-ins on stacked 9:16 timelines (V1 top game, V2 bottom avatar, Mitr-short-001 at y ≈ 974–1090), replace 16:9 Adjustment Clips with raw uncropped source clip segments on V3 (CropTop=0, AppendToTimeline, trackIndex=3) matching the original 16:9 V2 ranges:
V2 via a V3 Adjustment Clip Fusion Transform: Pivot=(0.5,0), Center=(0.5,0.5) lifts the bottom panel into a half-screen black void; scaling V2 when CropTop > 0 also crops avatar width down tightly. Raw V3 source segments fill 1080x1920 cleanly and align source bottom (1080) to canvas bottom (1920) so eyes sit below Mitr-short-001 (y > 1090) while hair/ahoge, mic, hands, and shoulders remain unclipped.V3 via Python avoids DRT export/import, preserving Mitr-short-001 (EffectFiltersBA) and zero _archived timelines (whereas MCP delete_clips / set_track_enable auto-archive copies).21.1.0.17:
r.OpenPage("edit") before tl.DeleteClips and confirm items(tl, "video", 3) == [] via readback retry.item.GetFusionCompCount() == 0 on placed V3 source clips so stale/competing Fusion Transforms cannot double-scale frames.Flags=2) tracks, SetTrackEnable("video", 3, True) may read back False until reload or offline Project.db Flags=0 update + reopen.50+ timelines) from inactive timelines in one pass (avoiding ~24 GB RAM / ~45s switch lag) and activate representative multi-game samples for GetIsTrackEnabled + burn-in H.264 Master render QC.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pong34811/agent-edite-davinci_resolve --plugin agent-edite-davinci-resolve98 skills in this plugin
/agent-edite-skills-catalogInventory, read, and route this repo's project skills./agent-skill-repo-releaseVersion, tag, push, and publish skill-repo releases./davinci-resolve-apiComprehensive guide for scripting DaVinci Resolve Studio via its Python API. Covers environment setup, connection, project management, media pool operations, timeline building, clip placement, color management, rendering, and export. Requires DaVinci Resolve Studio (free version does not include scripting API).