Linux の差分
エンジン作成の例:
ProcessI420InPlace、TRTC Buffer、Agora IVideoFrameObserver、LiveKit カスタム動画ソース)。
ベンダー早見
トラブルシューティング
関連ドキュメント
- Windows · サードパーティ連携(主ドキュメント)
- 美顔の実装
- ベストプラクティス
- API リファレンス
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Linux 上で Facebetter 美顔を TRTC、Agora、LiveKit などのサードパーティ動画パイプラインに接続します
Third-party SDK (preprocess callback)
I420 planes
↓
BeautyEffectEngine (external_context = false)
CreateWithI420 → ProcessImage → write back to buffer
EngineConfig cfg;
cfg.app_id = "your_app_id";
cfg.app_key = "your_app_key";
cfg.resource_path = "/opt/yourapp/resource/resource.fbd";
cfg.external_context = false;
auto engine = BeautyEffectEngine::Create(cfg);
ProcessI420InPlace、TRTC Buffer、Agora IVideoFrameObserver、LiveKit カスタム動画ソース)。
| ベンダー | Linux の注意 |
|---|---|
| TRTC | PC は Buffer / I420 のみ。Android Texture 経路を流用しない |
| Agora | C++ registerVideoFrameObserver、ReadWrite + I420 プレーナーのその場処理 |
| LiveKit | カスタム動画ソースでフレームを送出。ヘッドレスサーバーではキャプチャと GL/ソフトウェア経路を確認 |
| 症状 | 確認 |
|---|---|
.so が見つからない | LD_LIBRARY_PATH、rpath、実行ファイルと同じアーキテクチャか |
Create 失敗 | .fbd パス、認証、ヘッドレス環境の GL / OSMesa |
| その他 | Windows の切り分け と同じ |
