Blade Runner 2049 and Intel QSV fails

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
HTNut
Posts: 6
Joined: Sat Jun 02, 2018 1:06 am

Blade Runner 2049 and Intel QSV fails

Post by HTNut » Thu Jun 07, 2018 6:44 am

Description of problem or question:
Ripped Blade Runner 2049 Bluray using MakeMKV, plays fine. Transcode to MP4 using H.264 (x264), plays fine. Transcode to MP4 using H.264 (QSV) or H.265 (QSV) and the resultant video plays fine for 1 second, garbled for 1 second, fine for 1 second, garbled for 1 second, ad nauseum. Same result with any video player. Garbled looks like random blocks. As a reference, Spaceballs transcode using H.264 (QSV) and H.265 (10 bit QSV) plays fine.



Steps to reproduce the problem (If Applicable):




HandBrake version (e.g., 1.0.0):
1.1.0



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



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

Code: Select all

HandBrake 1.1.0 (2018040700) - 64bit
OS: Microsoft Windows NT 10.0.17134.0 - 64bit
CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Ram: 16194 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 24.21.13.9793
  Intel(R) UHD Graphics 630 - 22.20.16.4758
Screen: 1920x1080
Temp Dir: C:\Users\timf9\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\timf9\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[22:37:35] hb_init: starting libhb thread
[22:37:35] 1 job(s) to process
[22:37:35] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 6,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "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"
      },
      {
        "Name": "Chapter 10"
      },
      {
        "Name": "Chapter 11"
      },
      {
        "Name": "Chapter 12"
      },
      {
        "Name": "Chapter 13"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "F:\\Videos\\MP4\\Blade Runner 2049 (2017) H.264-8-24 HW.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 8,
        "Settings": {
          "cb-spatial": "7",
          "cb-temporal": "5",
          "cr-spatial": "7",
          "cr-temporal": "5",
          "y-spatial": "7",
          "y-temporal": "5"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "140",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "140",
          "height": "800",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "F:\\Videos\\MKV\\Blade Runner 2049 (2017).mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 256,
    "Level": "auto",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "balanced",
    "Profile": "auto",
    "Quality": 24.0,
    "HWDecode": false,
    "QSV": {
      "Decode": true,
      "AsyncDepth": 0
    }
  }
}
[22:37:35] CPU: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
[22:37:35]  - Intel microarchitecture Kaby Lake
[22:37:35]  - logical processor count: 12
[22:37:35] Intel Quick Sync Video support: yes
[22:37:35]  - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[22:37:35]  - H.264 encoder: yes
[22:37:35]     - preferred implementation: hardware (any) via D3D11
[22:37:35]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[22:37:35]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[22:37:35]     - preferred implementation: hardware (any) via D3D11
[22:37:35]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[22:37:35] hb_scan: path=F:\Videos\MKV\Blade Runner 2049 (2017).mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image F:\Videos\MKV\Blade Runner 2049 (2017).mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[22:37:35] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[22:37:35] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'F:\Videos\MKV\Blade Runner 2049 (2017).mkv':
  Metadata:
    title           : Blade Runner 2049
  Duration: 02:43:47.81, start: 0.000000, bitrate: 29415 kb/s
    Chapter #0:0: start 0.000000, end 770.269500
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 770.269500, end 1423.380292
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 1423.380292, end 2234.857625
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 2234.857625, end 2584.248333
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 2584.248333, end 2978.600625
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2978.600625, end 3529.609417
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 3529.609417, end 3864.485625
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3864.485625, end 4561.014792
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 4561.014792, end 5126.412958
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 5126.412958, end 5789.158375
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 5789.158375, end 6668.953958
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 6668.953958, end 7310.761792
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 7310.761792, end 7734.476750
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 7734.476750, end 8216.583375
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 8216.583375, end 8880.913708
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 8880.913708, end 9827.818000
    Metadata:
      title           : Chapter 16
    Stream #0:0(eng): Video: h264 (High)
      yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], PAR 1:1 DAR 16:9
      23.98 fps, 1k tbn
    Metadata:
      BPS-eng         : 20335957
      DURATION-eng    : 02:43:47.818000000
      NUMBER_OF_FRAMES-eng: 235632
      NUMBER_OF_BYTES-eng: 24982260623
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.6 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-19 01:09:08
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd
      48000 Hz, 7.1, s32 (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 3710312
      DURATION-eng    : 02:43:47.818333333
      NUMBER_OF_FRAMES-eng: 11793382
      NUMBER_OF_BYTES-eng: 4558034946
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.6 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-19 01:09:08
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: dts (DTS-HD MA)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 3825851
      DURATION-eng    : 02:43:47.818666666
      NUMBER_OF_FRAMES-eng: 921358
      NUMBER_OF_BYTES-eng: 4699971748
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.6 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-19 01:09:08
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Audio: dts (DTS)
      48000 Hz, 5.1, fltp, 1536 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 02:43:47.818666666
      NUMBER_OF_FRAMES-eng: 921358
      NUMBER_OF_BYTES-eng: 1853772296
      SOURCE_ID-eng   : 001101
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.6 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-19 01:09:08
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 21227
      DURATION-eng    : 02:29:22.557770833
      NUMBER_OF_FRAMES-eng: 2716
      NUMBER_OF_BYTES-eng: 23781506
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.6 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-03-19 01:09:08
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5: Video: mjpeg
      yuvj420p, pc, bt470bg/unknown/unknown
      640x360 [PAR 96:96 DAR 16:9]
      90k tbn
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
[22:37:35] scan: decoding previews for title 1
[22:37:35] scan: audio 0x1: truehd, rate=48000Hz, bitrate=1 English (TrueHD) (7.1 ch)
[22:37:35] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[22:37:35] scan: audio 0x3: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[22:37:35] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1
[22:37:35] scan: supported video decoders: avcodec qsv
[22:37:35] libhb: scan thread found 1 valid title(s)
[22:37:35] starting job
[22:37:35] work: track 1, dithering not supported by codec
[22:37:35] job configuration:
[22:37:35]  * source
[22:37:35]    + F:\Videos\MKV\Blade Runner 2049 (2017).mkv
[22:37:35]    + title 1, chapter(s) 1 to 16
[22:37:35]    + container: matroska,webm
[22:37:35]    + data rate: 29415 kbps
[22:37:35]  * destination
[22:37:35]    + F:\Videos\MP4\Blade Runner 2049 (2017) H.264-8-24 HW.mp4
[22:37:35]    + container: MPEG-4 (libavformat)
[22:37:35]      + align initial A/V stream timestamps
[22:37:35]      + chapter markers
[22:37:35]  * video track
[22:37:35]    + decoder: h264_qsv
[22:37:35]    + filters
[22:37:35]      + Framerate Shaper (mode=0)
[22:37:35]        + frame rate: same as source (around 23.976 fps)
[22:37:35]      + Denoise (hqdn3d) (y-spatial=7:cb-spatial=7:cr-spatial=7:y-temporal=5:cb-temporal=5:cr-temporal=5)
[22:37:35]      + Crop and Scale (width=1920:height=800:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0)
[22:37:35]        + source: 1920 * 1080, crop (140/140/0/0): 1920 * 800, scale: 1920 * 800
[22:37:35]    + Output geometry
[22:37:35]      + storage dimensions: 1920 x 800
[22:37:35]      + pixel aspect ratio: 1 : 1
[22:37:35]      + display dimensions: 1920 x 800
[22:37:35]    + encoder: H.264 (Intel Media SDK)
[22:37:35]      + preset:  balanced
[22:37:35]      + profile: auto
[22:37:35]      + level:   auto
[22:37:35]      + quality: 24.00 (ICQ)
[22:37:35]  * audio track 1
[22:37:35]    + decoder: English (TrueHD) (7.1 ch) (track 1, id 0x1)
[22:37:35]      + samplerate: 48000 Hz
[22:37:35]    + mixdown: Dolby Pro Logic II
[22:37:35]    + encoder: AAC (libavcodec)
[22:37:35]      + bitrate: 160 kbps, samplerate: 48000 Hz
[22:37:35] sync: expecting 235632 video frames
[22:37:35] encqsvInit: using encode-only path
[22:37:35] encqsvInit: H.264/AVC High profile @ level 4.0
[22:37:35] encqsvInit: TargetUsage 4 AsyncDepth 3
[22:37:35] encqsvInit: GopRefDist 3 GopPicSize 24 NumRefFrame 1
[22:37:35] encqsvInit: BFramesMax 2 BRefType off
[22:37:35] encqsvInit: RateControlMethod ICQ ICQQuality 24
[22:37:35] sync: first pts audio 0x1 is 0
[22:37:35] sync: first pts video is 0
[22:37:35] sync: "Chapter 1" (1) at frame 1 time 0
[22:37:36] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.24
[22:40:37] sync: "Chapter 2" (2) at frame 18454 time 69324243
[22:43:09] sync: "Chapter 3" (3) at frame 34115 time 128111722
[22:46:22] sync: "Chapter 4" (4) at frame 53569 time 201137175
[22:47:46] sync: "Chapter 5" (5) at frame 61939 time 232589868
[22:49:19] sync: "Chapter 6" (6) at frame 71392 time 268074067
[22:51:29] sync: "Chapter 7" (7) at frame 84602 time 317668627
[22:52:46] sync: "Chapter 8" (8) at frame 92621 time 347803680
[22:55:28] sync: "Chapter 9" (9) at frame 109319 time 410491320
[22:57:41] sync: "Chapter 10" (10) at frame 122875 time 461377155
[23:00:22] sync: "Chapter 11" (11) at frame 138767 time 521031750
[23:03:53] sync: "Chapter 12" (12) at frame 159850 time 600205867
[23:06:24] sync: "Chapter 13" (13) at frame 175238 time 657968572
[23:08:04] sync: "Chapter 14" (14) at frame 185397 time 696102918
[23:09:59] sync: "Chapter 15" (15) at frame 196947 time 739500033
[23:12:38] sync: "Chapter 16" (16) at frame 212867 time 799282211
[23:16:29] reader: done. 1 scr changes
[23:16:30] work: average encoding speed for job is 100.908440 fps
[23:16:30] vfr: lost time: 0 (0 frames)
[23:16:30] vfr: gained time: 0 (0 frames) (0 not accounted for)
[23:16:30] truehd-decoder done: 11793382 frames, 0 decoder errors
[23:16:30] h264_qsv-decoder done: 235564 frames, 0 decoder errors
[23:16:30] sync: got 235564 frames, 235632 expected
[23:16:30] sync: framerate min 8.000 fps, max 23.981 fps, avg 23.969 fps
[23:16:30] mux: track 0, 235564 frames, 4189346366 bytes, 3410.19 kbps, fifo 1024
[23:16:30] mux: track 1, 460679 frames, 196958564 bytes, 160.33 kbps, fifo 2048
[23:16:30] libhb: work result = 0

# Encode Completed ...



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

Re: Blade Runner 2049 and Intel QSV fails

Post by s55 » Thu Jun 07, 2018 7:31 am

Update your Intel graphics driver and turn off QSV decode in preferences.

HTNut
Posts: 6
Joined: Sat Jun 02, 2018 1:06 am

Re: Blade Runner 2049 and Intel QSV fails

Post by HTNut » Thu Jun 07, 2018 4:07 pm

Testing now, will update later, thanks.

HTNut
Posts: 6
Joined: Sat Jun 02, 2018 1:06 am

Re: Blade Runner 2049 and Intel QSV fails

Post by HTNut » Fri Jun 08, 2018 2:37 am

Works now, thanks for your help s55.

Post Reply