f7796e5f43
實現: - rust_cut: 使用 ffmpeg 進行場景檢測 - CLI 參數: video_path, --output, --uuid, --min-scene-duration - 輸出格式: JSON (scene_count, scenes, video_info) 算法: - 使用 ffmpeg select filter 檢測場景切換 - 過濾短場景 (min_scene_duration) - 如果沒有檢測到場景,創建一個完整場景 測試: - ✅ 編譯成功 - ✅ 執行成功 - ✅ 輸出正確 示例輸出: { "scene_count": 1, "scenes": [{ "scene_id": 0, "start_frame": 0, "end_frame": 527, "duration": 8.8 }], "video_info": { "duration": 8.8, "fps": 59.9, "frame_count": 527 } }