VLCJ, problems with dxva2

This forum is about all development around libVLC.
bbr
New Cone
New Cone
Posts: 1
Joined: 27 May 2015 15:35

VLCJ, problems with dxva2

Postby bbr » 27 May 2015 16:16

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLCJ, problems with dxva2

Postby Jean-Baptiste Kempf » 09 Jul 2015 21:12

probably because DxVA2 needs a surface.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests