add nvidia av1 encoder (#2469)

This commit is contained in:
Jason Dove
2025-09-30 11:43:12 -05:00
committed by GitHub
parent b46de50801
commit e3af0f0b69
13 changed files with 49 additions and 4 deletions
@@ -18,7 +18,8 @@ public class FFmpegProfileEditViewModelValidator : AbstractValidator<FFmpegProfi
private static readonly List<FFmpegProfileVideoFormat> NvencFormats =
[
FFmpegProfileVideoFormat.H264,
FFmpegProfileVideoFormat.Hevc
FFmpegProfileVideoFormat.Hevc,
FFmpegProfileVideoFormat.Av1
];
private static readonly List<FFmpegProfileVideoFormat> VaapiFormats =
@@ -77,7 +78,7 @@ public class FFmpegProfileEditViewModelValidator : AbstractValidator<FFmpegProfi
() =>
{
RuleFor(x => x.VideoFormat).Must(c => NvencFormats.Contains(c))
.WithMessage("NVENC supports formats (h264, hevc)");
.WithMessage("NVENC supports formats (h264, hevc, av1)");
});
When(