Skip to content

GPU decoding not working when vlc started withing php

Hi, i am using vlc for live transcoding inside some php script. With HW decoding i have much lesser cpu usage as with only software decoding.

When i start the vlc transcoding from php with a Com Object (to run vlc as a background process) i get an error for DXVA.

I have tested it with the win32 2.05 nightly build from 29.11.2012

This is how i start vlc $com = new Com('WScript.shell'); $com->run($commandline, 10, false);

In the log there is clearly the indication that dxva is available but the IDirect3D9_GetAdapterIdentifier failed.

interesting part of log http://pastebin.com/rG6VV8Sh

When i use the same vlc command in a Windows cmd shell it works without any problem, so this is regardless of what file is transcoded.

I guess it is a similar problem like here: https://trac.videolan.org/vlc/ticket/6322

regards Horizons

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information