diff --git a/docs_v1.0/M4_workspace/2026-09-27_020mp4_stuck_analysis.md b/docs_v1.0/M4_workspace/2026-09-27_020mp4_stuck_analysis.md new file mode 100644 index 00000000..5c35477d --- /dev/null +++ b/docs_v1.0/M4_workspace/2026-09-27_020mp4_stuck_analysis.md @@ -0,0 +1,96 @@ +--- +title: 020.mp4 Pipeline Stuck Analysis +version: 1.0 +date: 2026-09-27 +author: OpenCode +status: identified +--- + +## Problem Summary + +Video 020.mp4 stuck at 35% progress for 8 hours. + +--- + +## Root Cause + +### ASR Language Detection Error + +**Status:** +```json +{ + "language": "nn", // Norwegian (WRONG) + "segments": [] // No transcription +} +``` + +**Impact:** +- Rule 1 cannot create sentence chunks +- Rule 1 cannot create relationship chunks +- TKG cannot build dialogue/event nodes + +--- + +## Dependency Chain Breakdown + +``` +ASR ✗ (language=nn, segments=0) + ↓ +Rule 1 ✗ (no ASR segments) + ↓ +TKG ✗ (no text data) + ↓ +Pipeline STUCK +``` + +--- + +## Log Evidence + +``` +Rule 1: no ASR segments or OCR for video b496a68800f90770aa7246c877f38985 +📝 Face dedup waiting: 15 missing files in trace sample +✅ Face dedup consistent: 0 clusters = 0 tracks +[Ingestion] all_ok=false (tkg=false, rule3=false, scene_vlm=false) +``` + +--- + +## Solution + +### Immediate Fix: Re-process ASR + +**Command:** +```bash +python3 scripts/asr_processor.py \ + /Users/accusys/momentry/var/sftpgo/data/demo/020.mp4 \ + /Users/accusys/momentry/output/b496a68800f90770aa7246c877f38985.asr.json \ + --try-common-languages \ + --fps 30 +``` + +**Expected:** +- Correct language detection (ja or zh) +- Generate transcription content +- Enable Rule 1 processing + +### Follow-up: Trigger Pipeline + +```bash +curl -X POST "http://localhost:3002/api/v1/files/process/b496a68800f90770aa7246c877f38985" +``` + +--- + +## Prevention + +1. Default enable `--try-common-languages` in ASR +2. Worker auto-retry with different parameters +3. Frontend show specific errors and fix suggestions + +--- + +## Related + +- `/Users/accusys/momentry_core/docs_v1.0/M4_workspace/2026-09-27_whisper_japanese_detection_failure_analysis.md` +- `/Users/accusys/momentry_core/docs_v1.0/M4_workspace/2026-09-27_asr_common_language_polling.md`