Page 1 of 1

VLCJ, problems with dxva2

Posted: 27 May 2015 16:16
by bbr
There's too much CPU usage when I'm trying to play back rtsp stream (something like a 8%, but I have to play back ~15 streams). So, I've tryed to use hw acceleration via VLCj but it's failed. Here's my logs:

Code: Select all

[055f4f6c] dxva2.lo generic debug: DLLs loaded [055f4f6c] dxva2.lo generic debug: D3dCreateDevice succeed [055f4f6c] dxva2.lo generic debug: OurDirect3DCreateDeviceManager9 Success! [055f4f6c] dxva2.lo generic: obtained IDirect3DDeviceManager9 [055f4f6c] dxva2.lo generic: DXVA2CreateVideoService Success! [055f4f6c] dxva2.lo generic error: IDirectXVideoDecoderService_GetDecoderDeviceGuids failed [055f4f6c] dxva2.lo generic error: DxFindVideoServiceConversion failed [055f4f6c] main generic debug: no hw decoder modules matched
Any suggestions?

p.s. DXVA2 works properly with VLC, CPU usage something like a 1.5%

p.p.s I've found the solution. It works perfectly if I run my app with a compiled .jar file. But if I run my project inside IDE, hw decoder doesnt' work.

Re: VLCJ, problems with dxva2

Posted: 09 Jul 2015 21:12
by Jean-Baptiste Kempf
probably because DxVA2 needs a surface.