File tree 1 file changed +14
-13
lines changed 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 1
1
# !/usr/bin/env pwsh
2
2
# (c) MIT License, Tremeschin
3
3
#
4
- # This PowerShell script runs depthflow for all images on a "input " folder
5
- # in the current directory, and batch renders videos to "output "
6
-
7
- if ( -not ( Test-Path " output " )) {
8
- New-Item - ItemType Directory - Path " output "
9
- }
10
-
4
+ # This PowerShell script runs depthflow for all images on a "inputs " folder
5
+ # in the current directory, and batch renders videos to "outputs "
6
+ #
7
+ # Note: Save it as "run.ps1", right click and "Run with PowerShell" to execute
8
+ #
9
+ # Note: Grab a release and rename it to "depthflow.exe" on the same folder
10
+ #
11
11
Get-ChildItem - Path " inputs" | ForEach-Object {
12
12
$filename = $_.BaseName
13
13
14
14
# Change or add variations and parameters here!
15
- depthflow.exe input - i $_.FullName `
16
- main - o " ./output/$filename .mp4"
15
+ .\depthflow.exe input - i $_.FullName `
16
+ orbital `
17
+ main - o " ./outputs/$filename -orbital.mp4"
17
18
18
- # depthflow.exe input -i $_.FullName `
19
- # dolly --intensity 0.5 `
20
- # main -o "./outputs/$filename-orbital .mp4"
19
+ .\ depthflow.exe input - i $_.FullName `
20
+ horizontal -- intensity 0.6 `
21
+ main - o " ./outputs/$filename -horizontal .mp4" -- loop 3
21
22
}
22
23
23
- Write-Host " Press any key to continue..."
24
+ Write-Host " Press any key to continue..."
You can’t perform that action at this time.
0 commit comments