Change NCNN_GPU_ID=-1 handling in Clone-Image.ps1 to omit upscayl-bin -g flag instead of passing -1 (which the tested build rejects), update documentation across Clone-Image.md, SKILL.md, README.md and index.md to clarify -1 means CPU for rife-ncnn-vulkan but default device for upscayl-bin, wrap Get-SrtContent calls in Create-FullSubtitle.ps1 with @() array operator to ensure Count property exists when parsing returns single entry, fix Get-FramesRange.ps1 output directory resolution to use Resolve-Path before
This commit is contained in:
1 parent
de238fb9c3
commit
fcc208e351
7 files changed
+13
-12
No files matched your search
+1
-1
@@ -112,7 +112,7 @@ $frameCount = $endFrame - $startFrame + 1
|
||||
|
||||
if ([string]::IsNullOrWhiteSpace($Images)) {
|
||||
$videoBaseName = [System.IO.Path]::GetFileNameWithoutExtension($Video)
|
||||
$outputDir = Split-Path -Parent $VideoPath
|
||||
$outputDir = Split-Path -Parent (Resolve-Path -LiteralPath $VideoPath).Path
|
||||
$Images = Join-Path $outputDir 'Frames' ($videoBaseName + '_%04d.png')
|
||||
} else {
|
||||
$outputPattern = $Images
|
||||
|
||||
Reference in new issue
Block a user