The SKILL.md below is reproduced from
aiagentwithdhruv/skills (commit
2f4c62c) under the
MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2026 Dhruv Tomar (AIwithDhruv). License:
LICENSE. Only the instructions file is shown; see the original repository for any scripts.
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
| Argument |
Default |
Description |
--insert-at |
3 |
Where to insert (seconds) |
--duration |
5 |
Transition duration |
--teaser-start |
60 |
Where to sample content from |
--bg-image |
none |
Background image |
How It Works
- Extracts frames from later in video
- Creates 3D rotating animation via Remotion
- Splits video: intro, transition, main
- Concatenates with audio preserved
Dependencies
cd video_effects && npm install
Output
Video with swivel teaser inserted at specified position.
Schema
Inputs
| Name |
Type |
Required |
Description |
input_video |
file_path |
Yes |
Input video file |
insert_at |
integer |
No |
Where to insert teaser (seconds, default: 3) |
duration |
integer |
No |
Transition duration (seconds, default: 5) |
teaser_start |
integer |
No |
Where to sample content from (seconds, default: 60) |
bg_image |
file_path |
No |
Background image path |
Outputs
| Name |
Type |
Description |
output_video |
file_path |
Video with 3D transition inserted |
Composable With
Skills that chain well with this one: video-edit
Cost
Free locally (Remotion + FFmpeg)
View full license text (MIT)
MIT License
Copyright (c) 2026 Dhruv Tomar (AIwithDhruv)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.