Handbrake HEVC-Profil mit Voreinstellungen schlägt bei Verwendung der Hardware-Kodierung fehl

I only have QuickSync which you can see it’s available in the list below but handbrake always fails and mcebuddy defaults to ffmpeg but still does not use encoding. I have tried so many things to get this to work but i cannot. If i use the handbrake GUI it works but not in mcebuddy.
I’m at my wits end trying to figure out how to get this to work and any help would be greatly appriciated.
If it helps i have a HP Z2 SFF G4 Workstation with a i7-8700 CPU which does have Quicksync.
the Graphics is built-in UHD 630. Any more information that would assist in getting this working I can provide, thank you.

2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> IntelQuery checking for OpenCL and QuickSync support
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> Launching process C:\Program Files\MCEBuddy2x\handbrake\handbrakecli.exe
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> Process arguments -i null -o null
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> UI Session Admin Process : True
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> Starting process as a UISession process with Admin privileges. This requires atleast 1 user to be logged into the system (remote desktop or locally)
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> Setting process priority to Normal
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] Compile-time hardening features are enabled
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> Cannot load nvEncodeAPI64.dll
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] hb_init: starting libhb thread
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] thread 1 started ("libhb")
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> HandBrake 1.3.3 (2020061300) - MinGW x86_64 - https://handbrake.fr
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> 12 CPUs detected
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> Opening null...
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - Intel microarchitecture Kaby Lake
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - logical processor count: 12
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] Intel Quick Sync Video support: yes
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - Intel Media SDK hardware: API 1.35 (minimum: 1.3)
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - H.264 encoder: yes
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - preferred implementation: hardware (any) via D3D11
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - preferred implementation: hardware (any) via D3D11
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - capabilities (hardware):  bpyramid icq vsinfo opt1
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] hb_scan: path=null, title_index=1
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/disc/disc.c:323: failed opening UDF image null
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/bluray.c:2585: nav_get_title_list(null\) failed
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] bd: not a bd - trying as a stream/file instead
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> libdvdnav: Using dvdnav version 6.0.1
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> libdvdread: Encrypted DVD support unavailable.
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> libdvdread: Can't stat null
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> No such file or directory
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> libdvdread: Could not open null
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> libdvdnav: vm: failed to open/read the DVD
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] dvd: not a dvd - trying as a stream/file instead
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] hb_stream_open: open null failed
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] scan: unrecognized file type
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] libhb: scan thread found 0 valid title(s)
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> No title found.
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> HandBrake has exited.
--> Process exited with code 2
INFORMATION> 2021-12-07T12:56:05 MCEBuddy.AppWrapper.IntelQuery --> QuickSync encoding support available -> True
2021-12-07T12:56:05 MCEBuddy.AppWrapper.IntelQuery --> H.264 encoding support available -> True
2021-12-07T12:56:05 MCEBuddy.AppWrapper.IntelQuery --> H.265 encoding support available -> True
--> Checking presence and capabilities of NVidia nvENC Hardware encoder
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> Launching process C:\Program Files\MCEBuddy2x\nvidia\nvidiaQuery.exe
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> Process arguments 
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> UI Session Admin Process : True
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> Starting process as a UISession process with Admin privileges. This requires atleast 1 user to be logged into the system (remote desktop or locally)
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> Setting process priority to Normal
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> C:\Program Files\MCEBuddy2x\nvidia\nvidiaQuery.exe Starting...
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery -->  CUDA Device Query (Runtime API) version (CUDART static linking)
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> cudaGetDeviceCount returned 35
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> -> CUDA driver version is insufficient for CUDA runtime version
2021-12-07T12:56:05 MCEBuddy.AppWrapper.NVidiaQuery --> Result = FAIL
--> Process exited with code 1
WARNING> 2021-12-07T12:56:08 MCEBuddy.AppWrapper.NVidiaQuery --> nvENC NVidia driver not detected or driver is too old
--> NVidia CUDA available -> False
INFORMATION> --> NVidia nvENC encoding supported -> False
--> NVidia H.264 Hardware Encoder Detected : False
--> NVidia H.265 Hardware Encoder Detected : False
--> Checking presence and capabilities of AMD Hardware encoder
2021-12-07T12:56:08 MCEBuddy.AppWrapper.AMDQuery --> Launching process C:\Program Files\MCEBuddy2x\amd\AMDQuery.exe
2021-12-07T12:56:08 MCEBuddy.AppWrapper.AMDQuery --> Process arguments 
2021-12-07T12:56:08 MCEBuddy.AppWrapper.AMDQuery --> UI Session Admin Process : True
2021-12-07T12:56:08 MCEBuddy.AppWrapper.AMDQuery --> Starting process as a UISession process with Admin privileges. This requires atleast 1 user to be logged into the system (remote desktop or locally)
2021-12-07T12:56:08 MCEBuddy.AppWrapper.AMDQuery --> Setting process priority to Normal
2021-12-07T12:56:08 MCEBuddy.AppWrapper.AMDQuery --> AMF Failed to initialize
--> Process exited with code 1
WARNING> 2021-12-07T12:56:10 MCEBuddy.AppWrapper.AMDQuery --> AMD driver not detected or driver is not compatible
INFORMATION> --> AMD AMF encoding support available -> False
--> AMD Video Encoders available -> 
--> AMD Video Decoders available -> 
--> AMD H.264 Hardware Encoder Detected : False
--> AMD H.265 Hardware Encoder Detected : False
--> Detected hardware encoder capability ->
{
  "hardwareBrand": "Intel",
  "codecType": "Encoder",
  "hardwareCodecPresent": true,
  "h265Codec": true,
  "h264Codec": true
}
INFORMATION> 2021-12-07T12:56:10 MCEBuddy.Engine.Core --> Starting license check thread
2021-12-07T12:56:20 MCEBuddy.Engine.Core --> Loaded MCEBuddy engine settings
INFORMATION> --> Windows OS Version -> Microsoft Windows NT 10.0.19043.0 (WIN_10_2016_SERVER, Professional)
INFORMATION> --> Windows Platform -> 64 Bit
INFORMATION> --> MCEBuddy Build Platform -> 64 Bit
INFORMATION> --> MCEBuddy Build Version : 2.5.6.1
INFORMATION> --> MCEBuddy Build Date : 04/30/2021 16:24:00
INFORMATION> --> MCEBuddy Running as Service : True
INFORMATION> --> MCEBuddy License -> Premium
--> Locale Language -> ENG
2021-12-07T12:56:20 MCEBuddy.Engine.Core --> MCEBuddy engine settings -> CONVERSION TASK OPTIONS ==>
Task -> Utorrent 2 HEVC
Profile -> HEVC MP4
Source File -> 
Relative Source Path -> 
Destination Path -> 
Working Path -> D:\temp
Fallback Destination -> False
Skip ReProcessing -> False
Check Reprocessing History -> False
Auto Increment Filename -> False
Add to iTunes Library -> False
Add to WMP Library -> False
Max Width -> 1920
Quality Multipltier -> 1
FPS -> 
Auto DeInterlacing -> True
Prefer Hardware Encoding -> True
Use GPU Brands -> Intel
Volume Multipltier -> 0
DRC -> False
Force Stereo -> False
Encoder Select Best Audio Track -> True
Profile Audio Language -> ENG
Audio Offset -> 0
Start Trim -> 0
End Trim -> 0
Closed Captions -> 
Closed Captions Offset -> 0
Embed Subtitles -> False
Embed Chapters -> False
Strict Processing -> False
Commercial Removal -> None
Custom Comskip INI Path -> 
Search Ad markers from chapters -> False
Task Commercial Skip Cut -> False
Keep Advertisements -> False
Download Series Details -> True
Download Banner -> True
Overwrite metata from Title -> False
Overwrite metata from Internet -> Default
Prioritize matching by Original Broadcast Date -> False
Force Show Type -> Default
Write Metadata -> True
Rename by Series -> False
Alt Rename by Series -> False
Custom Rename by Series -> 
Rename Only -> False
File Selection Pattern -> 
Show Selection Pattern -> 
Channel Selection Pattern -> 
Show Type Selection -> Default
Codec Type Selection -> Any
DRM Type Selection -> All
File Size Comparator -> LessThan
File Size Threshold -> 0
Video Bitrate Comparator -> LessThan
Video Bitrate Threshold (Kbps) -> 0
Video Width Comparator -> LessThan
Video Width Threshold (pixels) -> 0
Monitor Tasks Selection -> Utorrent
Insert at Top of Queue -> False
Extract XML -> False
Disable Cropping -> True
Skip Copying Original File for Backup -> False
Skip Remuxing Original File to TS -> False
Ignore Copy Protection -> False
TiVO MAK Key -> 
Destination Path Domain Name -> 
Destination Path User Name -> 
Destination Path Password -> 
Task Enabled -> True

Sie müssen Ihr Konvertierungsprotokoll anhängen. Dies zeigt nichts anderes als dass MCEBuddy erkennt, dass ein QuickSync-Encoder verfügbar ist. Der tatsächliche Fehler von Handbrake würde in den Konvertierungsprotokollen stehen, in denen die Konvertierung erfolgt.

Ich gehe davon aus, dass das Konvertierungsprotokoll Teil der mcebuddy.log-Datei ist? Wenn nicht, wo finde ich das benötigte Protokoll? Danke.
mcebuddy.log (59,4 KB)

Das ist das MCEBuddy Service Engine-Protokoll. Jede Konvertierung hat ihr eigenes Protokoll, das mit dem Dateinamen im selben Protokollverzeichnis beginnt.

okay, in meinem Setup wurde diese Datei nie erstellt und ich weiß nicht warum, also habe ich MCEBuddy deinstalliert und komplett neu installiert, woraufhin eine neue Log-Datei erstellt wurde. Darin fand ich folgendes:

2021-12-08T14:46:47 MCEBuddy.AppWrapper.Handbrake → ERROR: hb_qsv_param_default_preset: invalid preset ‘medium’
2021-12-08T14:46:47 MCEBuddy.AppWrapper.Handbrake → ERROR: encqsvInit: hb_qsv_param_default_preset failed
2021-12-08T14:46:47 MCEBuddy.AppWrapper.Handbrake → ERROR: Failure to initialise thread ‘Quick Sync Video encoder (Intel Media SDK)’

Ich habe die gesamte Log-Datei angehängt, damit du sie dir ansiehst. Ich weiß nicht, wie es weitergehen soll. Vielen Dank für jede Hilfe – ich bin dankbar dafür.
Star Trek Discovery - S04E03 - Choose to Live.mkv-Utorrent 2 HEVC-2021-12-08T14-45-33.log (990.3 KB)

Nun, hier ist ein weiteres – dieses wurde tatsächlich von meinem Plex-DVR aufgenommen und anschließend durch MCEBuddy verarbeitet. Ich sehe hier keine gleichen Fehler.
America’s Test Kitchen From Cook’s Illustrated (2003) - S19E04 - The Perfect Cake.ts-Plex HEVC-2021-12-08T15-00-33.log (870,9 KB)

Entschuldigung für die Verzögerung, es sieht so aus, als würde Ihr Hardware-Encoder die Voreinstellungen nicht erkennen, weshalb er fehlschlägt.

Können Sie Folgendes versuchen:

  • Öffnen Sie eine Eingabeaufforderung
  • Wechseln Sie in das Verzeichnis, in dem MCEBuddy installiert ist, und in den handbrake-Ordner, z. B. C:\\Program Files\\MCEBuddy2x\\handbrake

Geben Sie Folgendes ein:

HandBrakeCLI_qsv.exe --encoder-preset-list qsv_h265

und danach

HandBrakeCLI.exe --encoder-preset-list qsv_h265

Senden Sie mir die Ausgabe, die Sie sehen

Danke für die Meldung, es handelt sich um einen Fehler bei der Verwendung von HandBrake, der in der heutigen 2.4.7 Beta-Version behoben wurde.
Deine Logs zeigen, dass FFmpeg Hardware-Encoding verwendet. Dies war speziell ein Problem bei der Verwendung des HEVC-Profils mit HandBrake und Hardware-Encoding, verursacht durch ein nicht unterstütztes Preset.

Dies war die Ausgabe in der Eingabeaufforderung.

C:\Program Files\MCEBuddy2x\handbrake>HandBrakeCLI_qsv.exe --encoder-preset-list qsv_h265
[22:06:19] hb_init: starting libhb thread
[22:06:19] thread 1 started (“libhb”)
Available --encoder-preset values for ‘qsv_h265’ encoder:
speed
balanced
quality

C:\Program Files\MCEBuddy2x\handbrake>HandBrakeCLI.exe --encoder-preset-list qsv_h265
[22:06:38] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[22:06:38] hb_init: starting libhb thread
[22:06:38] thread 1 started (“libhb”)
Available --encoder-preset values for ‘qsv_h265’ encoder:
speed
balanced
quality

HandBrake has exited.

Danke, dass Sie das Problem bestätigt haben. Bitte laden Sie die neueste Beta-Version herunter, dann sollte es behoben sein.