-
-
Notifications
You must be signed in to change notification settings - Fork 765
Open
Description
I have a powershell script to generate a mp4 video using gource. The script looks like this:
$Command = @"
`$CombinedLog ``
| gource ``
--load-config ./gource.config ``
--path - ``
--log-format custom ``
--seconds-per-day $SecondsPerDay ``
--output-ppm-stream - ``
| ffmpeg ``
-i - ``
-y ``
-vcodec ppm ``
-vcodec libx264 ``
-preset veryfast ``
-pix_fmt yuv420p ``
-crf 1 ``
-filter:v "setpts=PTS/2" ``
-threads 0 ``
-bf 0 ``
$VideoOutput
"@
# Execute the command
if ($PSCmdlet.ShouldProcess($CombinedLog, "$Command")){
Invoke-Expression $Command
}
Overall the script does what it should. The issue I have is that at the end of the $CombinedLog, the gource simulation does not terminate.
The reason I use a $CombinedLog is that I am merging multiple repositories.
Is there any way to tell gource that the stream is finished?
The stream currently consists of concatenated newline-separated lines in a single string.
Metadata
Metadata
Assignees
Labels
No labels