passes tests by converting a series to a webm

master
Bel LaPointe 2024-09-18 11:26:41 -04:00
parent 38ea2b8128
commit eb1ea4adb7
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ func Run(ctx context.Context, args []string) error {
} else if seriesHasMovement {
outd := strings.ReplaceAll(cam, "record", "movement")
os.MkdirAll(outd, os.ModePerm)
cmd := exec.CommandContext(ctx, "ffmpeg",
cmd := exec.CommandContext(ctx,
"ffmpeg",
"-y",
"-framerate", "1",
"-pattern_type", "glob",