跳到正文
cccskills
免费在 GitHub 公开

update-remotion-rust-ffmpeg

Update Remotion’s FFmpeg dependency to a published rust-ffmpeg commit, refresh the dependency lockfile, and rebuild compositor binaries for all supported platforms. Validate the changes and open a draft pull request with source revisions and build results.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Update Remotion's ffmpeg-next Git revision to a published rust-ffmpeg commit, refresh Cargo.lock, rebuild all supported compositor binaries, validate the monorepo, and open a draft pull request. Use for the final step of the rust-ffmpeg binary update chain.

查看安装方法

适用场景

  • Apply a published rust-ffmpeg revision to Remotion
  • Rebuild compositor binaries for all supported platforms
  • Verify Windows runtime library dependencies
  • Prepare a draft pull request with update and validation details

包含的文件(2)

  • SKILL.md4.0 KB
  • agents/openai.yaml269 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Update Remotion Rust FFmpeg

Require the full published rust-ffmpeg commit SHA from $update-rust-ffmpeg-sys.

Read ../pr/SKILL.md and ../pr-name/SKILL.md before committing or opening the pull request.

Prepare the worktree

Run from the dedicated Remotion worktree on codex/update-rust-ffmpeg. Never perform this work in the primary /Users/jonathanburger/remotion checkout.

Fetch origin. If the branch has no release commits yet, fast-forward it to origin/main. Do not rebase, reset, or overwrite unrelated work.

Allow this skill's own tracked .agents/skills/update-remotion-rust-ffmpeg files to exist unchanged. Stop on any pre-existing change that is not explicitly part of the requested pull request.

Verify that the supplied full SHA is reachable from remotion-dev/rust-ffmpeg's main branch. Read that commit's Cargo.toml and record the exact ffmpeg-sys-next revision for later lockfile verification.

Update Cargo and rebuild artifacts

Change only the ffmpeg-next.rev value in packages/compositor/Cargo.toml to the supplied full SHA. From packages/compositor, run:

cargo update -p ffmpeg-next

Verify in Cargo.lock that:

  • ffmpeg-next resolves to the supplied rust-ffmpeg SHA;
  • ffmpeg-sys-next resolves to the recorded rust-ffmpeg-sys SHA.

Install workspace dependencies without changing the lockfile:

bun install --frozen-lockfile

Install cross-compilation toolchains if packages/compositor/toolchains is absent:

cd packages/compositor
bun install-toolchain.ts
bun run build-all

The all-platform build must complete for Windows x64 GNU, macOS ARM64/x64, and Linux ARM64/x64 GNU/musl. On macOS, ensure an MSVCRT-targeting x86_64-w64-mingw32-gcc linker is available before running the build; do not use a UCRT-defaulting toolchain. It refreshes both the remotion executables and the FFmpeg shared libraries/CLI files in their platform packages. Do not substitute a native-only build.

From the repository root, run:

bun run build
bun run stylecheck
git diff --check

Inspect the diff. It may contain:

  • packages/compositor/Cargo.toml and packages/compositor/Cargo.lock;
  • rebuilt files under the six packages/compositor-{darwin,linux}-* platform packages and packages/compositor-win32-x64-msvc.

Stop if unrelated tracked files changed. Confirm that the Windows compositor package changed, including remotion.exe and the FFmpeg files from the updated archive. Run objdump -p packages/compositor-win32-x64-msvc/remotion.exe: require msvcrt.dll and reject api-ms-win-crt-* or ucrtbase.dll imports.

Commit, push, and open the PR

Before committing, check for an existing pull request for the current branch. If one exists, report it and stop instead of duplicating or rewriting it.

Stage only the two Cargo files, the seven rebuilt compositor platform packages, packages/compositor/build.ts, and any intentional update to this skill. Use this commit and PR title:

`@remotion/compositor`: Update rust-ffmpeg and rebuild binaries

Push once with git push -u origin HEAD. Never force-push. If the push is rejected, stop and report it.

Write a concise PR body to a temporary Markdown file. Include the full rust-ffmpeg and rust-ffmpeg-sys SHAs, the splitter source SHA if available in the handoff, the seven rebuilt targets, and validation results. Create a draft PR against main with gh pr create --draft --body-file; do not pass the body inline.

Finish the chain

Report the PR URL, branch, all three source commit SHAs available in the handoff, rebuilt targets, and validation results. There is no next repository; the multi-repository update chain is complete.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

add-bug

免费

Add a reported Remotion bug to the bugs API with its affected versions, a short title, and upgrade guidance. Follow the existing entry format and place the new record first so recent bugs appear at the top.

中文简介正在准备中。当前显示英语简介。

  • Adding a reported bug to the Remotion bugs API
  • Recording which versions a bug affects
  • Including upgrade guidance in a bug description
remotion-dev/remotion6.5万2026年10月18日 更新

Add a Remotion command-line or configuration option, or convert a hardcoded flag into a shared option definition. Connect parsing, configuration setters, help entries, and generated documentation so the option is consistently available and documented.

中文简介正在准备中。当前显示英语简介。

  • Add a new Remotion command-line flag
  • Convert a hardcoded flag into a shared option
  • Connect an option to Config setters
remotion-dev/remotion6.5万2026年10月18日 更新

Add a new effect to @remotion/effects, including its implementation, package entry points, documentation, interactive demo, and preview images. Follow the package conventions and verify the changes with tests, formatting checks, and builds.

中文简介正在准备中。当前显示英语简介。

  • Implementing a new effect for @remotion/effects
  • Registering effect imports and parameter types
  • Creating documentation and an interactive effect demo
remotion-dev/remotion6.5万2026年10月18日 更新

Add a person to the Remotion experts page by placing their portrait, entering their profile and contact links, and generating an expert card image. The instructions specify file locations, profile fields, and how to verify card generation.

中文简介正在准备中。当前显示英语简介。

  • Add a new person to the Remotion experts page
  • Register a portrait, specialties, and contact links
  • Generate an expert card image
remotion-dev/remotion6.5万2026年10月18日 更新

Create a new @remotion package within the Remotion monorepo, a repository containing multiple packages. Set up its files, register it across the project, and prepare documentation, usage examples, and build configuration.

中文简介正在准备中。当前显示英语简介。

  • Creating a new @remotion package
  • Registering a package across the monorepo
  • Adding documentation and usage examples
remotion-dev/remotion6.5万2026年10月18日 更新

add-sfx

免费

Add a new sound effect to @remotion/sfx, from registering the audio file to exporting its URL and documenting its use. The workflow covers playback examples, attribution, navigation entries, waveform generation, and the package build.

中文简介正在准备中。当前显示英语简介。

  • Add a sound effect to @remotion/sfx
  • Create documentation with playback and usage examples
  • Update sound effect navigation and waveform data
remotion-dev/remotion6.5万2026年10月18日 更新

查看 remotion-dev 的全部技能

报告此技能的问题