mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-09-02 12:12:13 +02:00
Lossless h265 is now actually lossless
This commit is contained in:
@@ -63,7 +63,8 @@ namespace Flowframes.Media
|
||||
if (codec == Codec.H265)
|
||||
{
|
||||
string preset = Config.Get("ffEncPreset").ToLower().Remove(" ");
|
||||
args += $"-crf {Config.GetInt("h265Crf")} -preset {preset} -pix_fmt yuv420p";
|
||||
int crf = Config.GetInt("h265Crf");
|
||||
args += $"-crf {(crf > 0 ? crf.ToString() : "-x265-params lossless=1")} -preset {preset} -pix_fmt yuv420p";
|
||||
}
|
||||
|
||||
if (codec == Codec.H264NVENC)
|
||||
|
||||
Reference in New Issue
Block a user