nVidia wird nicht für H.265-Kodierung verwendet

MCEBuddy läuft einwandfrei. Auf eine neue nVidia 2060 umgestiegen. Keine Hardware-Kodierung. Was übersehe ich?

INFORMATION> 2020-10-28T23:23:08 MCEBuddy.Transcode.Convert → Converting with Handbrake, type: HardwareOnly, gpu: {
“hardwareBrand”: “NVidia”, “codecType”: “Encoder”,
“hardwareCodecPresent”: true, “h265Codec”: true, “h264Codec”: true
}
INFORMATION> 2020-10-28T23:23:08 MCEBuddy.Transcode.ConvertWithHandbrake
→ Setting up General conversion parameters : --decomb --loose-anamorphic --verbose=2
→ Setting up PreDRC
→ Setting up input file name parameters
→ Setting up video conversion parameters : --start-at duration:0 -e x265 --encoder-preset medium -q 26
→ Is preset video size → False
→ Setting up crop parameters
→ Handbrake auto video cropping
→ Checking if video resizing required
→ Setting up aspect ratio if required
→ Setting up bitrate and quality parameters
→ Setting up audio conversion parameters : -E ffac3 -R auto -B 256 -D 0 -a 1,2,3,4,5
→ Selecting Audio Track : -1
→ Letting handbrake choose best audio track
WARNING> 2020-10-28T23:23:08 MCEBuddy.Transcode.ConvertWithHandbrake
→ Cannot get Audio and Video stream details, continuing with default Audio Language selection
INFORMATION> 2020-10-28T23:23:08 MCEBuddy.Transcode.ConvertWithHandbrake
→ Setting up volume adjustment : 0.4dB
→ Setting up PostDRC
→ Setting up Audio channels
→ Requested to limit Audio Channels to 2
→ Setting up Output filename
→ Replacing user specified parameters
INFORMATION> 2020-10-28T23:23:08 MCEBuddy.Transcode.ConvertWithHandbrake
→ Converting the video - Main conversion
ERROR> 2020-10-28T23:28:10 MCEBuddy.AppWrapper.Handbrake
→ Hardware encoding appears to have hung, no progress in the last 300 seconds.
This is likely due to an unstable Graphics Display Driver. Try updating or using a stable Graphics Display Driver.
Terminating process.
ERROR> → Unrecoverable error encountered. Process likely hung, killing it
ERROR> 2020-10-28T23:28:10 [repeat]
ERROR> 2020-10-28T23:28:11 [repeat]
ERROR> 2020-10-28T23:28:11 [repeat]
ERROR> 2020-10-28T23:28:11 [repeat]
ERROR> 2020-10-28T23:28:11 [repeat]
ERROR> 2020-10-28T23:28:12 [repeat]
ERROR> 2020-10-28T23:28:12 [repeat]
ERROR> 2020-10-28T23:28:12 [repeat]
ERROR> 2020-10-28T23:28:12 [repeat]
ERROR> → Process hung, killing process
ERROR> 2020-10-28T23:28:12 MCEBuddy.AppWrapper.Handbrake
→ Hardware encoding appears to have hung, no progress in the last 300 seconds.
This is likely due to an unstable Graphics Display Driver. Try updating or using a stable Graphics Display Driver.
Terminating process.
ERROR> 2020-10-28T23:28:12 MCEBuddy.Transcode.ConvertWithHandbrake → Handbrake conversion failed
ERROR> 2020-10-28T23:28:12 MCEBuddy.Transcode.ConvertWithHandbrake → Conversion of video failed
ERROR> 2020-10-28T23:28:12 MCEBuddy.Transcode.Convert → Handbrake did not convert successfully, using fallback if configured
INFORMATION> 2020-10-28T23:28:12 MCEBuddy.Transcode.ConvertWithFfmpeg → Checking for Unsupported profile for container / codec combination
INFORMATION> 2020-10-28T23:28:12 MCEBuddy.Transcode.Convert → Converting with FFMpeg, type: HardwareOnly, gpu: {
“hardwareBrand”: “NVidia”,
“codecType”: “Encoder”,
“hardwareCodecPresent”: true,
“h265Codec”: true,
“h264Codec”: true
}
INFORMATION> 2020-10-28T23:28:12 MCEBuddy.Transcode.ConvertWithFfmpeg → Setting up General conversion parameters : -threads 0
→ Setting up PreDRC
→ Setting up input file name parameters
→ Setting up video conversion parameters : -ss 0 -vf yadif=0:-1:1,hqdn3d -vcodec libx265 -preset medium -crf 26 -map 0:v -sn
→ Is preset video size → False
→ Setting up crop parameters
INFORMATION> 2020-10-28T23:28:12 MCEBuddy.VideoProperties.VideoInfo → Getting crop information using FFMpeg
WARNING> → FFMpeg Crop Detect Process Error - retrying with MEncoder
ERROR> → No response from process for 300 seconds, process likely hung - killing it
ERROR> → Process hung, killing process
WARNING> → MEncoder Crop Detect Process Error - cropping will not take place
INFORMATION> 2020-10-28T23:34:52 MCEBuddy.Transcode.ConvertWithFfmpeg
→ FFMpeg found no video cropping
→ Checking if video resizing required
→ Setting up aspect ratio if required
→ Setting up bitrate and quality parameters
→ Setting up audio conversion parameters : -acodec ac3 -ab 256k -map 0:a
→ Selecting Audio Track : -1
→ Letting ffmpeg choose best audio track
→ Cannot get Audio stream details, continuing with default Audio Language selection
→ Setting up volume adjustment : 0.4dB
→ Setting up PostDRC
→ Setting up Audio channels
→ Requested to limit Audio Channels to 2
→ Setting up Output filename
→ Replacing user specified parameters
→ Converting the video - Main conversion
WARNING> → Ffmpeg conversion failed, retying using GenPts
WARNING> 2020-10-28T23:48:48 MCEBuddy.Transcode.ConvertWithFfmpeg → Ffmpeg conversion failed with hardware decoder, retrying with without hardare decoder

Die Konvertierung läuft dann weiter, aber ohne HW-Beschleunigung, da auf CPU-Kodierung zurückgegriffen wird.
Irgendwelche Hinweise, wonach ich suchen soll, wenn ich die Protokolldetails erhöhe?

Aus den Protokollen:

ERROR> 2020-10-28T23:28:10 MCEBuddy.AppWrapper.Handbrake
–> Hardware-Encoding scheint hängen geblieben zu sein, keine Fortschritte in den letzten 300 Sekunden.
Dies ist wahrscheinlich auf einen instabilen Grafiktreiber zurückzuführen. Versuchen Sie, einen aktuellen oder stabilen Grafiktreiber zu verwenden.

Ich verwende die neueste WHQL-Version von nVidia. Ich werde später die genaue Version posten, und die GeForce Experience-App sagt mir, dass ich auf dem neuesten Stand bin.

Leider ist „neueste“ nicht gleich „beste“ bei Grafiktreibern. @RBoy hat in seinem Leben viele WHQL-Treiber geschrieben und hat oft erwähnt, dass man Grafiktreiber nur dann aktualisieren sollte, wenn es nötig ist, da neue Treiber häufig Fehler einführen, die die WHQL-Zertifizierung nicht immer erkennt.

Siehe die Liste der empfohlenen Treiberversionen – diese basieren auf Community-Feedback zu den stabilsten Treibern für Hardware-Encoding:

Es schien ein Treiberproblem zu sein, da das nächste nVidia-Treiber-Update das Problem offenbar behoben hat. Ich verwende Treiberversion 457.30 mit einer RTX2060. Ich kann bestätigen, dass die GPU von MCEBuddy im Windows-Leistungsmonitor des Task-Managers genutzt wird.

Allerdings ist mir aufgefallen, dass die GPU nur während der finalen Transkodierungsphase genutzt wird und überhaupt nicht während der Comskip-Werbeerkennung oder Demux-Phase – nur beim letzten Schritt des Remuxens der Video- und Audiospuren in die MKV. Ich hatte gehofft, dass die GPU für mehr von der Verarbeitung genutzt würde. Dennoch beschleunigt sie diesen letzten Schritt definitiv um etwa das Zehnfache (~50 fps vs. ~500 fps). Die Demux-Phase dauert jedoch immer noch genauso lange. Auch Handbrake als eigenständiges Programm erkennt und nutzt die GPU.