HB 1.6.0 not ok with QSV

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
obernegg
Posts: 14
Joined: Wed Jan 01, 2014 8:32 pm

HB 1.6.0 not ok with QSV

Post by obernegg »

Description of problem or question:
testing BBBunny with preset: H.265 QSV 1080p - is not OK
Job Failed to Initialise. Check log and input settings (3)
same test without QSV is ok - preset: Very Fast 1080p30


Steps to reproduce the problem (If Applicable):
BBBunny with preset: H.265 QSV 1080p



HandBrake version (e.g., 1.0.0):
current 160



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
win10 with current updates



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.6.0 (2022122800)
OS: Microsoft Windows NT 10.0.19044.0
CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
Ram: 7971 MB, 
GPU Information:
  Intel(R) Iris(R) Xe Graphics - 27.20.100.8439
Screen: 1536x864
Temp Dir: C:\Users\user\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\user\AppData\Roaming\HandBrake

-------------------------------------------

 # Starting Encode ...

[13:19:47] base preset: H.265 QSV 1080p
[13:19:47] Remote Process started with Process ID: 19732 using port: 8037. Max Allowed Instances: 1
[13:19:47] Worker: Starting HandBrake Engine ...
[13:19:47] Worker: Starting Web Server on port 8037 ...
[13:19:48] Worker: Disconnected worker monitoring enabled!
[13:19:48] Compile-time hardening features are enabled
[13:19:50] qsv: is available on this system
[13:19:50] vcn: not available on this system
Cannot load nvEncodeAPI64.dll
[13:19:50] hb_init: starting libhb thread
[13:19:50] Starting work at: Sun Jan 01 13:19:50 2023
[13:19:50] 1 job(s) to process
[13:19:50] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac"
    ]
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Kapitel 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\VideoTest\\BBB\\big_buck_bunny_1080p_h265 R160.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 14,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 7,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\VideoTest\\BBB\\big_buck_bunny_1080p_h264.mov"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "qsv_h265",
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "lowpower=1",
    "Preset": "speed",
    "Profile": "auto",
    "Quality": 25,
    "QSV": {
      "Decode": true
    },
    "HardwareDecode": 0
  }
}
[13:19:50] CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
[13:19:50]  - Intel microarchitecture Tiger Lake
[13:19:50]  - logical processor count: 8
[13:19:50] Intel Quick Sync Video support: yes, gpu list: 0
[13:19:50] Intel Quick Sync Video integrated adapter with index 0
[13:19:50] Impl mfx-gen library path: C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_66738090704aeb53\libmfx64-gen.dll
[13:19:50]  - Intel Media SDK hardware: API 2.7 (minimum: 1.3)
[13:19:50]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[13:19:50]  - H.264 encoder: yes
[13:19:50]     - preferred implementation: hardware (1) via D3D11
[13:19:50]     - capabilities (hardware):  lowpower breftype icq+la+i+downs vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[13:19:50]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[13:19:50]     - preferred implementation: hardware (1) via D3D11
[13:19:50]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[13:19:50]  - AV1 encoder: no
[13:19:50] hb_scan: path=D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
[13:19:50] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
vdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[13:19:50] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2008-05-27T18:40:35.000000Z
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.4.1 (14)
    com.apple.quicktime.version: 7.4.1 (14) 0x7418000 (Mac OS X, 10.5.2, 9C31)
    timecode        : 00:00:00:00
  Duration: 00:09:56.46, start: 0.000000, bitrate: 9725 kb/s
  Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 9282 kb/s, 24 fps, 24 tbr, 2400 tbn (default)
    Metadata:
      creation_time   : 2008-05-27T18:40:35.000000Z
      handler_name    : Apple Video Media Handler
      vendor_id       : appl
      encoder         : H.264
    Side data:
      displaymatrix: rotation of -0.00 degrees
  Stream #0:1[0x2](eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
      creation_time   : 2008-05-27T18:40:35.000000Z
      handler_name    : Time Code Media Handler
      timecode        : 00:00:00:00
  Stream #0:2[0x3](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 437 kb/s (default)
    Metadata:
      creation_time   : 2008-05-27T18:40:35.000000Z
      handler_name    : Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
[13:19:50] scan: decoding previews for title 1
[13:19:50] scan: audio 0x2: aac, rate=48000Hz, bitrate=437605 English (AAC LC) (5.1 ch) (437 kbps)
[13:19:50] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: topleft
[13:19:50] scan: supported video decoders: avcodec qsv
[13:19:50] libhb: scan thread found 1 valid title(s)
[13:19:50] qsv: integrated qsv adapter with index 0 has been selected
[13:19:50] Starting Task: Encoding Pass
[13:19:50] Skipping vfr filter
[13:19:50] Skipping crop/scale filter
[13:19:50] work: track 1, dithering not supported by codec
[13:19:50] work: only 1 chapter, disabling chapter markers
[13:19:50] job configuration:
[13:19:50]  * source
[13:19:50]    + D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov
[13:19:50]    + title 1, chapter(s) 1 to 1
[13:19:50]    + container: mov,mp4,m4a,3gp,3g2,mj2
[13:19:50]    + data rate: 9725 kbps
[13:19:50]  * destination
[13:19:50]    + D:\VideoTest\BBB\big_buck_bunny_1080p_h265 R160.mp4
[13:19:50]    + container: MPEG-4 (libavformat)
[13:19:50]  * video track
[13:19:50]    + decoder: h264_qsv 8-bit (nv12)
[13:19:50]      + bitrate 9282 kbps
[13:19:50]    + Output geometry
[13:19:50]      + storage dimensions: 1920 x 1080
[13:19:50]      + pixel aspect ratio: 1 : 1
[13:19:50]      + display dimensions: 1920 x 1080
[13:19:50]    + encoder: H.265 (Intel Media SDK)
[13:19:50]      + preset:  speed
[13:19:50]      + options: lowpower=1
[13:19:50]      + profile: auto
[13:19:50]      + level:   auto
[13:19:50]      + quality: 25.00 (ICQ)
[13:19:50]      + color profile: 1-1-1
[13:19:50]      + chroma location: topleft
[13:19:50]  * audio track 1
[13:19:50]    + decoder: English (AAC LC) (5.1 ch) (437 kbps) (track 1, id 0x2)
[13:19:50]      + bitrate: 437 kbps, samplerate: 48000 Hz
[13:19:50]    + mixdown: Stereo
[13:19:50]    + encoder: AAC (libavcodec)
[13:19:50]      + bitrate: 160 kbps, samplerate: 48000 Hz
[13:19:50] sync: expecting 14315 video frames
encqsvInit: MFXVideoENCODE_Init failed (-17)
[13:19:51] encqsvInit: using full QSV (LowPower) path
[13:19:51] encqsvInit: H.265/HEVC (null) profile @ level (null)
[13:19:51] encqsvInit: TargetUsage 7 AsyncDepth 6
[13:19:51] encqsvInit: GopRefDist 8 GopPicSize 24 NumRefFrame 4 IdrInterval 0
[13:19:51] encqsvInit: BFramesMax 7 BRefType pyramid
[13:19:51] encqsvInit: RateControlMethod ICQ ICQQuality 25
Failure to initialise thread 'Quick Sync Video encoder (Intel Media SDK)'
[13:19:51] aac-decoder done: 0 frames, 0 decoder errors
[13:19:51] h264_qsv-decoder done: 0 frames, 0 decoder errors
[13:19:51] sync: got 0 frames, 14315 expected
[13:19:51] Finished work at: Sun Jan 01 13:19:51 2023
[13:19:51] libhb: work result = 3

 # Job Failed to Initialise. Check log and input settings (3)


User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB 1.6.0 not ok with QSV

Post by s55 »

Upgrade your graphics driver to the latest.
obernegg
Posts: 14
Joined: Wed Jan 01, 2014 8:32 pm

Re: HB 1.6.0 not ok with QSV

Post by obernegg »

Acer-driver is proprietary - Intel mentions not to upgrade as long Acer does not provide a new one
but - works fine with HB 151 and my own simple preset
tests ok with h264 QSV and h265QSV10bit
test fails with official hardware preset as with HB 160
following log with ok-test:
thank you for your great product and excellent and fast support since years !!
.-.-.-.-
HandBrake 1.5.1 (2022011000)
OS: Microsoft Windows NT 10.0.19044.0
CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
Ram: 7971 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 27.20.100.8439
Screen: 1536x864
Temp Dir: C:\Users\user\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\user\AppData\Roaming\HandBrake

-------------------------------------------

# Starting Encode ...

[18:54:36] base preset: My1080v2
[18:54:36] Remote Process started with Process ID: 5656 using port: 8039. Max Allowed Instances: 1
[18:54:36] Worker: Starting HandBrake Engine ...
[18:54:36] Worker: Starting Web Server on port 8039 ...
[18:54:36] Worker: Disconnected worker monitoring enabled!
[18:54:36] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
Cannot load nvEncodeAPI64.dll
[18:54:37] hb_init: starting libhb thread
[18:54:37] Starting work at: Sun Jan 01 18:54:37 2023
[18:54:37] 1 job(s) to process
[18:54:37] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0,
"Encoder": "av_aac",
"Gain": 0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 0,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
"copy:aac",
"copy:ac3",
"copy:dtshd",
"copy:dts",
"copy:eac3",
"copy:flac",
"copy:mp3",
"copy:truehd",
"copy:mp2"
],
"FallbackEncoder": "ac3"
},
"Destination": {
"ChapterList": [
{
"Name": "Kapitel 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": true,
"File": "D:\\VideoTest\\BBB\\big_buck_bunny_1080p_h264 R151 QSV.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": false
},
"Mux": "av_mp4"
},
"Filters": {
"FilterList": [
{
"ID": 4,
"Settings": {
"mode": "7"
}
},
{
"ID": 3,
"Settings": {
"block-height": "16",
"block-thresh": "40",
"block-width": "16",
"filter-mode": "2",
"mode": "3",
"motion-thresh": "1",
"spatial-metric": "2",
"spatial-thresh": "1"
}
},
{
"ID": 13,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "D:\\VideoTest\\BBB\\big_buck_bunny_1080p_h264.mov"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h264",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "lowpower=1",
"Preset": "balanced",
"Profile": "auto",
"Quality": 22,
"QSV": {
"Decode": true
}
}
}
[18:54:37] CPU: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
[18:54:37] - Intel microarchitecture Tiger Lake
[18:54:37] - logical processor count: 8
[18:54:37] Intel Quick Sync Video support: yes, gpu list: 0
[18:54:37] Intel Quick Sync Video integrated adapter with index 0
[18:54:37] - Intel Media SDK hardware: API 1.32 (minimum: 1.3)
[18:54:37] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[18:54:37] - H.264 encoder: yes
[18:54:37] - preferred implementation: hardware (1) via D3D11
[18:54:37] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[18:54:37] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[18:54:37] - preferred implementation: hardware (1) via D3D11
[18:54:37] - capabilities (hardware): lowpower bpyramid icq vsinfo opt1
[18:54:37] hb_scan: path=D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:333: failed opening UDF image D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov
src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2646: nav_get_title_list(D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov\) failed
[18:54:37] bd: not a bd - trying as a stream/file instead
libdvdread: Encrypted DVD support unavailable.
libdlibdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
vdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: vm: failed to read VIDEO_TS.IFO
[18:54:37] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2008-05-27T18:40:35.000000Z
com.apple.quicktime.player.movie.audio.gain: 1.000000
com.apple.quicktime.player.movie.audio.treble: 0.000000
com.apple.quicktime.player.movie.audio.bass: 0.000000
com.apple.quicktime.player.movie.audio.balance: 0.000000
com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
com.apple.quicktime.player.movie.audio.mute:
com.apple.quicktime.player.movie.visual.brightness: 0.000000
com.apple.quicktime.player.movie.visual.color: 1.000000
com.apple.quicktime.player.movie.visual.tint: 0.000000
com.apple.quicktime.player.movie.visual.contrast: 1.000000
com.apple.quicktime.player.version: 7.4.1 (14)
com.apple.quicktime.version: 7.4.1 (14) 0x7418000 (Mac OS X, 10.5.2, 9C31)
timecode : 00:00:00:00
Duration: 00:09:56.46, start: 0.000000, bitrate: 9725 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 9282 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc (default)
Metadata:
rotate : 0
creation_time : 2008-05-27T18:40:35.000000Z
handler_name : Apple Video Media Handler
vendor_id : appl
encoder : H.264
Side data:
displaymatrix: rotation of -0.00 degrees
Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:
rotate : 0
creation_time : 2008-05-27T18:40:35.000000Z
handler_name : Time Code Media Handler
timecode : 00:00:00:00
Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 437 kb/s (default)
Metadata:
rotate : 0
creation_time : 2008-05-27T18:40:35.000000Z
handler_name : Apple Sound Media Handler
vendor_id : [0][0][0][0]
[18:54:37] scan: decoding previews for title 1
[18:54:37] scan: audio 0x2: aac, rate=48000Hz, bitrate=437605 English (AAC LC) (5.1 ch) (437 kbps)
[18:54:37] scan: 10 previews, 1920x1080, 24.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: topleft
[18:54:37] scan: supported video decoders: avcodec qsv
[18:54:37] libhb: scan thread found 1 valid title(s)
[18:54:37] Skipping subtitle scan. No suitable subtitle tracks.
[18:54:37] Starting Task: Encoding Pass
[18:54:37] Skipping crop/scale filter
[18:54:37] work: track 1, dithering not supported by codec
[18:54:37] work: only 1 chapter, disabling chapter markers
[18:54:37] job configuration:
[18:54:37] * source
[18:54:37] + D:\VideoTest\BBB\big_buck_bunny_1080p_h264.mov
[18:54:37] + title 1, chapter(s) 1 to 1
[18:54:37] + container: mov,mp4,m4a,3gp,3g2,mj2
[18:54:37] + data rate: 9725 kbps
[18:54:37] * destination
[18:54:37] + D:\VideoTest\BBB\big_buck_bunny_1080p_h264 R151 QSV.mp4
[18:54:37] + container: MPEG-4 (libavformat)
[18:54:37] + align initial A/V stream timestamps
[18:54:37] * video track
[18:54:37] + decoder: h264_qsv 8-bit (yuv420p)
[18:54:37] + bitrate 9282 kbps
[18:54:37] + filters
[18:54:37] + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[18:54:37] + Decomb (mode=39)
[18:54:37] + Framerate Shaper (mode=1)
[18:54:37] + frame rate: 24.000 fps -> constant 24.000 fps
[18:54:37] + Output geometry
[18:54:37] + storage dimensions: 1920 x 1080
[18:54:37] + pixel aspect ratio: 1 : 1
[18:54:37] + display dimensions: 1920 x 1080
[18:54:37] + encoder: H.264 (Intel Media SDK)
[18:54:37] + preset: balanced
[18:54:37] + options: lowpower=1
[18:54:37] + profile: auto
[18:54:37] + level: auto
[18:54:37] + quality: 22.00 (ICQ)
[18:54:37] + color profile: 1-1-1
[18:54:37] + chroma location: topleft
[18:54:37] * audio track 1
[18:54:37] + decoder: English (AAC LC) (5.1 ch) (437 kbps) (track 1, id 0x2)
[18:54:37] + bitrate: 437 kbps, samplerate: 48000 Hz
[18:54:37] + mixdown: Stereo
[18:54:37] + encoder: AAC (libavcodec)
[18:54:37] + bitrate: 160 kbps, samplerate: 48000 Hz
[18:54:37] sync: expecting 14315 video frames
[18:54:37] encqsvInit: hb_qsv_param_parse: unsupported option lowpower
[18:54:37] qsv: integrated qsv adapter with index 0 has been selected
[18:54:38] encqsvInit: using encode-only path
[18:54:38] encqsvInit: H.264/AVC High profile @ level 4.0
[18:54:38] encqsvInit: TargetUsage 4 AsyncDepth 6
[18:54:38] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 1
[18:54:38] encqsvInit: BFramesMax 2 BRefType off
[18:54:38] Unknown Header.BufferId=1347637059
[18:54:38] encqsvInit: RateControlMethod ICQ ICQQuality 22
[18:54:38] encqsvInit: MBBRC on
[18:54:38] sync: first pts video is 0
[18:54:38] sync: "Kapitel 1" (1) at frame 1 time 0
[18:54:38] sync: first pts audio 0x2 is 0
[18:54:39] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 1.32
[18:56:19] reader: done. 1 scr changes
[18:56:19] work: average encoding speed for job is 142.333603 fps
[18:56:19] comb detect: heavy 858 | light 1796 | uncombed 11661 | total 14315
[18:56:19] decomb: deinterlaced 858 | blended 1796 | unfiltered 11661 | total 14315
[18:56:19] vfr: 14315 frames output, 0 dropped and 0 duped for CFR/PFR
[18:56:19] vfr: lost time: 0 (0 frames)
[18:56:19] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:56:19] aac-decoder done: 27960 frames, 0 decoder errors
[18:56:19] h264_qsv-decoder done: 14315 frames, 0 decoder errors
[18:56:19] sync: got 14315 frames, 14315 expected
[18:56:19] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
[18:56:19] mux: track 0, 14315 frames, 406454460 bytes, 5450.81 kbps, fifo 1024
[18:56:19] mux: track 1, 27961 frames, 12015543 bytes, 161.14 kbps, fifo 2048
[18:56:19] Finished work at: Sun Jan 01 18:56:19 2023
[18:56:19] libhb: work result = 0

# Job Completed!
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB 1.6.0 not ok with QSV

Post by s55 »

Your out of luck then I'm afraid.

1.6.0 requires a newer driver due to the newer Intel SDK we use. If acer are not providing that and you can't use the Intel one, your next best option is to rollback to 1.5.1
jlmcr87
Posts: 11
Joined: Mon Jan 02, 2023 7:45 am

Re: HB 1.6.0 not ok with QSV

Post by jlmcr87 »

s55 wrote: Sun Jan 01, 2023 6:21 pm Your out of luck then I'm afraid.

1.6.0 requires a newer driver due to the newer Intel SDK we use. If acer are not providing that and you can't use the Intel one, your next best option is to rollback to 1.5.1
Hi, I also have this problem with a Tigerlake laptop using h.265 intel QSV. And it´s a bug since Mid november nightlys. If i set the codification level I get a job error, codification won´t start. If I leave the codification level to AUTO, all works ok.

HandBrake 1.6.0 (2022122800)
OS: Microsoft Windows NT 10.0.22621.0
CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Ram: 16106 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.4032
NVIDIA GeForce MX350 - 31.0.15.2756



-------------------------------------------

# Starting Encode ...
....
....

[08:48:55] + encoder: H.265 (Intel Media SDK)
[08:48:55] + preset: quality
[08:48:55] + options: lowpower=1
[08:48:55] + profile: auto
[08:48:55] + level: 4.1
[08:48:55] + quality: 21.00 (ICQ)
[08:48:55] + color profile: 1-1-1
[08:48:55] + chroma location: left
[08:48:55] sync: expecting 90096 video frames
[08:48:55] encqsvInit: using encode-only (LowPower) path
[08:48:55] encqsvInit: H.265/HEVC Main profile @ level 4.1
[08:48:55] encqsvInit: TargetUsage 1 AsyncDepth 6
[08:48:55] encqsvInit: GopRefDist 8 GopPicSize 24 NumRefFrame 4 IdrInterval 0
[08:48:55] encqsvInit: BFramesMax 7 BRefType pyramid
[08:48:55] encqsvInit: RateControlMethod ICQ ICQQuality 21
[08:48:55] sync: first pts video is 0
[08:48:55] sync: "00:00:00:000" (1) at frame 1 time 0
[08:48:55] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 2.8
encqsv: MFXVideoENCODE_EncodeFrameAsync failed (-5)
encqsvWork: qsv_enc_work failed -1
[08:48:55] work: average encoding speed for job is 0.000000 fps
[08:48:55] comb detect: heavy 21 | light 1 | uncombed 14 | total 36
[08:48:55] decomb: deinterlaced 13 | blended 1 | unfiltered 14 | total 28
[08:48:56] h264_qsv-decoder done: 76 frames, 0 decoder errors
[08:48:56] sync: got 56 frames, 90096 expected
[08:48:56] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
[08:48:56] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[08:48:56] Finished work at: Mon Jan 02 08:48:56 2023
[08:48:56] libhb: work result = 4

# Job Failed (4)
jlmcr87
Posts: 11
Joined: Mon Jan 02, 2023 7:45 am

Re: HB 1.6.0 not ok with QSV

Post by jlmcr87 »

Now the log with codification level set to AUTO, this way it works:

HandBrake 1.6.0 (2022122800)
OS: Microsoft Windows NT 10.0.22621.0
CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Ram: 16106 MB,
GPU Information:
Intel(R) Iris(R) Xe Graphics - 31.0.101.4032
NVIDIA GeForce MX350 - 31.0.15.2756

....

....

....

[09:00:12] + encoder: H.265 (Intel Media SDK)
[09:00:12] + preset: quality
[09:00:12] + options: lowpower=1
[09:00:12] + profile: auto
[09:00:12] + level: auto
[09:00:12] + quality: 21.00 (ICQ)
[09:00:12] + color profile: 1-1-1
[09:00:12] + chroma location: left
[09:00:12] sync: expecting 90096 video frames
[09:00:12] encqsvInit: using encode-only (LowPower) path
[09:00:12] encqsvInit: H.265/HEVC Main profile @ level (null)
[09:00:12] encqsvInit: TargetUsage 1 AsyncDepth 6
[09:00:12] encqsvInit: GopRefDist 8 GopPicSize 24 NumRefFrame 4 IdrInterval 0
[09:00:12] encqsvInit: BFramesMax 7 BRefType pyramid
[09:00:12] encqsvInit: RateControlMethod ICQ ICQQuality 21
[09:00:12] sync: first pts video is 0
[09:00:12] sync: "00:00:00:000" (1) at frame 1 time 0
[09:00:13] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 2.8

# Encode Stopped

[09:00:18] work: average encoding speed for job is 70.611366 fps
[09:00:18] comb detect: heavy 373 | light 10 | uncombed 14 | total 397
[09:00:18] decomb: deinterlaced 365 | blended 10 | unfiltered 14 | total 389
[09:00:18] h264_qsv-decoder done: 436 frames, 0 decoder errors
[09:00:18] sync: got 416 frames, 90096 expected
[09:00:18] sync: framerate min 24.000 fps, max 24.000 fps, avg 24.000 fps
[09:00:18] mux: track 0, 360 frames, 21840717 bytes, 11616.12 kbps, fifo 256
[09:00:18] Finished work at: Mon Jan 02 09:00:18 2023
[09:00:18] libhb: work result = 1

# Job Cancelled!
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: HB 1.6.0 not ok with QSV

Post by s55 »

It's an indication that your breaching an attribute of the level. We'd need to see teh full log to say what exactly but you'll probably have to use 5 or 5.1 for this source.
Deleted User 11865

Re: HB 1.6.0 not ok with QSV

Post by Deleted User 11865 »

GopRefDist 8 is too high for 1080p below level 5.0

https://en.wikipedia.org/wiki/Advanced_ ... ing#Levels

You can use level 5.0 or lower GopRefDist to 4
jlmcr87
Posts: 11
Joined: Mon Jan 02, 2023 7:45 am

Re: HB 1.6.0 not ok with QSV

Post by jlmcr87 »

s55 wrote: Mon Jan 02, 2023 11:50 am It's an indication that your breaching an attribute of the level. We'd need to see teh full log to say what exactly but you'll probably have to use 5 or 5.1 for this source.
If i set it to auto a level 4 file is created. Also with handbrake 1.5.1 and nigthlys before november, i can use level 4.1 without any problem.
jlmcr87
Posts: 11
Joined: Mon Jan 02, 2023 7:45 am

Re: HB 1.6.0 not ok with QSV

Post by jlmcr87 »

Any problem if i leave it to auto? quality or bitrate is decreased versus if i set 4.1 or 5.0 level?
Post Reply