diff --git a/revid/revid.go b/revid/revid.go index b7923b9f..3cd715d9 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -244,12 +244,10 @@ func input(input string, output string) { br = bufio.NewReader(stdout) }else{ - - if *flags&filterMotionDetect != 0{ args := []string{ "-i", input, - "-vf", "\"select=gt(scene\\,0.0001),setpts=N/(25*TB),fps=fps=25\"", + "-vf", "select=gt(scene\\,0.0025),setpts=N/(FRAME_RATE*TB)", "-f", "mpegts", "-", } @@ -265,8 +263,8 @@ func input(input string, output string) { inputErrChan <- err return } - br = bufio.NewReader(stdout) + }else{ args := []string{ @@ -317,7 +315,6 @@ func input(input string, output string) { } } - clipStore(br,input) }