Page 1 of 1

VLC over PHP with Apache

Posted: 04 Sep 2009 12:17
by skycryer
Hello, i have a windows xp computer here that runs xampp with apache. ich want to call a php file to make snapshots from videofile.

Vlc is in "c:/programme/videolan/vlc"

and my videofile for example in

"d:/junctions/movie/movie.avi"

i i call this in cmd nothing happens

Code: Select all

c:/Programme/videolan/vlc/vlc --start-time 40 --run-time 2 --video-filter scene --scene-prefix captivity --scene-format jpeg --scene-path C:\\ D:\\junctions\\movie\\movie.avi vlc://quit
i tried it with system() and exec but nothing happens, it is only still loading

In my taskmanager i can see that vlc process ist startet but no screenshot is generatet
, hope someone cal help me.

I tired it to write the code above in a bat file, if i call it direct the snapshot is generatet, but if if call the bat file over php nothing happens still loading.

Thx for every help