typo fixing i guess

This commit is contained in:
Brad Ganley 2024-10-21 20:27:11 -05:00
parent ae193c0d4b
commit d59fb83a2b

View File

@ -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
Start-Process ffmpeg -ArgumentList $arguments