Cannot decode H.265 video using QSV
Video track will not encode, Audio track passthru's fine.
Steps to reproduce the problem (If Applicable):
Load following file into handbrake:
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Format Range@L6.2@High
Codec ID : hev1
Codec ID/Info : High Efficiency Video Coding
Duration : 1 min 0 s
Bit rate : 3 940 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 60.000 FPS
Minimum frame rate : 58.824 FPS
Maximum frame rate : 62.500 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Check use Intel QSV for decoding
Check use Intel QSV for decoding for non-QSV encoders
Start encode
HandBrake version (e.g., 1.0.0):
1.3.3
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 Latest
HandBrake Activity Log ***required*** (see How-to get an activity log)
Code: Select all
HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Ram: 32165 MB,
GPU Information:
Intel(R) UHD Graphics 630 - 27.20.100.8476
NVIDIA GeForce RTX 2080 Ti - 27.21.14.5167
Screen: 3440x1440
Temp Dir: C:\Users\grizzly\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\grizzly\AppData\Roaming\HandBrake
-------------------------------------------
# Starting Encode ...
[01:21:16] base preset: H.265 MKV x265 Medium Transcode (Modified)
[13:21:16] hb_init: starting libhb thread
[13:21:16] Starting work at: Fri Aug 07 13:21:16 2020
[13:21:16] 1 job(s) to process
[13:21:16] json job:
{
"Audio": {
"AudioList": [
{
"DRC": 0.0,
"Encoder": "copy:aac",
"Gain": 0.0,
"Mixdown": -1,
"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"
],
"FallbackEncoder": "av_aac"
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "C:\\Users\\grizzly\\Videos\\Test1minQSV.m4v",
"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": 12,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "0"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "C:\\Users\\grizzly\\Videos\\Master Recordings\\test1min.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": "qsv_h265",
"Level": "auto",
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "",
"Preset": "quality",
"Profile": "auto",
"Quality": 20.0,
"QSV": {
"Decode": true,
"AsyncDepth": 0
}
}
}
[13:21:16] CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
[13:21:16] - Intel microarchitecture Kaby Lake
[13:21:16] - logical processor count: 12
[13:21:16] Intel Quick Sync Video support: yes
[13:21:16] - Intel Media SDK hardware: API 1.32 (minimum: 1.3)
[13:21:16] - H.264 encoder: yes
[13:21:16] - preferred implementation: hardware (any) via D3D11
[13:21:16] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[13:21:16] - H.265 encoder: yes (8bit: yes, 10bit: yes)
[13:21:16] - preferred implementation: hardware (any) via D3D11
[13:21:16] - capabilities (hardware): bpyramid icq vsinfo opt1
[13:21:16] hb_scan: path=C:\Users\grizzly\Videos\Master Recordings\test1min.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\grizzly\Videos\Master Recordings\test1min.mp4
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
src/libbluray/bluray.c:2585: nav_get_title_list(C:\Users\grizzly\Videos\Master Recordings\test1min.mp4\) failed
[13:21:16] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[13:21:16] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\grizzly\Videos\Master Recordings\test1min.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf58.47.100
Duration: 00:01:00.00, start: 0.000000, bitrate: 4272 kb/s
Stream #0:0(und): Video: hevc (Rext) (hev1 / 0x31766568), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3940 kb/s, 60 fps, 60 tbr, 16k tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 320 kb/s (default)
Metadata:
handler_name : SoundHandler
[13:21:16] scan: decoding previews for title 1
[13:21:16] scan: audio 0x1: aac, rate=44100Hz, bitrate=320003 Unknown (AAC LC) (2.0 ch) (320 kbps)
[13:21:16] scan: 10 previews, 1920x1080, 60.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[13:21:16] scan: supported video decoders: avcodec qsv
[13:21:16] libhb: scan thread found 1 valid title(s)
[13:21:16] Skipping subtitle scan. No suitable subtitle tracks.
[13:21:16] Starting Task: Encoding Pass
[13:21:16] Skipping vfr filter
[13:21:16] Skipping crop/scale filter
[13:21:16] work: only 1 chapter, disabling chapter markers
[13:21:16] job configuration:
[13:21:16] * source
[13:21:16] + C:\Users\grizzly\Videos\Master Recordings\test1min.mp4
[13:21:16] + title 1, chapter(s) 1 to 1
[13:21:16] + container: mov,mp4,m4a,3gp,3g2,mj2
[13:21:16] + data rate: 4272 kbps
[13:21:16] * destination
[13:21:16] + C:\Users\grizzly\Videos\Test1minQSV.m4v
[13:21:16] + container: MPEG-4 (libavformat)
[13:21:16] * video track
[13:21:16] + decoder: hevc_qsv
[13:21:16] + bitrate 3940 kbps
[13:21:16] + filters
[13:21:16] + 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)
[13:21:16] + Decomb (mode=39)
[13:21:16] + Output geometry
[13:21:16] + storage dimensions: 1920 x 1080
[13:21:16] + pixel aspect ratio: 1 : 1
[13:21:16] + display dimensions: 1920 x 1080
[13:21:16] + encoder: H.265 (Intel Media SDK)
[13:21:16] + preset: quality
[13:21:16] + profile: auto
[13:21:16] + level: auto
[13:21:16] + quality: 20.00 (ICQ)
[13:21:16] + color profile: 1-1-1
[13:21:16] * audio track 1
[13:21:16] + decoder: Unknown (AAC LC) (2.0 ch) (320 kbps) (track 1, id 0x1)
[13:21:16] + bitrate: 320 kbps, samplerate: 44100 Hz
[13:21:16] + AAC Passthru
[13:21:16] sync: expecting 3600 video frames
[13:21:17] encqsvInit: using encode-only path
[13:21:17] encqsvInit: H.265/HEVC Main profile @ level 5.0
[13:21:17] encqsvInit: TargetUsage 1 AsyncDepth 5
[13:21:17] encqsvInit: GopRefDist 3 GopPicSize 60 NumRefFrame 6
[13:21:17] encqsvInit: BFramesMax 2 BRefType off
[13:21:17] encqsvInit: RateControlMethod ICQ ICQQuality 20
[13:21:17] sync: first pts audio 0x1 is 0
[13:21:17] reader: done. 1 scr changes
[13:21:17] qsv_enc_init: using 'hardware (2) via D3D11' implementation, API: 1.32
[13:21:17] work: average encoding speed for job is 0.000000 fps
[13:21:17] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[13:21:17] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[13:21:17] aac-decoder done: 2584 frames, 0 decoder errors
[13:21:17] hevc_qsv-decoder done: 0 frames, 3601 decoder errors
[13:21:17] sync: got 0 frames, 3600 expected
[13:21:17] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[13:21:17] mux: track 1, 2584 frames, 2400041 bytes, 320.01 kbps, fifo 4096
[13:21:17] Finished work at: Fri Aug 07 13:21:17 2020
[13:21:17] libhb: work result = 0
# Encode Completed ...