1 Reply Latest reply on Mar 28, 2018 12:55 PM by carlos_intel

    Intel media SDK can't be accessed

    Artim

      For a while now I use Handbrake in combination with the Media SDK for transcoding videos quickly with the QuickSync hardware accelerator if needed. But I think for already a few Win10 updates it's not working anymore. Handbrake 1.0.7 is just crashing before I could even take a look into the activity logs, while 0.10.3 (which I'm using because of the AAC FDK encoder since the FFMPEG one is crap) isn't exactly crashing, but it isn't  reallydoing anything else either and the encoding log stays at

      [spoiler]

      HandBrake 0.10.3.0 - 64bit Version

      OS: Microsoft Windows NT 6.2.9200.0 - 64bit

      CPU: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz

      Ram: 8076 MB,

      GPU Information:

      Intel(R) HD Graphics Family - 20.19.15.4531

      Screen: 1366x768

      Temp Dir: C:\Users\Richa\AppData\Local\Temp\

      Install Dir: C:\Program Files\Handbrake

      Data Dir: C:\Users\Richa\AppData\Roaming\HandBrake Team\HandBrake\0.10.3.0

       

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

      CLI Query: -i "D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv" -t 1 --angle 1 -c 1-12 -o "D:\Filme\Within Temptation - Black Symphony - Bonuskonzert qsv.mkv" -f mkv --deinterlace="fast" --crop 0:0:0:0 --strict-anamorphic --modulus 2 -e qsv_h264 -b 5000 --cfr -a 1,2 -E copy,flac24 -6 none,5point1 -R Auto,48 -B 0,160 -D 0,0 --gain 0,0 --aname="Stereo,5.1" --audio-fallback ac3 --markers="C:\Users\Richa\AppData\Local\Temp\Within Temptation - Black Symphony - Bonuskonzert qsv-1-chapters.csv" --encoder-preset=quality --verbose=1

       

      [21:16:02] hb_init: starting libhb thread

      HandBrake 0.10.3 (2016012200) - MinGW x86_64 - https://handbrake.fr

      4 CPUs detected

      Opening D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv...

      [21:16:02] CPU: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz

      [21:16:02] - Intel microarchitecture Haswell

      [21:16:02] - logical processor count: 4

      [21:16:02] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4400

      [21:16:02] - OpenCL version: 1.2

      [21:16:02] - driver version: 20.19.15.4531

      [21:16:02] - device type: GPU

      [21:16:02] - supported: YES

      [21:16:02] Intel Quick Sync Video support: yes

      [21:16:02] - Intel Media SDK hardware: API 1.19 (minimum: 1.3)

      [21:16:02] - Intel Media SDK software: API 1.23 (minimum: 1.3)

      [21:16:02] - H.264 encoder: yes

      [21:16:02] - preferred implementation: hardware (any)

      [21:16:02] - H.265 encoder: no

      [21:16:02] hb_scan: path=D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv, title_index=1

      libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv/BDMV/index.bdmv

      libbluray/bdnav/index_parse.c:162: indx_parse(): error opening D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv/BDMV/BACKUP/index.bdmv

      libbluray/bluray.c:2182: nav_get_title_list(D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv) failed

      [21:16:03] bd: not a bd - trying as a stream/file instead

      libdvdnav: Using dvdnav version 5.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

      [21:16:03] dvd: not a dvd - trying as a stream/file instead

      Input #0, matroska,webm, from 'D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv':

      Metadata:

      CREATION_TIME : 2018-03-01T18:05:19Z

      ENCODER : Lavf55.12.0

      Duration: 01:02:01.60, start: 0.000000, bitrate: N/A

      Chapter #0.0: start 0.000000, end 76.000000

      Metadata:

      title : Intro

      Chapter #0.1: start 76.067000, end 349.000000

      Metadata:

      title : Jillian (I'd Give My Heart)

      Chapter #0.2: start 349.067000, end 694.267000

      Metadata:

      title : The Howling

      Chapter #0.3: start 694.334000, end 994.600000

      Metadata:

      title : The Cross

      Chapter #0.4: start 994.667000, end 1332.800000

      Metadata:

      title : Hand Of Sorrow

      Chapter #0.5: start 1332.867000, end 1682.600000

      Metadata:

      title : The Heart Of Everything

      Chapter #0.6: start 1682.667000, end 2041.933000

      Metadata:

      title : Restless

      Chapter #0.7: start 2042.000000, end 2361.933000

      Metadata:

      title : Our Solemn Hour

      Chapter #0.8: start 2362.000000, end 2714.733000

      Metadata:

      title : Mother Earth

      Chapter #0.9: start 2714.800000, end 2989.467000

      Metadata:

      title : Jane Doe

      Chapter #0.10: start 2989.534000, end 3419.700000

      Metadata:

      title : The Truth Beneath The Rose

      Chapter #0.11: start 3419.767000, end 3721.500000

      Metadata:

      title : All I Need

      Stream #0.0: Video: h264 (High), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 30 fps, 1k tbn, 60 tbc (default)

      Stream #0.1: Audio: aac, 48000 Hz, stereo, fltp (default)

      Metadata:

      title : Stereo

      Stream #0.2: Audio: flac, 48000 Hz, 5.1, s32

      Metadata:

      title : 5.1

      [21:16:03] scan: decoding previews for title 1

      [21:16:03] scan: audio 0x1: aac, rate=48000Hz, bitrate=1 Unknown (AAC) (2.0 ch)

      [21:16:03] scan: audio 0x2: flac, rate=48000Hz, bitrate=1 Unknown (FLAC) (5.1 ch)

      Scanning title 1 of 1, preview 5, 50.00 %[21:16:03] scan: 10 previews, 720x576, 30.000 fps, autocrop = 6/32/12/0, aspect 16:9, PAR 64:45

      [21:16:03] libhb: scan thread found 1 valid title(s)

      + title 1:

      + stream: D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv

      + duration: 01:02:01

      + size: 720x576, pixel aspect: 64/45, display aspect: 1.78, 30.000 fps

      + autocrop: 6/32/12/0

      + support opencl: yes

      + support hwd: yes

      + chapters:

      + 1: cells 0->0, 0 blocks, duration 00:01:16

      + 2: cells 0->0, 0 blocks, duration 00:04:33

      + 3: cells 0->0, 0 blocks, duration 00:05:45

      + 4: cells 0->0, 0 blocks, duration 00:05:00

      + 5: cells 0->0, 0 blocks, duration 00:05:38

      + 6: cells 0->0, 0 blocks, duration 00:05:50

      + 7: cells 0->0, 0 blocks, duration 00:05:59

      + 8: cells 0->0, 0 blocks, duration 00:05:20

      + 9: cells 0->0, 0 blocks, duration 00:05:53

      + 10: cells 0->0, 0 blocks, duration 00:04:35

      + 11: cells 0->0, 0 blocks, duration 00:07:10

      + 12: cells 0->0, 0 blocks, duration 00:05:02

      + audio tracks:

      + 1, Unknown (AAC) (2.0 ch) (iso639-2: und)

      + 2, Unknown (FLAC) (5.1 ch) (iso639-2: und)

      + subtitle tracks:

      Reading chapter markers from file C:\Users\Richa\AppData\Local\Temp\Within Temptation - Black Symphony - Bonuskonzert qsv-1-chapters.csv

      [21:16:03] 1 job(s) to process

      [21:16:03] starting job

      [21:16:03] do_job: QSV: full path, removing unsupported filter 'Framerate Shaper'

      [21:16:03] Fast Deinterlace thread started for segment 0

      [21:16:03] Auto Passthru: allowed codecs are AAC, AC3, DTS, DTS-HD, MP3

      [21:16:03] Fast Deinterlace thread started for segment 1

      [21:16:03] Fast Deinterlace thread started for segment 2

      [21:16:03] Auto Passthru: fallback is AC3

      [21:16:03] Auto Passthru: using AAC Passthru for track 1

      [21:16:03] Fast Deinterlace thread started for segment 3

      [21:16:03] work: compression level not specified, track 2 setting compression level 5.00

      [21:16:03] sync: expecting 111645 video frames

      [21:16:03] job configuration:

      [21:16:03] * source

      [21:16:03] + D:\Filme\Within Temptation - Black Symphony - Bonuskonzert.mkv

      [21:16:03] + title 1, chapter(s) 1 to 12

      [21:16:03] + container: matroska,webm

      [21:16:03] * destination

      [21:16:03] + D:\Filme\Within Temptation - Black Symphony - Bonuskonzert qsv.mkv

      [21:16:03] + container: Matroska (libavformat)

      [21:16:03] + chapter markers

      [21:16:03] * video track

      [21:16:03] + decoder: h264_qsv

      [21:16:03] + filters

      [21:16:03] + Quick Sync Video user filter (pre) (default settings)

      [21:16:03] + copy data to system memory

      [21:16:03] + Deinterlace (0)

      [21:16:03] + Quick Sync Video user filter (post) (default settings)

      [21:16:03] + copy data to opaque memory

      [21:16:03] + strict anamorphic

      [21:16:03] + storage dimensions: 720 * 576, mod 2

      [21:16:03] + pixel aspect ratio: 64 / 45

      [21:16:03] + display dimensions: 1024 * 576

      [21:16:03] + encoder: H.264 (Intel Media SDK)

      [21:16:03] + preset: quality

      [21:16:03] + bitrate: 5000 kbps, pass: 0

      [21:16:03] * audio track 1

      [21:16:03] + name: Stereo

      [21:16:03] + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)

      [21:16:03] + samplerate: 48000 Hz

      [21:16:03] + AAC Passthru

      [21:16:03] * audio track 2

      [21:16:03] + name: 5.1

      [21:16:03] + decoder: Unknown (FLAC) (5.1 ch) (track 2, id 0x2)

      [21:16:03] + samplerate: 48000 Hz

      [21:16:03] + mixdown: 5.1 Channels

      [21:16:03] + encoder: FLAC 24-bit (libavcodec)

      [21:16:03] + samplerate: 48000 Hz

      [21:16:03] + compression level: 5.00

      [21:16:03] reader: first SCR 6030 id 0x0 DTS 6030

      [21:16:03] encqsvInit: using full QSV path

      [21:16:03] encqsvInit: TargetUsage 2 AsyncDepth 4

      [21:16:03] encqsvInit: GopRefDist 3 GopPicSize 30 NumRefFrame 3

      [21:16:03] encqsvInit: BFrames on BPyramid off

      [21:16:03] encqsvInit: AdaptiveI off AdaptiveB off

      [21:16:03] encqsvInit: RateControlMethod LA TargetKbps 5000 LookAheadDepth 40

      [21:16:03] encqsvInit: LookAheadDS off

      [21:16:03] encqsvInit: CAVLC off

      [21:16:03] encqsvInit: Trellis off

      [21:16:03] encqsvInit: H.264 profile High @ level 3.1 [/spoiler]

       

      respectively at 00.01%. No problems if I don't explicitly use H.264 qsv. So Handbrake itself seems to see qsv because of tthe Media SDK, but somehow can't use it.

       

      I have already reinstalled the Media SDK, even tried the 2016 version but no change. Also installing with Windows' compatibility settings didn't do anything.

       

      One thing I noticed is that Intel writes on https://software.intel.com/en-us/media-sdk/choose-download/client about a INTELMEDIASDK_WINSDK_PATH which would be initialised after installation, but it isn't showing up where all the other PATH variables are. Also manually setting it like described here https://github.com/Intel-Media-SDK/samples/tree/master/samples doesn't make really sense since Windows can fidn that opencl.dll only in C:\Windows\system32\ and that folder is already a system variable as %SystemRoot%\system32

      I also found a Tool for system analyses that seems to ship inside the SDK installer, but that isn't really helping either:

      [hide]

      Intel(R) Media Server Studio 2017 - System Analyzer (64-bit)

       

       

      The following versions of Media SDK API are supported by platform/driver

      [opportunistic detection of MSDK API > 1.23]:

       

      Version Target Supported Dec Enc

      1.0 HW Yes X X

      1.0 SW Yes X X

      1.1 HW Yes X X

      1.1 SW Yes X X

      1.2 HW Yes X X

      1.2 SW Yes X X

      1.3 HW Yes X X

      1.3 SW Yes X X

      1.4 HW Yes X X

      1.4 SW Yes X X

      1.5 HW Yes X X

      1.5 SW Yes X X

      1.6 HW Yes X X

      1.6 SW Yes X X

      1.7 HW Yes X X

      1.7 SW Yes X X

      1.8 HW Yes X X

      1.8 SW Yes X X

      1.9 HW Yes X X

      1.9 SW Yes X X

      1.10 HW Yes X X

      1.10 SW Yes X X

      1.11 HW Yes X X

      1.11 SW Yes X X

      1.12 HW Yes X X

      1.12 SW Yes X X

      1.13 HW Yes X X

      1.13 SW Yes X X

      1.14 HW Yes X X

      1.14 SW Yes X X

      1.15 HW Yes X X

      1.15 SW Yes X X

      1.16 HW Yes X X

      1.16 SW Yes X X

      1.17 HW Yes X X

      1.17 SW Yes X X

      1.18 HW Yes X X

      1.18 SW Yes X X

      1.19 HW Yes X X

      1.19 SW Yes X X

      1.20 HW No

      1.20 SW Yes X X

      1.21 HW No

      1.21 SW Yes X X

      1.22 HW No

      1.22 SW Yes X X

      1.23 HW No

      1.23 SW Yes X X

       

      Graphics Devices:

      Name Version State

      Intel(R) HD Graphics Family 20.19.15.4531 Active

       

      System info:

      CPU: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz

      OS: Microsoft Windows 10 Pro

      Arch: 64-Bit

       

      Installed Media SDK packages (be patient...processing takes some time):

      Intel(R) Media SDK 2017 R1

       

      Installed Media SDK DirectShow filters:

       

      Installed Intel Media Foundation Transforms:

      Intel(R) Hardware M-JPEG Decoder MFT : {00C69F81-0524-48C0-A353-4DD9D54F9A6E}

      Intel(R) Hardware VP8 Sync Decoder MFT : {451E3CB7-2622-4BA5-8E1D-44B3C41D0924}

      Intel(R) Hardware VP8 Decoder MFT : {6D856398-834E-4A89-8EE5-071BB3F58BE4}

       

       

       

      Analysis complete... [press ENTER] [/hide]

       

      Also reinstalling Handbrake doesn't help at this point.

       

       

      Has anyone any idea what's going wrong and how that could be fixed? I mean it wasn't any update of Handbrake or the Media SDK that broke anything since it just stopped working.

       

      PS: it seems UBB code isn't supported here so I have no idea how to hide those huge outputs. But I colored it so at least it's a visible difference