Skip to content
Swap Meet

Free

No. 051Free

portal-seams: a glow handoff and a score for the seam

A recipe for chaining video clips through an even glow, and a shell script that scores the seam with SSIM. For anyone whose video model does not hold the first frame of the image it is given.

by Lucas Cooper-Bey

About it

Some video models re-render the first frame, so handing the last frame straight across can show as a jump. portal-seams is a recipe and a shell script. Each clip ends in an even glow, the real last frame of the encoded clip goes to the next clip, and that clip opens from the same glow. seam-check.sh scores the seam with SSIM. The default pass line is 0.90. Limits: The seam check scores how alike two frames are with SSIM; it does not measure motion, or whether color and light carry across the cut. It needs ffmpeg with the ssim filter, ffprobe, and a POSIX shell. The gate cannot judge whether the shot is good, only whether the join is clean. A still image is judged by file extension, and a file named anything else is treated as a clip and must have a duration. When a still and a clip have different aspect ratios, the clip frame is stretched to the still's size. The glow wash constrains the art at every seam, so each scene must begin and end in the wash. Door 53 of 100 Doors.