概要
OpenCut は CapCut のオープンソース代替ソフトウェアであり、Web、デスクトップ、モバイルを横断する動画編集機能を提供します。現在、プラグインファーストアーキテクチャと Rust コアによる書き換えが進行中で、モダンな編集体験を実現します。MIT ライセンスを採用しています。
README プレビュー
\n \n \n \n \n \n OpenCut\n A free and open source video editor for web, desktop, and mobile.\n \n \n\n\n[](https://discord.gg/zmR9N35cjK)\n[](https://x.com/opencutapp)\n[](LICENSE)\n\n## Status\n\n**OpenCut is being rewritten from the ground up.** What's coming:\n\n- An Editor API\n- First-class third party plugins (made possible by a plugin-first architecture)\n- Desktop, mobile, and browser from one codebase (Rust core)\n- MCP server (for AI agents)\n- Headless mode (automation, batch rendering)\n- A scripting tab directly in the editor\n\nYou can still find the previous version at [opencut-app/opencut-classic](https://github.com/opencut-app/opencut-classic), which is the one to reach for today. [opencut.app](https://opencut.app) still runs the classic version; the rewrite will live at [new.opencut.app](https://new.opencut.app) until it's ready to take over.\n\n## Development\n\nInstall [proto](https://moonrepo.dev/proto) if you haven't already:\n\n```sh\nbash <(curl -fsSL https://moonrepo.dev/install/proto.sh)\n```\n\nFrom the repo root:\n\n```sh\nproto use # installs bun + moon at the versions pinned in .prototools\nbun install\n```\n\n```sh\nmoon run web:dev # localhost:5173\nmoon run api:dev # localhost:8787\n```\n\n## Contributing\n\nWe're not set up to take outside contributions yet while the architecture is being designed. If you want to follow along, ask questions, or just hang out, [join the Discord](https://discord.gg/zmR9N35cjK) or [open an issue](https://github.com/opencut-app/opencut/issues).\n\n## Sponsors\n\nOpenCut is supported by companies that believe in open source creator tools.\n\n- [**fal.ai**](https://fal.ai?utm_source=github-opencut&utm_campaign=oss): Generative image, video, and audio models all in one place.\n\nWant your logo here? Reach out at [sponsor@opencut.app](mailto:sponsor@opencut.app).\n\n## License\n\n[MIT](LICENSE)\n
FAQ (4)
トラブル対応Rust で Cargo のエラー「unknown edition 2024」を修正する方法
Cargo.toml を編集し、サポートされていない edition = "2024" を最新の安定版エディションである "2021" に置き換えてください:
[workspace.package]
edition = "2021"
その後、次のコマンドでビルドを確認してください:
cargo check
Rust が現在サポートしているエディションは 2015、2018、2021 です。2024 は正式にリリースされた有効なエディションではありません。
トラブル対応headless CI でパニックする Rust デスクトップアプリと、Cargo の「unknown edition 2024」ビルドエラーを修正するにはどうすればよいですか?
まず Cargo のエディションを修正してください。Cargo.toml で edition = "2024" をサポートされているエディションに置き換えてください:
edition = "2021"
次に再ビルドしてください:bashcargo clean
cargo build
ウィンドウ作成時のパニックを防ぐために、`.expect("failed to open the main window")` を適切なエラー伝播に置き換えてください:rustfn main() -> Result<(), Box<dyn std::error::Error>> {
cx.open_window(...)?;
Ok(())
}
GUI を CI で実行する必要がある場合は、仮想ディスプレイを用意してください。例えば Ubuntu/Debian の場合:bashsudo apt-get install -y xvfb
xvfb-run -a cargo run
```
あるいは、ヘッドレス環境で実行する場合はウィンドウ作成をスキップしてください。これにより、X11/Wayland が存在しない場合、X 転送のない SSH セッション、GPU 初期化の失敗を、パニックを起こさずに処理できます。
トラブル対応ChromeOSで音声付きのMP4をエクスポートする際に発生する「mp4a.40.2, 192000 bps, 2 channels, 44100 Hz encoder configuration is not supported」エラーを解決するにはどうすればよいですか?
最新リリースに更新してください。この修正では、MP4エクスポートに対して実行時のオーディオエンコーダー機能ネゴシエーションが追加されました。ハードコードされたAAC設定(mp4a.40.2、192 kbps、ステレオ、44.1 kHz)を常に使用する代わりに、アプリはブラウザ/WebCodecsのサポートを検出し、互換性のあるオーディオ設定を選択します。すぐに更新できない場合は、エクスポートのオーディオコーデックを変更するか、オーディオのビットレート/チャンネル/サンプルレート設定を下げることで回避し、エクスポートを再試行してください。
トラブル対応OpenCutの「Start Contributing」ボタンがGitHubの404ページを開くのはなぜですか?
このボタンは壊れたハードコードされたパスを使用しています: https://github.com/OpenCut-app/OpenCut/blob/main/.github/CONTRIBUTING.md。ボタンの href をコントリビューションガイドの実際の場所に更新してください。ファイルがリポジトリのルートに保存されている場合は、https://github.com/OpenCut-app/OpenCut/blob/main/CONTRIBUTING.md を使用してください。あるいは、.github/ の下に CONTRIBUTING.md を作成して、既存の URL が有効になるようにしてください。grep -R ".github/CONTRIBUTING" src で参照を見つけ、誤った URL を置き換えてから、サイトを再ビルドして再デプロイしてください。一時的な回避策として、https://github.com/OpenCut-app/OpenCut に直接アクセスし、リポジトリからコントリビューションガイドを開いてください。