Accusys a6a78cca8b
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
feat: 三層階梯式 frame 取樣 + 純 Rust 運鏡分析 + pHash 去重
Phase correlation 運鏡分析 (camera_motion.rs):
- ffmpeg pipe 抽幀 → 灰階 256x256 → rustfft 相位相關估 pan/tilt
- 徑向功率譜估 zoom、極座標相位相關估 rotation
- 中位數去噪 + none/low/high 分級
- samples_for_level: none=1, low=2, high=4

pHash 去重 (frame_dedup.rs):
- 64-bit pHash (DCT 低頻) + hamming<=8 + 時間間隔去重
- scene extract 後對 jpg 去重: 387 → 317 (移除 70)

三層取樣 (scene_vlm.rs process_interval):
- L0 moment=10s 保底 (SCENE_VLM_MOMENT_SEC)
- L1 每個 cut 保底 1 張 (不設上限)
- L2 運鏡依 level 增採, 運動路徑均勻取樣 + blurdetect

資料結構:
- SceneFrame.camera_motion + selection_reason CameraMotion*/CutBaseline
- VLM truncated (finish_reason=length) salvage 部分 JSON summary

其他:
- face dedup 改用 per-library output dir
- max_tokens 2048→4096
- config 5 項 (moment_sec/camera_motion_enabled/phash_hamming/time_gap/k)
- Cargo.toml +image/ndarray/rustfft

驗證: 17e230cc force re-run → Selected 387 frames, CAM-MOTION 分析執行,
pHash dedup 387→317, RESUME force=true carried over 0
2026-11-19 18:24:41 +08:00
2026-10-05 00:05:41 +08:00

momentry_core

Digital asset management system with video analysis and RAG - Production version with API Key authentication


⚠️ 重要法律声明

MarkBase Queue Protocol 是完全独立实现的队列协议标准。

  • ❌ 不兼容 Apache Kafka 协议或 API
  • ❌ 未使用 Apache Kafka 源代码
  • ✅ 独立实现,借鉴公开技术概念
  • ✅ 独立协议,HTTP/REST + JSON

详细声明见: docs_v1.0/LEGAL/MARKBASE_QUEUE_DISCLAIMER.md


致谢

本项目的 VLM 队列系统设计借鉴了 Apache Kafka 的优秀设计理念,包括:

  • 追加写入日志(Append-Only Log)
  • Offset 追踪机制
  • 分区和消费者组概念

感谢 Apache Kafka 社区的开源贡献。

声明: Momentry Core 是完全独立实现的系统,未使用 Apache Kafka 的任何代码。


许可证

本项目采用专有许可证。未经授权不得使用、修改或分发。

S
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Readme 1.6 GiB
2026-03-25 15:49:30 +08:00
Languages
PLpgSQL 30.5%
Python 27.4%
HTML 20.4%
Rust 13.3%
Shell 3.1%
Other 5.2%