From 0c5824b6b1092fa80e63f7d713472632e18c7e19 Mon Sep 17 00:00:00 2001 From: Jonatan Nilsson Date: Tue, 12 Dec 2023 23:33:48 +0000 Subject: [PATCH] increase CRF more --- Script.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Script.ps1 b/Script.ps1 index f4c8ba1..fda08ad 100644 --- a/Script.ps1 +++ b/Script.ps1 @@ -22,7 +22,7 @@ $Paths | foreach { (Get-Content ..\template.vpy).replace('[INPUTFILE]', $Path.replace('\', '/')) | Set-Content -LiteralPath "$ScriptFile" - .\ffmpeg.exe -hide_banner -y -f vapoursynth -i "$ScriptFile" -i "$Path" -map 0:v:0 -map 1:a:0 -c:v libx265 -profile:v main10 -crf 17.6 -x265-params "me=star:subme=5:limit-modes=1:rect=1:amp=1:max-merge=5:no-early-skip=1:bframes=16:ref=6:rc-lookahead=60:limit-refs=0:rd=6:rdoq-level=2:psy-rdoq=1.00:sao=0" -c:a copy "$ArchiveFile" + .\ffmpeg.exe -hide_banner -y -f vapoursynth -i "$ScriptFile" -i "$Path" -map 0:v:0 -map 1:a:0 -c:v libx265 -profile:v main10 -crf 18.2 -x265-params "me=star:subme=5:limit-modes=1:rect=1:amp=1:max-merge=5:no-early-skip=1:bframes=16:ref=6:rc-lookahead=60:limit-refs=0:rd=6:rdoq-level=2:psy-rdoq=1.00:sao=0" -c:a copy "$ArchiveFile" Remove-Item $ScriptFile Remove-Item "$($Path).lwi"