Page 1 of 1

dxva2 did not load in my built version

Posted: 15 Aug 2016 12:33
by kaijajan
I followed vlc wiki to build vlc for debugging purpose (https://wiki.videolan.org/Win32Compile/) and successfully to built it.
However, I noticed dxva2 did not loaded in my build version. No matter what settings were, it loads avcodec instead.
I tried the latest nightly build on vlc website (20160815). DXVA2 does work well in the nightly build.

Build Environment:
Ubuntu 16.04 64Bit (build 32Bit VLC)
I also tried to add "--enable-dxva2" to configuration option.

Did I miss anything at building phase? Or do I need add any other build configuration for it?
Please help for it. Thanks

Re: dxva2 did not load in my built version

Posted: 16 Aug 2016 03:07
by kaijajan
VLC nightly version module snapshot:
Image
VLC nightly version module log:

Code: Select all

core debug: processing request item: ww.mp4, node: null, skip: 0 core debug: rebuilding array of current - root 播放清單 core debug: Creating an input for preparsing 'ww.mp4' core debug: rebuild done - 1 items, index 0 core debug: starting playback of new item core debug: resyncing on ww.mp4 core debug: ww.mp4 is at 0 core debug: creating new input thread core debug: Creating an input for 'ww.mp4' core debug: requesting art for new input thread core debug: using timeshift granularity of 50 MiB core debug: using timeshift path: C:\Users\ARCHER~1\AppData\Local\Temp core debug: looking for meta fetcher module matching "any": 1 candidates core debug: `file:///E:/ww.mp4' gives access `file' demux `' path `/E:/ww.mp4' core debug: specified demux: any core debug: creating demux: access='file' demux='any' location='/E:/ww.mp4' file='E:\ww.mp4' core debug: looking for access_demux module matching "file": 13 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher core debug: no access_demux modules matched core debug: creating access: file:///E:/ww.mp4 lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: (path: E:\ww.mp4) core debug: looking for access module matching "file": 27 candidates core debug: using access module "filesystem" core debug: looking for stream_filter module matching "prefetch,cache_read": 10 candidates cache_read debug: Using stream method for AStream* cache_read debug: starting pre-buffering cache_read debug: received first data after 0 ms cache_read debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s core debug: using stream_filter module "cache_read" core debug: looking for stream_filter module matching "any": 10 candidates core debug: no stream_filter modules matched core debug: looking for stream_filter module matching "record": 10 candidates core debug: using stream_filter module "record" core debug: creating demux: access='file' demux='any' location='/E:/ww.mp4' file='E:\ww.mp4' core debug: looking for demux module matching "mp4": 69 candidates mp4 debug: read box: "mvhd" creation 736091d-27h:27m:42s modification 736091d-27h:27m:42s time scale 90000 duration 0d-00h:03m:00s rate 1.000000 volume 1.000000 next track id 3 mp4 debug: read box: "tkhd" creation 736091d-27h:27m:42s modification 736091d-27h:27m:42s duration 188d-15h:58m:11s track ID 1 layer 0 volume 0.000000 rotation 0.000000 scaleX 1.000000 scaleY 1.000000 translateX 0.000000 translateY 0.000000 width 1280.000000 height 538.000000. Matrix: 65536 0 0 0 65536 0 0 0 1073741824 mp4 debug: read box: "elst" entry-count 1 mp4 debug: read box: "mdhd" creation 736091d-27h:27m:42s modification 736091d-27h:27m:42s time scale 90000 duration 188d-15h:58m:11s language mp4 debug: read box: "hdlr" handler type: "vide" name: "ISO Media file produced by Google Inc." mp4 debug: read box: "url" url: (null) mp4 debug: read box: "dref" entry-count 1 mp4 debug: read box: "avcC" version=1 profile=0x4d level=0x1f length size=4 sps=1 pps=1 mp4 debug: - sps[0] length=28 mp4 debug: - pps[0] length=4 mp4 debug: read box: "vide" in stsd 1280x538 depth 24 () mp4 debug: read box: "stsd" entry-count 1 mp4 debug: read box: "stts" entry-count 2166 mp4 debug: read box: "stsc" entry-count 2 mp4 debug: read box: "co64" entry-count 394 mp4 debug: read box: "stsz" sample-size 0 sample-count 4331 mp4 debug: read box: "stss" entry-count 34 mp4 debug: read box: "ctts" entry-count 3364 mp4 debug: read box: "vmhd" graphics-mode 0 opcolor (0, 0, 0) mp4 debug: read box: "tkhd" creation 736091d-27h:27m:42s modification 736091d-27h:27m:42s duration 188d-16h:16m:52s track ID 2 layer 0 volume 1.000000 rotation 0.000000 scaleX 1.000000 scaleY 1.000000 translateX 0.000000 translateY 0.000000 width 0.000000 height 0.000000. Matrix: 65536 0 0 0 65536 0 0 0 1073741824 mp4 debug: read box: "mdhd" creation 736091d-27h:27m:42s modification 736091d-27h:27m:42s time scale 44100 duration 92d-52h:58m:40s language mp4 debug: read box: "hdlr" handler type: "soun" name: "ISO Media file produced by Google Inc." mp4 debug: read box: "url" url: (null) mp4 debug: read box: "dref" entry-count 1 mp4 debug: read box: "soun" stsd qt_version 0 compid=0 mp4 debug: read box: "soun" V0 or qt1/2 (rest=39) mp4 debug: found esds MPEG4ESDescr (25Bytes) mp4 debug: found esds MP4DecConfigDescr (17Bytes) mp4 debug: found esds MP4DecSpecificDescr (2Bytes) mp4 debug: read box: "soun" in stsd channel 2 sample size 16 sample rate 44100.000000 mp4 debug: read box: "stsd" entry-count 1 mp4 debug: read box: "stts" entry-count 1 mp4 debug: read box: "stsc" entry-count 40 mp4 debug: read box: "co64" entry-count 394 mp4 debug: read box: "stsz" sample-size 0 sample-count 7780 mp4 debug: read box: "smhd" balance 0.000000 mp4 debug: read box: "hdlr" handler type: "mdir" name: "" mp4 debug: read 'data' atom: knowntype=1, country=0 lang=0, size 1 bytes mp4 debug: read 'data' atom: knowntype=1, country=0 lang=0, size 6 bytes mp4 debug: unrecognized major media specification (mp42). mp4 debug: added fragment moov mp4 debug: dumping root Box "root" mp4 debug: | + ftyp size 24 offset 0 mp4 debug: | + moov size 97726 offset 24 mp4 debug: | | + mvhd size 108 offset 32 mp4 debug: | | + trak size 63872 offset 140 mp4 debug: | | | + tkhd size 92 offset 148 mp4 debug: | | | + edts size 36 offset 240 mp4 debug: | | | | + elst size 28 offset 248 mp4 debug: | | | + mdia size 63736 offset 276 mp4 debug: | | | | + mdhd size 32 offset 284 mp4 debug: | | | | + hdlr size 71 offset 316 mp4 debug: | | | | + minf size 63625 offset 387 mp4 debug: | | | | | + dinf size 36 offset 395 mp4 debug: | | | | | | + dref size 28 offset 403 mp4 debug: | | | | | | | + url size 12 offset 419 mp4 debug: | | | | | + stbl size 63561 offset 431 mp4 debug: | | | | | | + stsd size 153 offset 439 mp4 debug: | | | | | | | + avc1 size 137 offset 455 mp4 debug: | | | | | | | | + avcC size 51 offset 541 mp4 debug: | | | | | | + stts size 17344 offset 592 mp4 debug: | | | | | | + stsc size 40 offset 17936 mp4 debug: | | | | | | + stco size 1592 offset 17976 mp4 debug: | | | | | | + stsz size 17344 offset 19568 mp4 debug: | | | | | | + stss size 152 offset 36912 mp4 debug: | | | | | | + ctts size 26928 offset 37064 core debug: meta ok for (null), need to fetch art mp4 debug: | | | | | + vmhd size 20 offset 63992 mp4 debug: | | + trak size 33622 offset 64012 mp4 debug: | | | + tkhd size 92 offset 64020 mp4 debug: | | | + mdia size 33522 offset 64112 mp4 debug: | | | | + mdhd size 32 offset 64120 mp4 debug: | | | | + hdlr size 71 offset 64152 mp4 debug: | | | | + minf size 33411 offset 64223 mp4 debug: | | | | | + dinf size 36 offset 64231 mp4 debug: | | | | | | + dref size 28 offset 64239 mp4 debug: | | | | | | | + url size 12 offset 64255 mp4 debug: | | | | | + stbl size 33351 offset 64267 mp4 debug: | | | | | | + stsd size 91 offset 64275 mp4 debug: | | | | | | | + mp4a size 75 offset 64291 mp4 debug: | | | | | | | | + esds size 39 offset 64327 lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac mp4 debug: | | | | | | + stts size 24 offset 64366 mp4 debug: | | | | | | + stsc size 496 offset 64390 core debug: no meta fetcher modules matched mp4 debug: | | | | | | + stco size 1592 offset 64886 core debug: searching art for ww.mp4 mp4 debug: | | | | | | + stsz size 31140 offset 66478 mp4 debug: | | | | | + smhd size 16 offset 97618 core debug: looking for art finder module matching "any": 2 candidates mp4 debug: | | + udta size 116 offset 97634 mp4 debug: | | | + meta size 108 offset 97642 mp4 debug: | | | | + hdlr size 33 offset 97654 mp4 debug: | | | | + ilst size 63 offset 97687 mp4 debug: | | | | | + gsst size 25 offset 97695 mp4 debug: | | | | | | + data size 17 offset 97703 mp4 debug: | | | | | + gstd size 30 offset 97720 mp4 debug: | | | | | | + data size 22 offset 97728 mp4 debug: | + mdat size 23186373 offset 97750 mp4 debug: found 2 tracks mp4 warning: elst box found mp4 debug: - [0] duration=180638ms media time=41ms) rate=1.0 mp4 debug: track[Id 0x1] read 394 chunk mp4 warning: STTS table of 2166 entries lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art mp4 warning: CTTS table of 3364 entries lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art mp4 debug: track[Id 0x1] read 4331 samples length:180s lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac core debug: selecting program id=0 mp4 debug: adding track[Id 0x1] video (enable) language undef mp4 debug: track[Id 0x2] read 394 chunk mp4 warning: STTS table of 1 entries mp4 debug: track[Id 0x2] read 7780 samples length:180s lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac mp4 debug: adding track[Id 0x2] audio (enable) language undef fragments debug: fragment offset 24, data 9775823284123 @0, durations (null) core debug: using demux module "mp4" core debug: looking for a subtitle file in E:\ core debug: looking for decoder module matching "any": 49 candidates lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac avcodec debug: CPU flags: 0x000053db lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for ww.mp4 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: using meta fetcher module "lua" core debug: removing module "lua" core debug: searching art for ww.mp4 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac avcodec debug: allowing 4 thread(s) for decoding lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac avcodec debug: codec (h264) started avcodec debug: using frame thread mode with 4 threads core debug: using decoder module "avcodec" core debug: looking for decoder module matching "any": 49 candidates lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac core debug: using decoder module "faad" core debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: using meta reader module "taglib" core debug: removing module "taglib" core debug: `file:///E:/ww.mp4' successfully opened core debug: no art finder modules matched mp4 debug: elst (0) gives 0ms (movie)-> 41ms (track) core debug: art not found for ww.mp4 mp4 debug: track[Id 0x1] using Sync Sample Box (stss) core debug: looking for meta fetcher module matching "any": 1 candidates mp4 debug: stss gives 1 --> 0 (sample number) core debug: Buffering 0% core debug: Buffering 7% core debug: Buffering 13% lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher core debug: Buffering 15% avcodec debug: available hardware decoder output format 61 (dxva2_vld) lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher faad warning: decoded zero sample core debug: Buffering 23% avcodec debug: available hardware decoder output format 128 (d3d11va_vld) core debug: Buffering 27% avcodec debug: available software decoder output format 0 (yuv420p) core debug: reusing audio output core debug: Buffering 30% lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: Buffering 38% core debug: looking for aout stream module matching "any": 2 candidates core debug: Buffering 41% core debug: Buffering 46% core debug: Buffering 54% core debug: Buffering 55% core debug: Buffering 61% core debug: Buffering 69% core debug: Buffering 77% core debug: using meta fetcher module "lua" core debug: removing module "lua" core debug: Buffering 83% core debug: searching art for ww.mp4 core debug: Buffering 85% core debug: looking for text renderer module matching "any": 2 candidates core debug: looking for art finder module matching "any": 2 candidates core debug: Buffering 92% core debug: Buffering 97% core debug: Stream buffering done (301 ms in 2 ms) lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for ww.mp4 qt debug: IM: Setting an input core debug: using text renderer module "freetype" core debug: looking for video filter2 module matching "any": 63 candidates swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality) core debug: using video filter2 module "swscale" core debug: looking for video filter2 module matching "any": 63 candidates yuvp debug: YUVP to YUVA converter core debug: using video filter2 module "yuvp" core debug: Deinterlacing available core debug: deinterlace -1, mode blend, is_needed 0 core debug: looking for vout window module matching "qt,any": 3 candidates qt debug: requesting video window... wasapi debug: buffer size : 88200 frames wasapi debug: maximum latency: 000 ns wasapi debug: default period : 10158700 ns wasapi debug: minimum period : 2902500 ns core debug: using aout stream module "wasapi" core debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes core debug: looking for audio volume module matching "any": 2 candidates core debug: using audio volume module "float_mixer" core debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes core debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode core debug: using audio filter module "scaletempo" core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo core debug: conversion pipeline complete core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo core debug: conversion pipeline complete core debug: looking for audio resampler module matching "any": 3 candidates core debug: using audio resampler module "samplerate" core debug: resized to 600x347 core debug: resized to 485x0 core debug: resized to 1280x538 core debug: using vout window module "qt" core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 12 candidates direct3d9 debug: Using Direct3D9 Extended API! direct3d9 debug: creating Vout EventThread direct3d9 debug: Win32VoutCreateWindow core debug: VoutDisplayEvent 'resize' 1280x538 core debug: resized to 1280x538 core debug: VoutDisplayEvent 'resize' 1280x538 direct3d9 debug: created video sub-window direct3d9 debug: Vout EventThread running direct3d9 debug: disabling screen saver direct3d9 debug: Direct3d9 Device: Intel(R) HD Graphics 32902 258 9 core debug: VoutDisplayEvent 'resize' 1296x577 direct3d9 debug: DirectXUpdateRects souce offset: 0,0 visible: 1280x538 direct3d9 debug: DirectXUpdateRects image_src coords: 0,0,1280,544 direct3d9 debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,538 direct3d9 debug: DirectXUpdateRects image_dst coords: 0,0,1296,544 direct3d9 debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1296,544 direct3d9 warning: trying surface pixel format: DXA9 direct3d9 debug: selected surface pixel format is DXA9 direct3d9 debug: Direct3D created texture: 1280x538 direct3d9 debug: Direct3D9 scene created successfully direct3d9 debug: Direct3D9 device adapter successfully initialized core debug: using vout display module "direct3d9" core debug: original format sz 1280x544, of (0,0), vsz 1280x538, 4cc DXA9, sar 1:1, msk r0x0 g0x0 b0x0 core debug: removing module "freetype" core debug: looking for text renderer module matching "any": 2 candidates core debug: VoutDisplayEvent 'resize' 1280x538 direct3d9 debug: DirectXUpdateRects souce offset: 0,0 visible: 1280x538 direct3d9 debug: DirectXUpdateRects image_src coords: 0,0,1280,544 direct3d9 debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,538 direct3d9 debug: DirectXUpdateRects image_dst coords: 0,0,1280,538 direct3d9 debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1280,538 direct3d9 debug: DirectXUpdateRects souce offset: 0,0 visible: 1280x538 direct3d9 debug: DirectXUpdateRects image_src coords: 0,0,1280,544 direct3d9 debug: DirectXUpdateRects image_src_clipped coords: 0,0,1280,538 direct3d9 debug: DirectXUpdateRects image_dst coords: 0,0,1280,538 direct3d9 debug: DirectXUpdateRects image_dst_clipped coords: 0,0,1280,538 core debug: using text renderer module "freetype" core debug: looking for hw decoder module matching "dxva2": 2 candidates directx_va debug: DLLs loaded dxva2 debug: Reusing Direct3D9 device directx_va debug: CreateDevice succeed dxva2 debug: OurDirect3DCreateDeviceManager9 Success! dxva2 info: obtained IDirect3DDeviceManager9 dxva2 info: DXVA2CreateVideoService Success! directx_va debug: - 'MPEG-2 variable-length decoder' is supported by hardware directx_va debug: - 'MPEG-2 inverse discrete cosine transform' is supported by hardware directx_va debug: - 'VC-1 variable-length decoder 2 (Intel)' is supported by hardware directx_va debug: - 'VC-1 variable-length decoder (Intel)' is supported by hardware directx_va debug: - 'H.264 variable-length decoder, no film grain technology (Intel ClearVideo)' is supported by hardware directx_va debug: - 'H.264 variable-length decoder, no film grain technology' is supported by hardware directx_va debug: - 'Unknown decoder 0xa74ccae2-0xf466-0x45ae-0x86f5ab8be8af8483' is supported by hardware directx_va debug: - 'Windows Media Video 9 IDCT' is supported by hardware directx_va debug: - 'VC-1 inverse discrete cosine transform' is supported by hardware directx_va debug: - 'Unknown decoder 0x49761bec-0x4b63-0x4349-0xa5ff87ffdf088466' is supported by hardware directx_va debug: Trying to use 'H.264 variable-length decoder, no film grain technology (Intel ClearVideo)' as input dxva2 debug: NV12 is supported for output dxva2 debug: Using decoder output 'NV12' directx_va debug: directx_va_Setup id 28 1280x544 dxva2 debug: IDirectXVideoAccelerationService_CreateSurface succeed with 24 surfaces (1280x544) dxva2 debug: we got 2 decoder configurations dxva2 debug: configuration[0] ConfigBitstreamRaw 1 dxva2 debug: configuration[1] ConfigBitstreamRaw 1 dxva2 debug: IDirectXVideoDecoderService_CreateVideoDecoder succeed core debug: using hw decoder module "dxva2" avcodec info: Using DXVA2 (, vendor 0(Unknown), device 0, revision 0) for hardware decoding core debug: resized to 1280x538 core debug: VoutDisplayEvent 'resize' 1280x538 core debug: Received first picture core debug: Decoder wait done in 449 ms direct3d9 debug: Created 124x36 texture for OSD core debug: inserting 1465 zeroes mmdevice debug: state changed: 1

Re: dxva2 did not load in my built version

Posted: 16 Aug 2016 03:09
by kaijajan
VLC my built version module snapshot (dxva2 not working):
Image
VLC my built version module log (dxva2 not working):

Code: Select all

core debug: processing request item: ww.mp4, node: null, skip: 0 core debug: rebuilding array of current - root 播放清單 core debug: rebuild done - 1 items, index 0 core debug: Creating an input for preparsing 'ww.mp4' core debug: starting playback of new item core debug: resyncing on ww.mp4 core debug: ww.mp4 is at 0 core debug: creating new input thread core debug: Creating an input for 'ww.mp4' core debug: requesting art for new input thread core debug: using timeshift granularity of 50 MiB core debug: using timeshift path: C:\Users\ARCHER~1\AppData\Local\Temp core debug: looking for meta fetcher module matching "any": 1 candidates core debug: `file:///E:/ww.mp4' gives access `file' demux `' path `/E:/ww.mp4' core debug: specified demux: any core debug: creating demux: access='file' demux='any' location='/E:/ww.mp4' file='E:\ww.mp4' core debug: looking for access_demux module matching "file": 13 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher core debug: no access_demux modules matched lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher core debug: creating access: file:///E:/ww.mp4 core debug: (path: E:\ww.mp4) core debug: looking for access module matching "file": 27 candidates lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: using access module "filesystem" core debug: looking for stream_filter module matching "prefetch,cache_read": 10 candidates cache_read debug: Using stream method for AStream* cache_read debug: starting pre-buffering cache_read debug: received first data after 0 ms cache_read debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s core debug: using stream_filter module "cache_read" core debug: looking for stream_filter module matching "any": 10 candidates core debug: no stream_filter modules matched lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: looking for stream_filter module matching "record": 10 candidates core debug: no meta fetcher modules matched core debug: searching art for ww.mp4 core debug: looking for art finder module matching "any": 2 candidates core debug: using stream_filter module "record" core debug: creating demux: access='file' demux='any' location='/E:/ww.mp4' file='E:\ww.mp4' core debug: looking for demux module matching "mp4": 69 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art mp4 debug: unrecognized major media specification (mp42). lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art mp4 debug: added fragment moov mp4 debug: dumping root Box "root" mp4 debug: | + ftyp size 24 offset 0 lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac mp4 debug: | + moov size 97726 offset 24 mp4 debug: | | + mvhd size 108 offset 32 mp4 debug: | | + trak size 63872 offset 140 mp4 debug: | | | + tkhd size 92 offset 148 mp4 debug: | | | + edts size 36 offset 240 mp4 debug: | | | | + elst size 28 offset 248 mp4 debug: | | | + mdia size 63736 offset 276 mp4 debug: | | | | + mdhd size 32 offset 284 mp4 debug: | | | | + hdlr size 71 offset 316 mp4 debug: | | | | + minf size 63625 offset 387 lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac mp4 debug: | | | | | + dinf size 36 offset 395 mp4 debug: | | | | | | + dref size 28 offset 403 lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac mp4 debug: | | | | | | | + url size 12 offset 419 mp4 debug: | | | | | + stbl size 63561 offset 431 mp4 debug: | | | | | | + stsd size 153 offset 439 mp4 debug: | | | | | | | + avc1 size 137 offset 455 mp4 debug: | | | | | | | | + avcC size 51 offset 541 mp4 debug: | | | | | | + stts size 17344 offset 592 mp4 debug: | | | | | | + stsc size 40 offset 17936 mp4 debug: | | | | | | + stco size 1592 offset 17976 mp4 debug: | | | | | | + stsz size 17344 offset 19568 lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac mp4 debug: | | | | | | + stss size 152 offset 36912 mp4 debug: | | | | | | + ctts size 26928 offset 37064 lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac mp4 debug: | | | | | + vmhd size 20 offset 63992 mp4 debug: | | + trak size 33622 offset 64012 mp4 debug: | | | + tkhd size 92 offset 64020 mp4 debug: | | | + mdia size 33522 offset 64112 mp4 debug: | | | | + mdhd size 32 offset 64120 mp4 debug: | | | | + hdlr size 71 offset 64152 mp4 debug: | | | | + minf size 33411 offset 64223 mp4 debug: | | | | | + dinf size 36 offset 64231 lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac mp4 debug: | | | | | | + dref size 28 offset 64239 mp4 debug: | | | | | | | + url size 12 offset 64255 mp4 debug: | | | | | + stbl size 33351 offset 64267 lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac mp4 debug: | | | | | | + stsd size 91 offset 64275 mp4 debug: | | | | | | | + mp4a size 75 offset 64291 mp4 debug: | | | | | | | | + esds size 39 offset 64327 mp4 debug: | | | | | | + stts size 24 offset 64366 mp4 debug: | | | | | | + stsc size 496 offset 64390 mp4 debug: | | | | | | + stco size 1592 offset 64886 mp4 debug: | | | | | | + stsz size 31140 offset 66478 mp4 debug: | | | | | + smhd size 16 offset 97618 lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac mp4 debug: | | + udta size 116 offset 97634 mp4 debug: | | | + meta size 108 offset 97642 core debug: no art finder modules matched mp4 debug: | | | | + hdlr size 33 offset 97654 mp4 debug: | | | | + ilst size 63 offset 97687 core debug: looking for meta fetcher module matching "any": 1 candidates mp4 debug: | | | | | + gsst size 25 offset 97695 mp4 debug: | | | | | | + data size 17 offset 97703 mp4 debug: | | | | | + gstd size 30 offset 97720 lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher mp4 debug: | | | | | | + data size 22 offset 97728 lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher mp4 debug: | + mdat size 23186373 offset 97750 mp4 debug: found 2 tracks lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac mp4 warning: elst box found mp4 debug: - [0] duration=180638ms media time=41ms) rate=1.0 mp4 debug: track[Id 0x1] read 394 chunk mp4 warning: STTS table of 2166 entries core debug: using meta fetcher module "lua" core debug: removing module "lua" core debug: searching art for ww.mp4 mp4 warning: CTTS table of 3364 entries core debug: looking for art finder module matching "any": 2 candidates mp4 debug: track[Id 0x1] read 4331 samples length:180s core debug: selecting program id=0 mp4 debug: adding track[Id 0x1] video (enable) language undef mp4 debug: track[Id 0x2] read 394 chunk mp4 warning: STTS table of 1 entries mp4 debug: track[Id 0x2] read 7780 samples length:180s lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac mp4 debug: adding track[Id 0x2] audio (enable) language undef core debug: using demux module "mp4" core debug: looking for a subtitle file in E:\ lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac core debug: looking for decoder module matching "any": 49 candidates core debug: meta ok for (null), need to fetch art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for ww.mp4 core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for ww.mp4 core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac avcodec debug: CPU flags: 0x010053db lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac avcodec debug: allowing 4 thread(s) for decoding lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac avcodec debug: codec (h264) started avcodec debug: using frame thread mode with 4 threads lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac core debug: using decoder module "avcodec" lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: looking for decoder module matching "any": 49 candidates core debug: using decoder module "faad" lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: looking for meta reader module matching "any": 2 candidates core debug: no art finder modules matched core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac core debug: using meta fetcher module "lua" core debug: removing module "lua" core debug: searching art for ww.mp4 core debug: looking for art finder module matching "any": 2 candidates core debug: no meta reader modules matched core debug: `file:///E:/ww.mp4' successfully opened mp4 debug: elst (0) gives 0ms (movie)-> 41ms (track) mp4 debug: track[Id 0x1] using Sync Sample Box (stss) mp4 debug: stss gives 1 --> 0 (sample number) core debug: Buffering 0% core debug: Buffering 7% core debug: Buffering 13% lua debug: Trying Lua scripts in C:\Users\Archer Chan\AppData\Roaming\vlc\lua\meta\art core debug: Buffering 15% avcodec debug: available hardware decoder output format 61 (dxva2_vld) core debug: Buffering 23% lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art avcodec debug: available hardware decoder output format 128 (d3d11va_vld) core debug: Buffering 27% faad warning: decoded zero sample avcodec debug: available software decoder output format 0 (yuv420p) core debug: Buffering 30% avcodec warning: thread type 1: disabling hardware acceleration core debug: Buffering 38% core debug: Buffering 41% lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac core debug: Buffering 46% core debug: reusing audio output core debug: Buffering 54% core debug: Buffering 55% core debug: looking for aout stream module matching "any": 2 candidates core debug: Buffering 61% core debug: Buffering 69% core debug: Buffering 77% core debug: Buffering 83% lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac core debug: Buffering 85% core debug: Buffering 92% core debug: Buffering 97% core debug: Stream buffering done (301 ms in 2 ms) lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac core debug: looking for text renderer module matching "any": 2 candidates lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for ww.mp4 core debug: using text renderer module "freetype" core debug: looking for video filter2 module matching "any": 63 candidates swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality) core debug: using video filter2 module "swscale" core debug: looking for video filter2 module matching "any": 63 candidates yuvp debug: YUVP to YUVA converter core debug: using video filter2 module "yuvp" core debug: Deinterlacing available qt debug: IM: Setting an input core debug: deinterlace -1, mode blend, is_needed 0 core debug: looking for vout window module matching "qt,any": 3 candidates qt debug: requesting video window... wasapi debug: buffer size : 88200 frames wasapi debug: maximum latency: 000 ns wasapi debug: default period : 10158700 ns wasapi debug: minimum period : 2902500 ns core debug: using aout stream module "wasapi" core debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes core debug: looking for audio volume module matching "any": 2 candidates core debug: using audio volume module "float_mixer" core debug: input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes core debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 44100 rate, 2 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode core debug: using audio filter module "scaletempo" core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo core debug: conversion pipeline complete core debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Stereo->Stereo core debug: conversion pipeline complete core debug: looking for audio resampler module matching "any": 3 candidates core debug: using audio resampler module "samplerate" core debug: resized to 600x347 core debug: resized to 485x0 core debug: resized to 1280x538 core debug: resized to 1268x538 core debug: using vout window module "qt" core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 12 candidates direct3d9 debug: Using Direct3D9 Extended API! direct3d9 debug: creating Vout EventThread direct3d9 debug: Win32VoutCreateWindow core debug: VoutDisplayEvent 'resize' 1268x538 direct3d9 debug: created video sub-window direct3d9 debug: Vout EventThread running direct3d9 debug: disabling screen saver direct3d9 debug: Direct3d9 Device: Intel(R) HD Graphics 32902 258 9 core debug: VoutDisplayEvent 'resize' 1296x577 direct3d9 warning: trying surface pixel format: YV12 direct3d9 debug: selected surface pixel format is YV12 direct3d9 debug: Direct3D9 scene created successfully direct3d9 debug: Direct3D9 device adapter successfully initialized core debug: using vout display module "direct3d9" core debug: original format sz 1280x546, of (0,0), vsz 1280x538, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 core debug: removing module "freetype" core debug: looking for text renderer module matching "any": 2 candidates core debug: VoutDisplayEvent 'resize' 1268x538 core debug: using text renderer module "freetype" avcodec warning: plane 0 not aligned: disabling direct rendering core debug: Received first picture core debug: Decoder wait done in 142 ms core debug: inserting 1421 zeroes core debug: resized to 1280x538 core debug: VoutDisplayEvent 'resize' 1280x538 core debug: resized to 1280x538 core debug: VoutDisplayEvent 'resize' 1280x538 core debug: resized to 1268x538 core debug: VoutDisplayEvent 'resize' 1268x538 mmdevice debug: state changed: 1 core warning: playback too late (60548): up-sampling core debug: auto hiding mouse cursor

Re: dxva2 did not load in my built version

Posted: 16 Aug 2016 07:30
by kaijajan
I just tried to build vlc using exactly the same configuration from the nightly build. And still dxva2 does not loaded in my build.
Can anyone help me to figure out this please?

Re: dxva2 did not load in my built version

Posted: 23 Sep 2016 14:49
by Jean-Baptiste Kempf
vlc --list | grep dxva will tell you the reason