fixing 10bit for cpu encoding

This commit is contained in:
John Andrews
2022-06-17 00:02:53 +12:00
parent 8ee2e3fdfd
commit 53103874fc

View File

@@ -147,6 +147,10 @@ public class FfmpegBuilderVideoEncode:FfmpegBuilderNode
"-preset", "slow",
"-crf", Quality.ToString()
});
bit10Filters = new[]
{
"-pix_fmt:v:{index}", "yuv420p10le", "-profile:v:{index}", "main10"
};
}
private void H26x_Nvidia(FfmpegVideoStream stream, bool h265)