mcpField
P
pan-3d-transition

pan-3d-transition

github.com/aiagentwithdhruvCreative & media2044 installsUpdated 15w ago
Repository

About pan-3d-transition

A skill for adding a 3D swivel transition to videos with Remotion, aimed at video-editing workflows. Its script samples later footage for a teaser, inserts it at a chosen point, and preserves audio when joining the segments.

Key features

  1. 01Insert a 3D swivel teaser transition
  2. 02Sample frames from later footage
  3. 03Set insertion point and duration
  4. 04Optionally specify a background image
  5. 05Concatenate segments while preserving audio

Use cases

  1. 01Add a teaser near the start of a video
  2. 02Apply a swivel transition between video sections
  3. 03Choose when teaser footage is sampled

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aiagentwithdhruv/skills --skill pan-3d-transition

After installing, type/pan-3d-transitionin Claude Code to confirm it loaded.

Bundled filesscripts/insert_3d_transition.py

Details

From the project README

3D Pan Transition

Goal

Create 3D rotating "swivel" transition effects for videos using Remotion rendering.

Scripts

  • ./scripts/insert_3d_transition.py - Insert transition into video

Usage

python3 ./scripts/insert_3d_transition.py input.mp4 output.mp4 \
  --insert-at 3 \
  --duration 5 \
  --teaser-start 60 \
  --bg-image .tmp/bg.png

Parameters

ArgumentDefaultDescription
--insert-at3Where to insert (seconds)
--duration5Transition duration
--teaser-start60Where to sample content from
--bg-imagenoneBackground image

How It Works

  1. Extracts frames from later in video
  2. Creates 3D rotating animation via Remotion
  3. Splits video: intro, transition, main
  4. Concatenates with audio preserved

Dependencies

cd video_effects && npm install

Output

Video with swivel teaser inserted at specified position.


Schema

Inputs
NameTypeRequiredDescription
input_videofile_pathYesInput video file
insert_atintegerNoWhere to insert teaser (seconds, default: 3)
durationintegerNoTransition duration (seconds, default: 5)
teaser_startintegerNoWhere to sample content from (seconds, default: 60)
bg_imagefile_pathNoBackground image path
Outputs
NameTypeDescription
output_videofile_pathVideo with 3D transition inserted
Composable With

Skills that chain well with this one: video-edit

Cost

Free locally (Remotion + FFmpeg)

Comments

Markdown supported