讀不到當0 + 起步門檻8秒 + 剪輯log + 轉場改1秒

- smooth_speeds 改為「讀不到(None/??)一律當 GPS=0」,不再前向補值。
  停車時 OCR 常讀不到或把 0 誤讀成小數字,當 0 後孤立誤讀會被中位數吃掉,
  根本解決假性『起步』把一整段紅燈切兩半的問題(實測 02 的 05:18~07:45 已合為一段)
- depart_seconds 5 -> 8(起步要持續超過 8 秒才算真起步)
- transition_duration 0.5 -> 1.0(淡出淡入改 1 秒)
- 新增剪輯紀錄 <檔名>_cut_log.txt: 列出每段被剪掉的時間範圍與原因、保留片段
- find_keep_intervals 的 removals 改帶原因(dict),process_one 同步更新
- 移除先前嘗試的 depart_min_speed(改用讀不到當0更乾淨)

本次調整由 Claude Opus 4.8 (1M context) 協助開發與處理。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-03 21:07:03 +08:00
parent 44b52a4cf9
commit 4c0f973841
3 changed files with 90 additions and 46 deletions
+2 -2
View File
@@ -11,14 +11,14 @@
"speed_threshold": 0,
"min_confidence": 0.5,
"smooth_window": 5,
"depart_seconds": 5.0,
"depart_seconds": 8.0,
"cut_before_stop": 2.0,
"keep_after_stop": 2.0,
"min_keep": 0.8,
"use_gpu": true,
"reencode": false,
"transition": true,
"transition_duration": 0.5,
"transition_duration": 1.0,
"video_transition": "fadeblack",
"video_quality": 30,
"volume_boost": true,