typo fixing i guess
This commit is contained in:
parent
ae193c0d4b
commit
d59fb83a2b
@ -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
|
Loading…
Reference in New Issue
Block a user