发现优质的 AI Agent 技能
聚合 Claude Skills、LangChain、AutoGPT 等优质资源,助力开发者快速构建智能应用
Getting audio duration with Mediabunny
Mediabunny can extract the duration of an audio file. It works in browser, Node.js, and Bun environments.
Using fonts in Remotion
来自 sickn33/antigravity-awesome-skills 技能
Extracting frames from videos
Use Mediabunny to extract frames from videos at specific timestamps. This is useful for generating thumbnails, filmstrips, or processing individual frames.
Displaying captions in Remotion
This guide explains how to display captions in Remotion, assuming you already have captions in the `Caption` format.
compositions
来自 sickn33/antigravity-awesome-skills 技能
Charts in Remotion
You can create bar charts in Remotion by using regular React code - HTML and SVG is allowed, as well as D3.js.
Checking if a video can be decoded
Use Mediabunny to check if a video can be decoded by the browser before attempting to play it.
Using calculateMetadata
Use `calculateMetadata` on a `<Composition>` to dynamically set duration, dimensions, and transform props before rendering.
Using audio in Remotion
来自 sickn33/antigravity-awesome-skills 技能
Importing assets in Remotion
来自 sickn33/antigravity-awesome-skills 技能
animations
来自 sickn33/antigravity-awesome-skills 技能
Using Three.js and React Three Fiber in Remotion
Follow React Three Fiber and Three.js best practices. Only the following Remotion-specific rules need to be followed: