From 22f13eca4b428a4598b7fe23ba91b7e2dd343ea4 Mon Sep 17 00:00:00 2001 From: Accusys Date: Mon, 22 Jun 2026 13:25:16 +0800 Subject: [PATCH] fix(cut): change ffprobe output format to default=nk=0 - Problem: compact=p=0:nk=1 outputs pipe-delimited format without pts_time= - Fix: default=nk=0 outputs pts_time=XXX format that parser can match - Result: Charade scene detection from 1 scene -> 833 scenes (correct) --- src/core/processor/cut.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/processor/cut.rs b/src/core/processor/cut.rs index 890ca18..c6c471c 100644 --- a/src/core/processor/cut.rs +++ b/src/core/processor/cut.rs @@ -121,7 +121,7 @@ fn try_native_cut(video_path: &str) -> Result { "-show_entries", "frame=pts_time", "-of", - "compact=p=0:nk=1", + "default=nk=0", "-f", "lavfi", &format!("movie={},select='gt(scene\\,0.3)',showinfo", video_path),