dsh-remotion 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +7 -5
- package/README.md +3 -3
- package/lib/index.d.ts +2 -2
- package/lib/index.js +15 -2
- package/package.json +1 -1
- package/skills/remotion-best-practices/SKILL.md +59 -0
- package/skills/remotion-best-practices/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-captions/SKILL.md +36 -0
- package/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/display-captions.md +9 -3
- package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/import-srt-captions.md +5 -1
- package/skills/remotion-best-practices/remotion-create/SKILL.md +68 -0
- package/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-create}/tailwind.md +1 -1
- package/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
- package/skills/remotion-best-practices/remotion-docs/SKILL.md +46 -0
- package/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-interactivity/SKILL.md +247 -0
- package/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/remotion-best-practices/remotion-markup/SKILL.md +365 -0
- package/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/audio.md +4 -2
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/calculate-metadata.md +4 -2
- package/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
- package/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
- package/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
- package/skills/{remotion/rules/videos.md → remotion-best-practices/remotion-markup/embedding-videos.md} +6 -4
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/ffmpeg.md +5 -1
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/gifs.md +55 -9
- package/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
- package/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
- package/skills/remotion-best-practices/remotion-markup/images.md +73 -0
- package/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
- package/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/lottie.md +4 -1
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/measuring-dom-nodes.md +5 -1
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/measuring-text.md +8 -2
- package/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/parameters.md +3 -1
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/sequencing.md +63 -12
- package/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
- package/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
- package/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/transitions.md +49 -7
- package/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/voiceover.md +2 -2
- package/skills/remotion-best-practices/remotion-multimedia/SKILL.md +20 -0
- package/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
- package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-audio-duration.md +1 -3
- package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-video-dimensions.md +1 -3
- package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-video-duration.md +1 -3
- package/skills/remotion-best-practices/remotion-render/SKILL.md +27 -0
- package/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-saas/SKILL.md +33 -0
- package/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
- package/skills/remotion-best-practices/remotion-saas/player.md +33 -0
- package/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
- package/skills/remotion-best-practices/remotion-studio/SKILL.md +24 -0
- package/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
- package/skills/remotion-best-practices/remotion-upgrade/SKILL.md +31 -0
- package/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
- package/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
- package/skills/remotion-captions/SKILL.md +36 -0
- package/skills/remotion-captions/agents/openai.yaml +7 -0
- package/skills/remotion-captions/assets/remotion-icon.png +0 -0
- package/skills/remotion-captions/display-captions.md +190 -0
- package/skills/remotion-captions/import-srt-captions.md +73 -0
- package/skills/remotion-captions/transcribe-captions.md +70 -0
- package/skills/remotion-create/SKILL.md +68 -0
- package/skills/remotion-create/agents/openai.yaml +7 -0
- package/skills/remotion-create/assets/remotion-icon.png +0 -0
- package/skills/remotion-create/tailwind.md +11 -0
- package/skills/remotion-create/video-layout.md +9 -0
- package/skills/remotion-docs/SKILL.md +46 -0
- package/skills/remotion-docs/agents/openai.yaml +7 -0
- package/skills/remotion-docs/assets/remotion-icon.png +0 -0
- package/skills/remotion-interactivity/SKILL.md +247 -0
- package/skills/remotion-interactivity/agents/openai.yaml +7 -0
- package/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
- package/skills/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/remotion-markup/3d.md +86 -0
- package/skills/remotion-markup/SKILL.md +365 -0
- package/skills/remotion-markup/agents/openai.yaml +7 -0
- package/skills/remotion-markup/assets/remotion-icon.png +0 -0
- package/skills/remotion-markup/audio-visualization.md +198 -0
- package/skills/remotion-markup/audio.md +171 -0
- package/skills/remotion-markup/calculate-metadata.md +136 -0
- package/skills/remotion-markup/compositions.md +117 -0
- package/skills/remotion-markup/cropping.md +34 -0
- package/skills/remotion-markup/effects.md +251 -0
- package/skills/remotion-markup/embedding-videos.md +173 -0
- package/skills/remotion-markup/ffmpeg.md +38 -0
- package/skills/remotion-markup/gifs.md +187 -0
- package/skills/remotion-markup/google-fonts.md +76 -0
- package/skills/remotion-markup/html-in-canvas.md +128 -0
- package/skills/remotion-markup/images.md +73 -0
- package/skills/remotion-markup/light-leaks.md +106 -0
- package/skills/remotion-markup/local-fonts.md +69 -0
- package/skills/remotion-markup/lottie.md +73 -0
- package/skills/remotion-markup/measuring-dom-nodes.md +38 -0
- package/skills/remotion-markup/measuring-text.md +146 -0
- package/skills/remotion-markup/multi-scene-video.md +81 -0
- package/skills/remotion-markup/parameters.md +111 -0
- package/skills/remotion-markup/remotion-maps/SKILL.md +36 -0
- package/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
- package/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
- package/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
- package/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
- package/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
- package/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
- package/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
- package/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
- package/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
- package/skills/remotion-markup/sequencing.md +169 -0
- package/skills/remotion-markup/sfx.md +51 -0
- package/skills/remotion-markup/silence-detection.md +71 -0
- package/skills/remotion-markup/text-highlights.md +56 -0
- package/skills/remotion-markup/timing.md +111 -0
- package/skills/remotion-markup/transitions.md +239 -0
- package/skills/remotion-markup/video-editing.md +90 -0
- package/skills/remotion-markup/voiceover.md +99 -0
- package/skills/remotion-multimedia/SKILL.md +20 -0
- package/skills/remotion-multimedia/agents/openai.yaml +7 -0
- package/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
- package/skills/remotion-multimedia/get-audio-duration.md +56 -0
- package/skills/remotion-multimedia/get-video-dimensions.md +66 -0
- package/skills/remotion-multimedia/get-video-duration.md +58 -0
- package/skills/remotion-render/SKILL.md +27 -0
- package/skills/remotion-render/agents/openai.yaml +7 -0
- package/skills/remotion-render/assets/remotion-icon.png +0 -0
- package/skills/remotion-render/transparent-videos.md +106 -0
- package/skills/remotion-saas/SKILL.md +33 -0
- package/skills/remotion-saas/agents/openai.yaml +7 -0
- package/skills/remotion-saas/assets/remotion-icon.png +0 -0
- package/skills/remotion-saas/framework.md +21 -0
- package/skills/remotion-saas/player.md +33 -0
- package/skills/remotion-saas/rendering.md +69 -0
- package/skills/remotion-studio/SKILL.md +24 -0
- package/skills/remotion-studio/agents/openai.yaml +7 -0
- package/skills/remotion-studio/assets/remotion-icon.png +0 -0
- package/skills/remotion-upgrade/SKILL.md +31 -0
- package/skills/remotion-upgrade/agents/openai.yaml +7 -0
- package/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
- package/skills/remotion/SKILL.md +0 -95
- package/skills/remotion/rules/animations.md +0 -31
- package/skills/remotion/rules/assets.md +0 -78
- package/skills/remotion/rules/can-decode.md +0 -81
- package/skills/remotion/rules/charts.md +0 -120
- package/skills/remotion/rules/compositions.md +0 -154
- package/skills/remotion/rules/extract-frames.md +0 -229
- package/skills/remotion/rules/fonts.md +0 -152
- package/skills/remotion/rules/images.md +0 -134
- package/skills/remotion/rules/light-leaks.md +0 -73
- package/skills/remotion/rules/maps.md +0 -412
- package/skills/remotion/rules/sfx.md +0 -30
- package/skills/remotion/rules/subtitles.md +0 -36
- package/skills/remotion/rules/text-animations.md +0 -20
- package/skills/remotion/rules/timing.md +0 -136
- package/skills/remotion/rules/trimming.md +0 -51
- /package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/transcribe-captions.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/3d.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/audio-visualization.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/silence-detection.md +0 -0
- /package/skills/{remotion/rules → remotion-best-practices/remotion-render}/transparent-videos.md +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: light-leaks
|
|
3
|
+
description: Light leak overlay effects for Remotion using lightLeak() from @remotion/effects.
|
|
4
|
+
metadata:
|
|
5
|
+
tags: light-leaks, overlays, effects, transitions
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Light Leaks
|
|
9
|
+
|
|
10
|
+
This only works from Remotion 4.0.500 and up. Use `npx remotion versions` to check your Remotion version and `npx remotion upgrade` to upgrade your Remotion version.
|
|
11
|
+
|
|
12
|
+
Apply `lightLeak()` from `@remotion/effects/light-leak` to a canvas-based component such as `<Solid>`. Animate `progress` from `0` to `1`; the light leak reveals during the first half and retracts during the second half.
|
|
13
|
+
|
|
14
|
+
Typically use it inside a `<TransitionSeries.Overlay>` to play over the cut point between two scenes. See the **transitions** rule for `<TransitionSeries>` and overlay usage.
|
|
15
|
+
|
|
16
|
+
## Prerequisites
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx remotion add @remotion/effects
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Light leak overlay component
|
|
23
|
+
|
|
24
|
+
Keep the `progress` calculation inline so it is editable in Remotion Studio:
|
|
25
|
+
|
|
26
|
+
```tsx
|
|
27
|
+
import {lightLeak} from '@remotion/effects/light-leak';
|
|
28
|
+
import {interpolate, Solid, useCurrentFrame, useVideoConfig} from 'remotion';
|
|
29
|
+
|
|
30
|
+
const LightLeakOverlay: React.FC<{
|
|
31
|
+
seed?: number;
|
|
32
|
+
hueShift?: number;
|
|
33
|
+
}> = ({seed = 0, hueShift = 0}) => {
|
|
34
|
+
const frame = useCurrentFrame();
|
|
35
|
+
const {durationInFrames, height, width} = useVideoConfig();
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<Solid
|
|
39
|
+
width={width}
|
|
40
|
+
height={height}
|
|
41
|
+
effects={[
|
|
42
|
+
lightLeak({
|
|
43
|
+
seed,
|
|
44
|
+
hueShift,
|
|
45
|
+
progress: interpolate(frame, [0, durationInFrames - 1], [0, 1], {
|
|
46
|
+
extrapolateLeft: 'clamp',
|
|
47
|
+
extrapolateRight: 'clamp',
|
|
48
|
+
}),
|
|
49
|
+
}),
|
|
50
|
+
]}
|
|
51
|
+
/>
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Basic usage with TransitionSeries
|
|
57
|
+
|
|
58
|
+
```tsx
|
|
59
|
+
import {TransitionSeries} from '@remotion/transitions';
|
|
60
|
+
|
|
61
|
+
<TransitionSeries>
|
|
62
|
+
<TransitionSeries.Sequence durationInFrames={60}>
|
|
63
|
+
<SceneA />
|
|
64
|
+
</TransitionSeries.Sequence>
|
|
65
|
+
<TransitionSeries.Overlay durationInFrames={30}>
|
|
66
|
+
<LightLeakOverlay />
|
|
67
|
+
</TransitionSeries.Overlay>
|
|
68
|
+
<TransitionSeries.Sequence durationInFrames={60}>
|
|
69
|
+
<SceneB />
|
|
70
|
+
</TransitionSeries.Sequence>
|
|
71
|
+
</TransitionSeries>;
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Options
|
|
75
|
+
|
|
76
|
+
- `progress?` — controls the evolve/retract phase from `0` to `1`. Effects do not animate on their own, so drive it with `useCurrentFrame()` and `interpolate()`. Default: `0.5`.
|
|
77
|
+
- `seed?` — determines the shape of the light leak pattern. Different seeds produce different patterns. Default: `0`.
|
|
78
|
+
- `hueShift?` — rotates the hue in degrees (`0`–`360`). Default: `0` (yellow-to-orange). `120` = green, `240` = blue.
|
|
79
|
+
- `disabled?` — skips the effect when `true`. Default: `false`.
|
|
80
|
+
|
|
81
|
+
## Customizing the look
|
|
82
|
+
|
|
83
|
+
```tsx
|
|
84
|
+
// Blue-tinted light leak with a different pattern
|
|
85
|
+
<LightLeakOverlay seed={5} hueShift={240} />;
|
|
86
|
+
|
|
87
|
+
// Green-tinted light leak
|
|
88
|
+
<LightLeakOverlay seed={2} hueShift={120} />;
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Standalone usage
|
|
92
|
+
|
|
93
|
+
The overlay component can also be used outside of `<TransitionSeries>` as a decorative layer in any composition:
|
|
94
|
+
|
|
95
|
+
```tsx
|
|
96
|
+
import {AbsoluteFill} from 'remotion';
|
|
97
|
+
|
|
98
|
+
const MyComp: React.FC = () => (
|
|
99
|
+
<AbsoluteFill>
|
|
100
|
+
<MyContent />
|
|
101
|
+
<LightLeakOverlay seed={3} />
|
|
102
|
+
</AbsoluteFill>
|
|
103
|
+
);
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
`lightLeak()` uses WebGL2. Enable WebGL during rendering with `Config.setChromiumOpenGlRenderer("angle")`.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
For local font files, use the `@remotion/fonts` package.
|
|
2
|
+
|
|
3
|
+
### Prerequisites
|
|
4
|
+
|
|
5
|
+
First, install @remotion/fonts:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx remotion add @remotion/fonts # If project uses npm
|
|
9
|
+
bunx remotion add @remotion/fonts # If project uses bun
|
|
10
|
+
yarn remotion add @remotion/fonts # If project uses yarn
|
|
11
|
+
pnpm exec remotion add @remotion/fonts # If project uses pnpm
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
### Loading a local font
|
|
15
|
+
|
|
16
|
+
Place your font file in the `public/` folder and use `loadFont()`:
|
|
17
|
+
|
|
18
|
+
```tsx
|
|
19
|
+
import { loadFont } from "@remotion/fonts";
|
|
20
|
+
import { staticFile } from "remotion";
|
|
21
|
+
|
|
22
|
+
await loadFont({
|
|
23
|
+
family: "MyFont",
|
|
24
|
+
url: staticFile("MyFont-Regular.woff2"),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export const MyComposition = () => {
|
|
28
|
+
return (
|
|
29
|
+
<div style={{ fontFamily: "MyFont" }}>
|
|
30
|
+
Hello World
|
|
31
|
+
</div>
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Loading multiple weights
|
|
37
|
+
|
|
38
|
+
Load each weight separately with the same family name:
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import { loadFont } from "@remotion/fonts";
|
|
42
|
+
import { staticFile } from "remotion";
|
|
43
|
+
|
|
44
|
+
await Promise.all([
|
|
45
|
+
loadFont({
|
|
46
|
+
family: "Inter",
|
|
47
|
+
url: staticFile("Inter-Regular.woff2"),
|
|
48
|
+
weight: "400",
|
|
49
|
+
}),
|
|
50
|
+
loadFont({
|
|
51
|
+
family: "Inter",
|
|
52
|
+
url: staticFile("Inter-Bold.woff2"),
|
|
53
|
+
weight: "700",
|
|
54
|
+
}),
|
|
55
|
+
]);
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Available options
|
|
59
|
+
|
|
60
|
+
```tsx
|
|
61
|
+
loadFont({
|
|
62
|
+
family: "MyFont", // Required: name to use in CSS
|
|
63
|
+
url: staticFile("font.woff2"), // Required: font file URL
|
|
64
|
+
format: "woff2", // Optional: auto-detected from extension
|
|
65
|
+
weight: "400", // Optional: font weight
|
|
66
|
+
style: "normal", // Optional: normal or italic
|
|
67
|
+
display: "block", // Optional: font-display behavior
|
|
68
|
+
});
|
|
69
|
+
```
|
|
@@ -65,6 +65,9 @@ Lottie supports the `style` prop to allow styles and animations:
|
|
|
65
65
|
|
|
66
66
|
```tsx
|
|
67
67
|
return (
|
|
68
|
-
<Lottie
|
|
68
|
+
<Lottie
|
|
69
|
+
animationData={animationData}
|
|
70
|
+
style={{ width: 400, height: 400 }}
|
|
71
|
+
/>
|
|
69
72
|
);
|
|
70
73
|
```
|
|
@@ -130,11 +130,17 @@ const { width } = measureText({
|
|
|
130
130
|
...fontStyle,
|
|
131
131
|
});
|
|
132
132
|
|
|
133
|
-
return
|
|
133
|
+
return (
|
|
134
|
+
<div style={fontStyle}>
|
|
135
|
+
Hello
|
|
136
|
+
</div>
|
|
137
|
+
);
|
|
134
138
|
```
|
|
135
139
|
|
|
136
140
|
**Avoid padding and border:** Use `outline` instead of `border` to prevent layout differences:
|
|
137
141
|
|
|
138
142
|
```tsx
|
|
139
|
-
<div style={{ outline: "2px solid red" }}>
|
|
143
|
+
<div style={{ outline: "2px solid red" }}>
|
|
144
|
+
Text
|
|
145
|
+
</div>
|
|
140
146
|
```
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
If the video being created is a multi-scene video, it should be structured in a special way.
|
|
2
|
+
Create a new folder and put each scene in a separate file.
|
|
3
|
+
|
|
4
|
+
```tsx
|
|
5
|
+
// SceneA.tsx
|
|
6
|
+
export const SceneA: React.FC = () => {
|
|
7
|
+
return // ...
|
|
8
|
+
}
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
// SceneB.tsx
|
|
13
|
+
export const SceneB: React.FC = () => {
|
|
14
|
+
return // ...
|
|
15
|
+
}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Install `@remotion/transitions` if not yet available:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
npx remotion add @remotion/transitions
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
// MyVideo.tsx
|
|
25
|
+
```tsx
|
|
26
|
+
import {TransitionSeries} from '@remotion/transitions';
|
|
27
|
+
|
|
28
|
+
const MyVideo: React.FC = () => {
|
|
29
|
+
return (
|
|
30
|
+
<TransitionSeries>
|
|
31
|
+
<TransitionSeries.Sequence durationInFrames={4 * fps} name="SceneA">
|
|
32
|
+
<SceneA />
|
|
33
|
+
</TransitionSeries.Sequence>
|
|
34
|
+
<TransitionSeries.Sequence durationInFrames={4 * fps} name="SceneB">
|
|
35
|
+
<SceneB />
|
|
36
|
+
</TransitionSeries.Sequence>
|
|
37
|
+
</TransitionSeries>
|
|
38
|
+
)
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
It could also make sense to register each scene individually in the root file so it can be edited there.
|
|
43
|
+
If a composition with the same component is registered, one can double click the sequence in the main composition and jump to that composition.
|
|
44
|
+
|
|
45
|
+
```tsx
|
|
46
|
+
export const Root: React.FC = () => {
|
|
47
|
+
return (
|
|
48
|
+
<>
|
|
49
|
+
<Folder id="MyVideo-Scenes">
|
|
50
|
+
<Composition
|
|
51
|
+
id="Scene1"
|
|
52
|
+
component={Scene1}
|
|
53
|
+
durationInFrames={5 * fps}
|
|
54
|
+
fps={30}
|
|
55
|
+
width={1920}
|
|
56
|
+
height={1080}
|
|
57
|
+
/>
|
|
58
|
+
<Composition
|
|
59
|
+
id="Scene2"
|
|
60
|
+
component={Scene2}
|
|
61
|
+
durationInFrames={5 * fps}
|
|
62
|
+
fps={30}
|
|
63
|
+
width={1920}
|
|
64
|
+
height={1080}
|
|
65
|
+
/>
|
|
66
|
+
</Folder>
|
|
67
|
+
<Composition
|
|
68
|
+
id="MyVideo"
|
|
69
|
+
component={MyVideo}
|
|
70
|
+
durationInFrames={10 * fps}
|
|
71
|
+
fps={30}
|
|
72
|
+
width={1920}
|
|
73
|
+
height={1080}
|
|
74
|
+
/>
|
|
75
|
+
</>
|
|
76
|
+
)
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
This allows the user to trim the start and end of the durations visually and add [transitions](./transitions.md) later.
|
|
81
|
+
Prefer inlining the `durationInFrames` values, because only then they are editable. It's okay if the value is redundant.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: remotion-maps
|
|
3
|
+
description: Remotion Map animation knowledge
|
|
4
|
+
version: 4.0.519
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Remotion Maps
|
|
8
|
+
|
|
9
|
+
Choose exactly one technique from the intended shot, then load only that technique's `TECHNIQUE.md`.
|
|
10
|
+
Every technique directory is self-contained and may be removed without breaking the others.
|
|
11
|
+
|
|
12
|
+
## [Static map](techniques/static-map/TECHNIQUE.md)
|
|
13
|
+
|
|
14
|
+
- Requires you grab a satellite image and mount it in a `<Img>` tag, and animate on top
|
|
15
|
+
|
|
16
|
+
## [Mapbox](techniques/mapbox/TECHNIQUE.md)
|
|
17
|
+
|
|
18
|
+
- Requires a Mapbox key
|
|
19
|
+
- Nicer styles by default
|
|
20
|
+
- Map can display a round globe when zoomed out
|
|
21
|
+
- Includes nice 3D buildings such as the Eiffel tower
|
|
22
|
+
|
|
23
|
+
## [MapLibre](techniques/maplibre/TECHNIQUE.md)
|
|
24
|
+
|
|
25
|
+
- Requires no API key, fully free
|
|
26
|
+
- Does not include 3D building
|
|
27
|
+
|
|
28
|
+
## [MapTiler](techniques/maptiler/TECHNIQUE.md)
|
|
29
|
+
|
|
30
|
+
- Uses MapTiler
|
|
31
|
+
- Annotations can be drawn on top of geographic features: borders, rivers, labels
|
|
32
|
+
|
|
33
|
+
## [CesiumJS](techniques/cesium/TECHNIQUE.md)
|
|
34
|
+
|
|
35
|
+
- Flythroughs through terrain and mountains
|
|
36
|
+
- "Flight simulator" perspective
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: '/remotion-maps'
|
|
3
|
+
short_description: 'Create animated maps in Remotion videos'
|
|
4
|
+
icon_small: './assets/remotion-icon.png'
|
|
5
|
+
icon_large: './assets/remotion-icon.png'
|
|
6
|
+
brand_color: '#0B84F3'
|
|
7
|
+
default_prompt: '$remotion-maps: Animate a dot from Zurich to New York.'
|
|
Binary file
|
package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# CesiumJS — 3D flyovers in Remotion
|
|
2
|
+
|
|
3
|
+
Instructions for achieving map animations with "flight-simulator" perspective in Remotion.
|
|
4
|
+
|
|
5
|
+
## Modes
|
|
6
|
+
|
|
7
|
+
| Mode | Data | Use for |
|
|
8
|
+
| ----------- | ----------------------------------------------------- | ------------------------------------------------------ |
|
|
9
|
+
| `landscape` | MapTiler `terrain-quantized-mesh-v2` + `satellite-v2` | Mountains, gorges, rivers, coastlines and rural routes |
|
|
10
|
+
| `city` | Google Photorealistic 3D Tiles | Cities, architecture and recognizable landmarks |
|
|
11
|
+
|
|
12
|
+
Do not use footprint extrusions for city flyovers. They produce crude building blocks rather than
|
|
13
|
+
textured architecture.
|
|
14
|
+
|
|
15
|
+
## Credentials
|
|
16
|
+
|
|
17
|
+
For `landscape`, set:
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
REMOTION_MAPTILER_KEY=...
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Create a MapTiler key at https://cloud.maptiler.com/account/keys/.
|
|
24
|
+
|
|
25
|
+
For `city`, set:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
REMOTION_GOOGLE_MAPS_API_KEY=...
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Create a billing-enabled Google Map Tiles API key by following
|
|
32
|
+
https://developers.google.com/maps/documentation/tile/get-api-key. Enable the **Map Tiles API** and
|
|
33
|
+
restrict the key to that API. Ensure its application restriction permits local headless Remotion
|
|
34
|
+
requests.
|
|
35
|
+
|
|
36
|
+
## Build the flight
|
|
37
|
+
|
|
38
|
+
1. Copy `assets/CesiumFlythrough.tsx`, a path JSON and `assets/example-Root.tsx` into the Remotion
|
|
39
|
+
project, or import the component directly.
|
|
40
|
+
2. Supply the camera route as `[longitude, latitude][]`. Use only meaningful control points; do not hand-author dozens of tiny corrections.
|
|
41
|
+
3. Leave `pathSmoothingPasses={3}` initially. The component applies repeated Chaikin corner cutting, turning straight-then-corner input into a continuous swerve. Increase to `4` for a softer route or reduce to `2` when the camera must follow a tight corridor.
|
|
42
|
+
4. Set absolute camera altitudes for the location. City cameras normally fly lower than landscape
|
|
43
|
+
cameras.
|
|
44
|
+
5. Render a middle-frame still before rendering the full video.
|
|
45
|
+
|
|
46
|
+
```tsx
|
|
47
|
+
<CesiumFlythrough
|
|
48
|
+
mode="city"
|
|
49
|
+
path={cameraPath}
|
|
50
|
+
pathSmoothingPasses={3}
|
|
51
|
+
altitudeStart={700}
|
|
52
|
+
altitudeEnd={500}
|
|
53
|
+
lookAheadKm={0.7}
|
|
54
|
+
travelKm={4.5}
|
|
55
|
+
/>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Camera behavior
|
|
59
|
+
|
|
60
|
+
Walk the smoothed curve by arc length for constant ground speed. Aim at a real point farther along
|
|
61
|
+
the curve rather than its next vertex. Derive roll from the change in look-ahead bearing so the
|
|
62
|
+
camera banks into a turn instead of twitching left and right.
|
|
63
|
+
|
|
64
|
+
For landscape routes, `scripts/prep-cesium-path.mjs` also clips, resamples, smooths and dampens a
|
|
65
|
+
GeoJSON centerline before the component applies its final curve smoothing.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## Mechanics
|
|
69
|
+
|
|
70
|
+
- Set `viewer.useDefaultRenderLoop = false`.
|
|
71
|
+
- Call `viewer.render()`, never `scene.render()`, while settling.
|
|
72
|
+
- Use `preserveDrawingBuffer: true`.
|
|
73
|
+
- Gate initialization and every frame with `delayRender`.
|
|
74
|
+
- Drive camera animation from `useCurrentFrame()`; do not use CSS transitions or browser-timed animation.
|
|
75
|
+
- Settle landscapes on `globe.tilesLoaded` and cities on `tileset.tilesLoaded`.
|
|
76
|
+
- Keep all provider attribution visible.
|
|
77
|
+
- Record the source and effective date of custom or disputed geography.
|
|
78
|
+
- Inspect rendered pixels, not only Studio playback, at every required aspect ratio.
|
|
79
|
+
- Read `references/3d-flyover-architecture.md` for camera math, `references/3d-data-sources.md` for provider details, and `references/3d-troubleshooting.md` for blank, coarse, unauthorized or timed-out renders.
|
|
80
|
+
|
|
81
|
+
## Files
|
|
82
|
+
|
|
83
|
+
- `assets/CesiumFlythrough.tsx` — reusable two-mode component.
|
|
84
|
+
- `assets/flight-path.ts` — dependency-free Chaikin route smoothing.
|
|
85
|
+
- `assets/example-Root.tsx` — landscape and city compositions.
|
|
86
|
+
- `assets/cesium-path.json` — sample landscape route.
|
|
87
|
+
- `assets/city-path.json` — sample city route.
|
|
88
|
+
- `assets/sample-river.geojson` — sample path-preparation input.
|
|
89
|
+
- `scripts/prep-cesium-path.mjs` — dependency-free landscape route preparation.
|