|
|
|
@ -73,7 +73,7 @@ Write-Host "--------------------------------------------------------------------
|
|
|
|
|
foreach($video in $videos)
|
|
|
|
|
{
|
|
|
|
|
# Check filename for '-HVEC' string and skip filetester if true to make it run faster with lots of files already converted
|
|
|
|
|
if(! $video -match "-HVEC")
|
|
|
|
|
if(! $video -match "-HVEC")
|
|
|
|
|
{
|
|
|
|
|
$video = $video.Replace("`"", "")
|
|
|
|
|
$inputFile = $videoPath + $video
|
|
|
|
@ -84,7 +84,7 @@ foreach($video in $videos)
|
|
|
|
|
#echo $codec
|
|
|
|
|
|
|
|
|
|
} else {}
|
|
|
|
|
$codec = 'HVEC'
|
|
|
|
|
$codec = 'HVEC'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# If not already HEVC, convert video using NVEncC64:
|
|
|
|
|