| 1 | if (!(Test-Path Variable:PSScriptRoot)) { $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent }
|
|---|
| 2 | $path = join-path "$psscriptroot" "..\apps\ffmpeg\current\bin\ffmpeg.exe"
|
|---|
| 3 | if($myinvocation.expectingInput) { $input | & $path @args } else { & $path @args }
|
|---|