Accusys 49b02c2d4f
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
fix: scene frame 越界導致 jpg 提取失敗、job 卡 ingestion
根因 (090.mp4):
- 影片 total_frames=300 (frame 0~299),但最後 moment 的 end=300 被選為
  scene_004 的 frame_number → 越界 → ffmpeg 提取失敗 → scene_004.jpg 不存在
- extract_scene_frames 跳過失敗的 frame,但 profile.scenes 仍保留 →
  scenes.json 有 5 scene 但只有 4 張 jpg → scene_vlm_done 判定 4≠5 → false
  → job 永遠卡在 ingestion 等待

修復:
1. generate_scene_profile: clamp 所有 frame_number 到 total_frames-1
2. process_scene_vlm: extract 後若 jpg 缺失,按 filename 比對移除對應 scene,
   確保 scenes.json 與磁碟 jpg 一致
驗證: 090.mp4 re-run → scenes.json 4 scene 全 completed, 4 張 jpg,
      ingestion all_ok=true, job completed
2026-11-19 21:53:56 +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%