From d59fb83a2b57be1a6f2d525cc308df234cbe4c03 Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Mon, 21 Oct 2024 20:27:11 -0500 Subject: [PATCH] typo fixing i guess --- Windows DVR/WindowsDVR.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Windows DVR/WindowsDVR.ps1 b/Windows DVR/WindowsDVR.ps1 index fb57f3e..bc27bdb 100644 --- a/Windows DVR/WindowsDVR.ps1 +++ b/Windows DVR/WindowsDVR.ps1 @@ -20,7 +20,7 @@ $chunkSize = [System.Environment]::GetEnvironmentVariable("CHUNK_SIZE") $maxAge = [System.Environment]::GetEnvironmentVariable("MAX_AGE") # FFmpeg arguments for recording in 10-minute segments -$arguments = "-i $rtspUrl -c copy -f segment -segment_time $chunkSize -segment_format mp4 -strftime 1 $outputPath\%Y-%m-%d_%H-%M-%S.mp4" +$arguments = "-i $rtspUrl -c copy -f segment -segment_time $chunkSize -segment_format mp4 -strftime 1 " + $outputPath + "\%Y-%m-%d_%H-%M-%S.mp4" # Start FFmpeg in the background -Start-Process -FilePath $ffmpegPath -ArgumentList $arguments -WindowStyle Hidden \ No newline at end of file +Start-Process ffmpeg -ArgumentList $arguments \ No newline at end of file