Skip to content

Commit

Permalink
2023-11-12 06:09:36
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Nov 12, 2023
1 parent 95cab2c commit 39cea20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PkgStore.FFmpeg.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Compress-Video() {
#>

Param(
[Parameter(Mandatory)][Alias('F')][string[]]$P_Files,
[Parameter(Mandatory)][SupportsWildcards()][Alias('F')][string[]]$P_Files,
[Alias('CV')][string]$P_vCodec = 'libx265',
[Alias('CA')][string]$P_aCodec = 'copy',
[Alias('R')][int]$P_Framerate,
Expand All @@ -42,7 +42,7 @@ function Compress-Video() {
if ($P_Preset) { $Param += @('-preset', "${P_Preset}") }
if ($P_Framerate) { $Param += @('-r', "${P_Framerate}") }
$Param += @('-c:a', "${P_aCodec}")
$Param += @("$($(Join-Path $_.DirectoryName $_.BaseName).$P_Extension)")
$Param += @("$($(Join-Path $_.DirectoryName $_.BaseName)).$P_Extension")

# Running a app.
& "${AppExe}" $Param
Expand Down

0 comments on commit 39cea20

Please sign in to comment.