WyattBlue / auto-editor

Auto-Editor: Efficient media analysis and rendering
https://auto-editor.com
The Unlicense
2.71k stars 402 forks source link

I can't get motion to work #428

Closed Sneffel closed 5 months ago

Sneffel commented 5 months ago

Bug description

I can't get the motion command to work

Error! motion: Expected threshold?, got 2

What's your platform?

Python Version: 3.12.1 64-bit
Platform: Windows 10 amd64
FFmpeg Version: N-110322-g0c25da5a28-g1440bf15e2+1
FFmpeg Path: C:\Users\Username\AppData\Local\Programs\Python\Python312\Lib\site-packages\ae_ffmpeg\Windows\ffmpeg.exe
Auto-Editor Version: 24w03a

What command did you use

@echo off
set "input_file=%~1"
"C:\Users\Username\AppData\Local\Programs\Python\Python312\Scripts\auto-editor.exe" "%input_file%"  --edit motion:threshold=2% --no-open 
pause

What properties does your input video have?

No response

Comments

No response

WyattBlue commented 5 months ago

2% is being interpreted in your shell as "2". You can use 0.02 instead.