Compare commits

2 Commits
Author SHA256 Message Date
copecone 4097e14e7a Fix Intel GPU Regex Pattern 2026-08-31 12:43:58 +09:00
copecone 463d95d16f Add Debug Log When Skipping Encoder 2026-08-31 12:43:38 +09:00
2 changed files with 6 additions and 2 deletions

No files matched your search

+5 -1
View File
@@ -372,7 +372,11 @@ namespace ADOFAIRenderer.Util.FFmpeg
// Returns null if the encoder is not included in the build. // Returns null if the encoder is not included in the build.
// Reference: https://ffmpeg.org/doxygen/trunk/group__lavc__encoding.html // Reference: https://ffmpeg.org/doxygen/trunk/group__lavc__encoding.html
var pCodec = ffmpeg.avcodec_find_encoder_by_name(encoder.Name); var pCodec = ffmpeg.avcodec_find_encoder_by_name(encoder.Name);
if (pCodec == null) continue; if (pCodec == null)
{
Melon<RenderMod>.Logger.Warning($"Encoder '{encoder.Name}' not found in FFmpeg library. Testing next candidate codec.");
continue;
}
// avcodec_alloc_context3: Allocates a codec context for the selected encoder. // avcodec_alloc_context3: Allocates a codec context for the selected encoder.
// All encoding parameters such as resolution, framerate, quality, etc., are set on this context. // All encoding parameters such as resolution, framerate, quality, etc., are set on this context.
+1 -1
View File
@@ -20,7 +20,7 @@ namespace ADOFAIRenderer.Util
@"^NVIDIA GeForce [RG]TX [0-9]+(?> SUPER| Ti(?> SUPER)?)?(?> [0-9]+GB)?(?> Laptop GPU)?(?>/PCIe/SSE2)?$"; @"^NVIDIA GeForce [RG]TX [0-9]+(?> SUPER| Ti(?> SUPER)?)?(?> [0-9]+GB)?(?> Laptop GPU)?(?>/PCIe/SSE2)?$";
private const string IntelPattern = private const string IntelPattern =
@"^Intel(?>\(R\))? (?>U?HD Graphics [0-9]+$|Arc\(TM\) [A-C][0-9]+ Graphics)$"; @"^Intel(?>\(R\))? (?>U?HD Graphics [0-9]+|Arc\(TM\) [A-C][0-9]+ Graphics)(?> \([^)]+\))?$";
// ReSharper disable once InconsistentNaming // ReSharper disable once InconsistentNaming
private const string AMDPattern = private const string AMDPattern =