More QSV Problems

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
nasruddin
Posts: 49
Joined: Mon Jun 05, 2023 6:13 pm

More QSV Problems

Post by nasruddin »

Description of problem or question:
QSV hardware preset crashes
This was part of some audio experiments, but I'm now routinely checking to see if qsv presets work
if I have the hardware available



Steps to reproduce the problem (If Applicable):
Default is peak framerate, switch to constant framerate, job completes successfully


HandBrake version (e.g., 1.0.0):
See log



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
See log


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

Code: Select all


HandBrake 1.7.3 (2024021000)
OS: Microsoft Windows NT 10.0.22631.0
CPU: 13th Gen Intel(R) Core(TM) i7-1355U
Ram: 32479 MB, 
GPU Information:
  Intel(R) Iris(R) Xe Graphics - 31.0.101.4575
  NVIDIA GeForce RTX 3050 4GB Laptop GPU - 31.0.15.5123
Screen: 1920x1080
Temp Dir: C:\Users\whowho\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\whowho\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[10:40:51] base preset: H.265 QSV 1080p (Modified)
[10:40:51] Remote Process started with Process ID: 33136 using port: 8038. Max Allowed Instances: 1
[10:40:51] Worker: Starting HandBrake Engine ...
[10:40:51] Worker: Parent Process Id 28788
[10:40:51] Worker: Starting Web Server on port 8038 ...
[10:40:51] Worker: Starting Listener: 1
[10:40:51] Worker: Server Started
[10:40:51] Worker: Disconnected worker monitoring enabled!
[10:40:51] Compile-time hardening features are enabled
[10:40:51] nvenc: version 12.2 is available
[10:40:51] nvdec: is available
[10:40:52] CUDA Version: 8.6
[10:40:52] vcn: not available on this system
[10:40:52] qsv: is available on this system
[10:40:52] hb_init: starting libhb thread
[10:40:52] Starting work at: Sat Mar 02 10:40:52 2024
[10:40:52] 1 job(s) to process
[10:40:52] 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"
    ],
    "FallbackEncoder": "none"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      },
      {
        "Name": "Chapter 2"
      },
      {
        "Name": "Chapter 3"
      },
      {
        "Name": "Chapter 4"
      },
      {
        "Name": "Chapter 5"
      },
      {
        "Name": "Chapter 6"
      },
      {
        "Name": "Chapter 7"
      },
      {
        "Name": "Chapter 8"
      },
      {
        "Name": "Chapter 9"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "D:\\Users\\whowho\\Videos\\hbexp\\whatwhat\\rahrahTest\\rahrah-1080p-H.2b5-qsv.mp4",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 19,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 10,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 7,
      "End": 7
    },
    "Title": 4,
    "Path": "D:\\Users\\whowho\\Videos\\hbexp\\whatwhat",
    "HWDecode": 6
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "qsv_h265",
    "Level": "auto",
    "MultiPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "lowpower=0",
    "Preset": "speed",
    "Profile": "auto",
    "Quality": 25,
    "QSV": {
      "Decode": true
    },
    "HardwareDecode": 0
  }
}
[10:40:52] CPU: 13th Gen Intel(R) Core(TM) i7-1355U
[10:40:52]  - logical processor count: 12
[10:40:52] Intel Quick Sync Video support: yes, gpu list: 1
[10:40:52] Intel Quick Sync Video integrated adapter with index 1
[10:40:52] Impl mfx-gen library path: C:\windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_8d38a8081cfb8dcd\libmfx64-gen.dll
[10:40:52]  - Intel Media SDK hardware: API 2.9 (minimum: 1.3)
[10:40:52]  - Decode support:  h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes)
[10:40:52]  - H.264 encoder: yes
[10:40:52]     - preferred implementation: hardware (2) via D3D11
[10:40:52]     - capabilities (hardware):  lowpower breftype icq vsinfo chromalocinfo opt1 opt2+mbbrc+extbrc+trellis+repeatpps+ib_adapt+nmpslice
[10:40:52]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[10:40:52]     - preferred implementation: hardware (2) via D3D11
[10:40:52]     - capabilities (hardware):  lowpower bpyramid icq vsinfo masteringinfo cllinfo opt1
[10:40:52]  - AV1 encoder: no
[10:40:52] hb_scan: path=D:\Users\whowho\Videos\hbexp\whatwhat, title_index=4
[10:40:52] scan: BD has 9 title(s)
[10:40:52] bd: scanning title 4
[10:40:52] bd: playlist 00004.MPLS
[10:40:52] bd: duration is 02:15:07 (8107599 ms)
[10:40:52] bd: video id=0x1011, stream type=H.264, format 1080p
[10:40:52] bd: aspect = 16:9
[10:40:52] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[10:40:52] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[10:40:52] bd: audio id=0x711101, lang=English (DTS), 3cc=eng
[10:40:52] bd: audio id=0x1101, lang=English (DTS-HD MA), 3cc=eng
[10:40:52] bd: audio id=0x1102, lang=English (AC3), 3cc=eng
[10:40:52] bd: subtitle id=0x1200, lang=English (PGS), 3cc=eng
[10:40:52] bd: chap 1, 662536 ms
[10:40:52] bd: chap 2, 1086293 ms
[10:40:52] bd: chap 3, 915956 ms
[10:40:52] bd: chap 4, 1033615 ms
[10:40:52] bd: chap 5, 1426508 ms
[10:40:52] bd: chap 6, 1368283 ms
[10:40:52] bd: chap 7, 670711 ms
[10:40:52] bd: chap 8, 943150 ms
[10:40:52] bd: chap 9, 542 ms
[10:40:52] bd: title 4 has 9 chapters
[10:40:52] scan: decoding previews for title 4
[10:40:52] scan: title angle(s) 1
[10:40:52] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS, 5.1 ch, 1536 kbps)
[10:40:52] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA, 5.1 ch)
[10:40:52] scan: audio 0x711101: dca, rate=48000Hz, bitrate=1536000 English (DTS, 2.0 ch, 1536 kbps)
[10:40:52] scan: audio 0x1101: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA, 2.0 ch)
[10:40:52] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, 192 kbps)
[10:40:54] using container PAR 1:1
[10:40:54] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 132/132/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left
[10:40:54] scan: supported video decoders: avcodec qsv
[10:40:54] stream: 10 good frames, 0 errors (0%)
[10:40:54] libhb: scan thread found 1 valid title(s)
[10:40:54] Starting Task: Subtitle Scan
[10:40:54] work: skipping crop/scale filter
[10:40:54] work: only 1 chapter, disabling chapter markers
[10:40:54] job configuration:
[10:40:54]  * source
[10:40:54]    + D:\Users\whowho\Videos\hbexp\whatwhat
[10:40:54]    + title 4, chapter(s) 7 to 7
[10:40:54]  * destination
[10:40:54]    + D:\Users\whowho\Videos\hbexp\whatwhat\rahrahTest\rahrah-1080p-H.2b5-qsv.mp4
[10:40:54]    + container: MPEG-4 (libavformat)
[10:40:54]  * video track
[10:40:54]    + decoder: h264_qsv 8-bit (nv12)
[10:40:54]      + bitrate 200 kbps
[10:40:54]    + filter
[10:40:54]      + Framerate Shaper (mode=0)
[10:40:54]        + frame rate: same as source (around 23.976 fps)
[10:40:54]    + Output geometry
[10:40:54]      + storage dimensions: 1920 x 1080
[10:40:54]      + pixel aspect ratio: 1 : 1
[10:40:54]      + display dimensions: 1920 x 1080
[10:40:54]  * Foreign Audio Search: Render/Burn-in, Forced Only
[10:40:54]    + subtitle, English (PGS) (track 0, id 0x1200, Picture)
[10:40:54] sync: expecting 16081 video frames
[10:40:58] reader: end of chapter 7 (media 7) reached at media chapter 8
[10:40:58] reader: done. 2 scr changes
[10:40:58] work: average encoding speed for job is 0.000000 fps
[10:40:58] vfr: 0 frames output, 0 dropped
[10:40:58] vfr: lost time: 0 (0 frames)
[10:40:58] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:40:58] stream: 16080 good frames, 0 errors (0%)
[10:40:58] h264_qsv-decoder done: 0 frames, 0 decoder errors
[10:40:58] sync: got 0 frames, 16081 expected
[10:40:58] Subtitle track 0 (id 0x1200) 'English (PGS)': 55 hits (0 forced)
[10:40:58] No candidate detected during subtitle scan
[10:40:58] Starting Task: Encoding Pass
[10:40:58] work: skipping crop/scale filter
[10:40:58] work: track 1, dithering not supported by codec
[10:40:58] work: only 1 chapter, disabling chapter markers
[10:40:58] job configuration:
[10:40:58]  * source
[10:40:58]    + D:\Users\whowho\Videos\hbexp\whatwhat
[10:40:58]    + title 4, chapter(s) 7 to 7
[10:40:58]  * destination
[10:40:58]    + D:\Users\whowho\Videos\hbexp\whatwhat\rahrahTest\rahrah-1080p-H.2b5-qsv.mp4
[10:40:58]    + container: MPEG-4 (libavformat)
[10:40:58]  * video track
[10:40:58]    + decoder: h264_qsv 8-bit (nv12)
[10:40:58]      + bitrate 200 kbps
[10:40:58]    + filter
[10:40:58]      + Framerate Shaper (mode=0)
[10:40:58]        + frame rate: same as source (around 23.976 fps)
[10:40:58]    + Output geometry
[10:40:58]      + storage dimensions: 1920 x 1080
[10:40:58]      + pixel aspect ratio: 1 : 1
[10:40:58]      + display dimensions: 1920 x 1080
[10:40:58]    + encoder: H.265 (Intel Media SDK)
[10:40:58]      + preset:  speed
[10:40:58]      + options: lowpower=0
[10:40:58]      + profile: auto
[10:40:58]      + level:   auto
[10:40:58]      + quality: 25.00 (ICQ)
[10:40:58]      + color profile: 1-1-1
[10:40:58]      + chroma location: left
[10:40:58]  * audio track 1
[10:40:58]    + decoder: English (DTS, 5.1 ch, 1536 kbps) (track 1, id 0x711100)
[10:40:58]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[10:40:58]    + mixdown: Stereo
[10:40:58]    + encoder: AAC (libavcodec)
[10:40:58]      + bitrate: 160 kbps, samplerate: 48000 Hz
[10:40:58] sync: expecting 16081 video frames
[10:40:59] encqsvInit: using full QSV via video memory path
[10:40:59] encqsvInit: H.265/HEVC Main profile @ level (null)
[10:40:59] encqsvInit: TargetUsage 7 AsyncDepth 6
[10:40:59] encqsvInit: GopRefDist 8 GopPicSize 48 NumRefFrame 4 IdrInterval 0
[10:40:59] encqsvInit: BFramesMax 7 BRefType pyramid
[10:40:59] encqsvInit: RateControlMethod ICQ ICQQuality 25
[h264_qsv @ 0000020758879800] Invalid pkt_timebase, passing timestamps as-is.


[10:41:15] Worker process exited!
[10:41:15] Worker process exit was not expected.

 # Job Failed (-12)


Post Reply