c1229134929588c3af8ff968023a859569110b45
性能對比測試: - Rust (ffmpeg): 0.81s - Swift (Apple Native): 6.18s - 差異: ffmpeg 7.65x 更快 原因分析: 1. ffmpeg 高度優化 (C + SIMD) 2. Swift 原型開銷大: - CVPixelBuffer 創建 - Core Image 處理 - CGImage 創建 - CPU-GPU 傳輸 優化方向: 1. Phase 1: 快速優化 (3x, 1天) - 減少幀處理頻率 - 直接訪問像素 - 跳過 Core Image 2. Phase 2: Vision + ANE (5x, 2-3天) - 使用 Vision Framework - ANE 加速 3. Phase 3: Metal GPU (10x, 1周) - Metal shader - GPU 並行 建議: - 短期: 繼續使用 ffmpeg (性能優) - 中期: 優化 Apple Native - 長期: 根據需求選擇 結論: 可行但需優化
momentry_core
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Releases
2
v0.9.20260325_151200
Latest
Languages
PLpgSQL
30.5%
Python
27.4%
HTML
20.4%
Rust
13.3%
Shell
3.1%
Other
5.2%