Remotion 之外的有用功能
Remotion API 的设计尽可能保持纯粹,每次只执行一件事。 这使得它们不仅在 Remotion 中易于使用,也可以在其他环境中使用。
🌐 Remotion APIs are designed to be as pure as possible, doing just one thing at a time.
This makes them easy to use not just for Remotion, but also in other environments.
加粗的 API 根据 Remotion 许可证 许可(公司需要购买许可证才能使用它们)。
未加粗的 API 根据 MIT 许可证许可。
remotion:
@remotion/renderer:
- [getCanExtractFramesFast\(\)](/docs/renderer/get-can-extract-frames-fast)
- [getVideoMetadata\(\)](/docs/renderer/get-video-metadata)
- [getSilentParts\(\)](/docs/renderer/get-silent-parts)
- [extractAudio\(\)](/docs/renderer/extract-audio)
@remotion/gif:
- [getGifDurationInSeconds\(\)](/docs/gif/get-gif-duration-in-seconds)
@remotion/media-utils:
- [audioBufferToDataUrl\(\)](/docs/audio-buffer-to-data-url)
- getAudioData()
- [获取音频:秒长\(\)](/docs/get-audio-duration-in-seconds)
- [getVideoMetadata\(\)](/docs/get-video-metadata)
- [getWaveformPortion\(\)](/docs/get-waveform-portion)
- [useAudioData\(\)](/docs/use-audio-data)
- visualizeAudio()
@remotion/preload:
- 预加载视频()
- [预载音频\(\)](/docs/preload/preload-audio)
- 预加载图片()
- 预加载字体()
- [resolveRedirect()](/docs/preload/resolve-redirect)
@remotion/paths:
- [getLength\(\)](/docs/paths/get-length)
- [cutPath\(\)](/docs/paths/cut-path)
- [getPointAtLength()] (/docs/paths/get-point-at-length)
- [getTangentAtLength\(\)](/docs/paths/get-tangent-at-length)
- getInstructionIndexAtLength()
- [逆向路径\(\)](/docs/paths/reverse-path)
- [normalizePath()](/docs/paths/normalize-path)
- interpolatePath()
- evolvePath()
- [resetPath\(\)](/docs/paths/reset-path)
- getSubpaths()
- [翻译Path\(\)](/docs/paths/translate-path)
- [曲速路径\(\)](/docs/paths/warp-path)
- [scalePath\(\)](/docs/paths/scale-path)
- [getBoundingBox\(\)](/docs/paths/get-bounding-box)
- [extendViewBox()](/docs/paths/extend-viewbox)
- [parsePath()](/docs/paths/parse-path)
- [serializeInstructions()] (/docs/paths/serialize-instructions)
- [reduceInstructions()](/docs/paths/reduce-instructions)
- [getParts()](/docs/paths/get-parts)
@remotion/noise:
- [噪音2D\(\)](/docs/noise/noise-2d)
- [noise3D\(\)](/docs/noise/noise-3d)
- noise4D()
@remotion/shapes:
<Rect /><Triangle /><Circle /><Ellipse /><Star /><Pie /><Polygon />- [makeRect\(\)](/docs/shapes/make-rect)
- [makeTriangle\(\)](/docs/shapes/make-triangle)
- [makeCircle\(\)](/docs/shapes/make-circle)
- [makeEllipse\(\)](/docs/shapes/make-ellipse)
- [makeStar\(\)](/docs/shapes/make-star)
- [makePie\(\)](/docs/shapes/make-pie)
- [makePolygon\(\)](/docs/shapes/make-polygon)
@remotion/layout-utils:
- [measureText\(\)](/docs/layout-utils/measure-text)
- [填充文本框\(\)](/docs/layout-utils/fill-text-box)
- [fitText\(\)](/docs/layout-utils/fit-text)
@remotion/install-whisper-cpp:
- [installWhisperCpp()] (/docs/install-whisper-cpp/install-whisper-cpp)
- transcribe()
- [convertToCaptions()] (/docs/install-whisper-cpp/convert-to-captions)
- toCaptions()
- [downloadWhisperModel()] (/docs/install-whisper-cpp/download-whisper-model)