diff --git a/config/processor_tools_v3.json b/config/processor_tools_v3.json index 6ede33a3..9cdd6cc3 100644 --- a/config/processor_tools_v3.json +++ b/config/processor_tools_v3.json @@ -26,11 +26,12 @@ "tool": "swift", "model": null, "priority": 0, - "enabled": true, + "enabled": false, "command": { "executable": "scripts/swift_processors/.build/release/swift_pose", "args": [ "{video_path}", + "--output", "{output_path}", "--uuid", "{file_uuid}" @@ -44,7 +45,7 @@ "tool": "python", "model": "mediapipe", "priority": 2, - "enabled": true, + "enabled": false, "command": { "executable": "/opt/homebrew/bin/python3.11", "script": "scripts/pose_processor_mediapipe.py", @@ -555,4 +556,4 @@ "priority_policy": "rust/swift CLI (priority 0) > python (priority 1+)", "last_updated": "2026-09-27" } -} \ No newline at end of file +} diff --git a/src/core/db/postgres_db.rs b/src/core/db/postgres_db.rs index a5ae1683..bb027fc5 100644 --- a/src/core/db/postgres_db.rs +++ b/src/core/db/postgres_db.rs @@ -2249,7 +2249,7 @@ impl PostgresDb { &format!( r#" INSERT INTO {} (uuid, video_path, status, video_id, processors, face_settings) - VALUES ($1, $2, 'pending', $3, ARRAY['cut','asr','face','ocr','asrx','pose'], $4::jsonb) + VALUES ($1, $2, 'pending', $3, ARRAY['cut','asr','face','ocr','asrx'], $4::jsonb) RETURNING id, uuid, video_path, status, current_processor, progress_total, progress_current, error_count, last_error, started_at::TEXT, updated_at::TEXT, created_at::TEXT, processors, completed_processors, failed_processors, video_id, face_settings::text "#, jobs_table diff --git a/src/core/processor/pose.rs b/src/core/processor/pose.rs index 13f2f891..6e46e22c 100644 --- a/src/core/processor/pose.rs +++ b/src/core/processor/pose.rs @@ -526,14 +526,7 @@ async fn run_pose_with_config( let args = if !tool.args.is_empty() { tracing::info!("[POSE] Using args from config: {:?}", tool.args); - tool.args - .iter() - .map(|a| { - a.replace("{video_path}", video_path) - .replace("{output_path}", output_path) - .replace("{file_uuid}", uuid.unwrap_or("")) - }) - .collect() + tool.args.clone() } else { let mut args = vec![video_path.to_string(), output_path.to_string()]; if let Some(u) = uuid { diff --git a/src/worker/job_worker.rs b/src/worker/job_worker.rs index 8a3a05e3..176caf40 100644 --- a/src/worker/job_worker.rs +++ b/src/worker/job_worker.rs @@ -584,7 +584,7 @@ impl JobWorker { job.id, file_uuid ); let all_procs: Vec<&str> = - vec!["cut", "asr", "asrx", "ocr", "face", "pose", "appearance"]; + vec!["cut", "asr", "asrx", "ocr", "face"]; let total: i64 = sqlx::query_scalar(&format!( "SELECT COALESCE(total_frames, 0) FROM {} WHERE file_uuid = $1", schema::table_name("videos")