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)
This commit is contained in:
@@ -121,7 +121,7 @@ fn try_native_cut(video_path: &str) -> Result<CutResult> {
|
|||||||
"-show_entries",
|
"-show_entries",
|
||||||
"frame=pts_time",
|
"frame=pts_time",
|
||||||
"-of",
|
"-of",
|
||||||
"compact=p=0:nk=1",
|
"default=nk=0",
|
||||||
"-f",
|
"-f",
|
||||||
"lavfi",
|
"lavfi",
|
||||||
&format!("movie={},select='gt(scene\\,0.3)',showinfo", video_path),
|
&format!("movie={},select='gt(scene\\,0.3)',showinfo", video_path),
|
||||||
|
|||||||
Reference in New Issue
Block a user