I'm not sure if it is a bug, but I'm unable to get Libvlc 4.0 working under Windows 8 without having DX11. It seem to be that no matter which vout I try to use DX11 will be chosen and fails.
Code: Select all
avcodec decoder debug: using ffmpeg Lavc58.59.102
avcodec decoder debug: CPU flags: 0x000fd3db
avcodec decoder debug: allowing 3 thread(s) for decoding
avcodec decoder debug: codec (h264) started
avcodec decoder debug: using frame thread mode with 3 threads
main generic debug: using video decoder module "avcodec"
avcodec decoder debug: available hardware decoder output format 119 (cuda)
avcodec decoder debug: available hardware decoder output format 53 (dxva2_vld)
avcodec decoder debug: available hardware decoder output format 118 (d3d11va_vld)
avcodec decoder debug: available hardware decoder output format 174 (d3d11)
avcodec decoder debug: available software decoder output format 0 (yuv420p)
avcodec decoder debug: trying format d3d11va_vld
main decoder debug: vout: none found
main decoder debug: vout change: decoder size
main decoder debug: vout change: visible size
main generic debug: looking for text renderer module matching "any": 3 candidates
freetype spu text debug: Using DWrite backend
freetype spu text debug: DWrite_GetFamily(): family name: Arial
freetype spu text debug: DWrite_ParseFamily(): using font at index 0 with weight 400 for bold: 0, italic: 0
freetype spu text debug: DWrite_ParseFamily(): using font at index 1 with weight 700 for bold: 1, italic: 0
freetype spu text debug: DWrite_ParseFamily(): using font at index 2 with weight 400 for bold: 0, italic: 1
freetype spu text debug: DWrite_ParseFamily(): using font at index 3 with weight 700 for bold: 1, italic: 1
main generic debug: using text renderer module "freetype"
main generic debug: looking for video converter module matching "any": 20 candidates
swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
main generic debug: using video converter module "swscale"
main generic debug: looking for video converter module matching "any": 20 candidates
yuvp scale debug: YUVP to YUVA converter
main generic debug: using video converter module "yuvp"
main video output debug: Deinterlacing available
main video output debug: deinterlace -1, mode auto, is_needed 0
main generic debug: looking for vout window module matching "embed-hwnd,any": 6 candidates
main generic debug: using vout window module "drawable"
main generic debug: looking for inhibit module matching "any": 1 candidates
main generic debug: using inhibit module "inhibit"
main generic debug: looking for decoder device module matching "any": 1 candidates
nvdec generic error: Cannot load nvcuda.dll
main generic debug: no decoder device modules matched
avcodec decoder debug: trying format dxva2_vld
main generic debug: looking for decoder device module matching "any": 1 candidates
nvdec generic error: Cannot load nvcuda.dll
main generic debug: no decoder device modules matched
main decoder debug: vout change: decoder size
main decoder debug: vout change: chroma
main video output debug: deinterlace -1, mode auto, is_needed 0
main video output debug: Opening vout display wrapper
main generic debug: looking for vout display module matching "any": 12 candidates
direct3d11 vout display debug: Created the D3D11 device type 1 level 9300.
direct3d11 vout display warning: failed to read the 0 Display Adapter registry key (2)
direct3d11 vout display warning: can't find adapter in registry
direct3d11 vout display debug: Incompatible feature level 9300
direct3d11 vout display error: Could not Create the D3D11 device.
--vout=direct3d9
--avcodec-hw=dxva2
The other issue is that the video size does not fit the declared window handle and is always equal to the video size. I use an updated build of PaslibVLC since a couple of functions where deprecated.
Maybe somebody has an advise to solve these two issues.
Christian