Handbrake profil HEVC avec préréglages échoue lors de l'utilisation de l'encodage matériel

Je n’ai que QuickSync, dont vous pouvez voir la disponibilité dans la liste ci-dessous, mais Handbrake plante toujours et MCEBuddy utilise FFmpeg par défaut sans pour autant utiliser l’encodage. J’ai essayé tellement de choses pour que cela fonctionne, mais en vain. Si j’utilise l’interface graphique (GUI) de Handbrake, cela fonctionne, mais pas dans MCEBuddy.
Je suis à bout de nerfs pour essayer de comprendre comment faire fonctionner cela et toute aide serait grandement appréciée.
Si cela peut aider, j’ai une station de travail HP Z2 SFF G4 Workstation avec un processeur i7-8700 qui possède bien QuickSync.
La carte graphique est une UHD 630 intégrée. Je peux fournir toute autre information qui aiderait à résoudre ce problème, merci.```
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]  - Microarchitecture Intel Kaby Lake
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - nombre de processeurs logiques : 12
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] Prise en charge d'Intel Quick Sync Video : oui
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - Matériel Intel Media SDK : API 1.35 (minimum : 1.3)
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]  - Encodeur H.264 : oui
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - implémentation privilégiée : matériel (tous) via D3D11
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - capacités (matériel) :  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]  - Encodeur H.265 : oui (8 bits : oui, 10 bits : oui)
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - implémentation privilégiée : matériel (tous) via D3D11
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03]     - capacités (matériel) :  bpyramid icq vsinfo opt1
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> hb_scan: path=null, title_index=1
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/disc/disc.c:323: échec de l'ouverture de l'image UDF null
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/disc/disc.c:424: erreur lors de l'ouverture du fichier BDMV\index.bdmv
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/disc/disc.c:424: erreur lors de l'ouverture du fichier BDMV\BACKUP\index.bdmv
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> src/libbluray/bluray.c:2585: échec de nav_get_title_list(null\)
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> [12:56:03] bd : pas un BD - essai en tant que flux/fichier à la place
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> libdvdnav: Utilisation de la version 6.0.1 de dvdnav
2021-12-07T12:56:03 MCEBuddy.AppWrapper.IntelQuery --> libdvdread: Prise en charge des DVD chiffrés non disponible.
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

Vous devrez joindre votre journal de conversion. Cela ne montre rien d’autre que MCEBuddy détecte que vous avez un encodeur QuickSync disponible. L’erreur réelle de Handbrake se trouverait dans les journaux de conversion où il effectue la conversion.

Je suppose que le journal de conversion fait partie du fichier mcebuddy.log ? Sinon, où puis-je trouver le journal dont vous avez besoin ? Merci.
mcebuddy.log (59,4 Ko)

C’est le journal du moteur de service mcebuddy. Chaque conversion a son propre journal commençant par le nom du fichier dans le même répertoire de journaux.

dans ma configuration, ce fichier n’a jamais été créé et je ne sais pas pourquoi, j’ai donc supprimé mcebuddy et réinstallé à partir de zéro ; un nouveau fichier journal a bien été créé. J’ai vu ceci dans ce nouveau journal :
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)’
J’ai joint le fichier journal complet pour que vous le consultiez. Je ne sais plus quoi faire à ce stade. Merci pour toute aide, c’est apprécié.
Star Trek Discovery - S04E03 - Choose to Live.mkv-Utorrent 2 HEVC-2021-12-08T14-45-33.log (990,3 Ko)

Eh bien en voici un autre, celui-ci a été enregistré par mon DVR Plex puis traité par MCEBuddy. Je ne vois pas les mêmes erreurs dans celui-ci.
America’s Test Kitchen From Cook’s Illustrated (2003) - S19E04 - The Perfect Cake.ts-Plex HEVC-2021-12-08T15-00-33.log (870,9 Ko)

Désolé pour le retard, il semble que votre encodeur matériel ne reconnaisse pas les préréglages, c’est pourquoi il échoue.

Pouvez-vous essayer ceci :

  • Ouvrez une invite de commande
  • Changez votre répertoire vers l’endroit où MCEBuddy est installé et dans le dossier handbrake, par exemple C:\\Program Files\\MCEBuddy2x\\handbrake

Tapez ceci :

HandBrakeCLI_qsv.exe --encoder-preset-list qsv_h265

puis après cela

HandBrakeCLI.exe --encoder-preset-list qsv_h265

Envoyez-moi la sortie que vous voyez

Merci d’avoir signalé ce problème, c’est un bug lié à Handbrake qui a été corrigé dans la version bêta 2.4.7 d’aujourd’hui.
Vos journaux indiquent que ffmpeg utilise l’encodage matériel. Il s’agissait spécifiquement d’un problème lors de l’utilisation du profil HEVC avec Handbrake et l’encodage matériel causé par un préréglage non pris en charge.

C’était la sortie dans l’invite de commande.

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.

Merci d’avoir confirmé le problème. Veuillez télécharger la dernière version bêta et le problème devrait être résolu.