Page 1 of 1

php and command line usage

Posted: 01 Feb 2008 20:08
by dynamitemedia
can php be used in a command line for example:

Code: Select all

--intf dummy --dummy-quiet --fullscreen --video-on-top --aspect-ratio=16:9 --deinterlace-mode=bob test.avi vlc:quit
but in its place put

Code: Select all

$video ="test.avi"; --intf dummy --dummy-quiet --fullscreen --video-on-top --aspect-ratio=16:9 --deinterlace-mode=bob $video vlc:quit
or this from a form

Code: Select all

--intf dummy --dummy-quiet --fullscreen --video-on-top --aspect-ratio=16:9 --deinterlace-mode=bob <?php echo $_POST["video"]; ?> vlc:quit

im trying to create a app that uses php and will also use command line to play the videos. it works great by just the 1st command line, but havent tried it with php yet

i want to take a form and that will launch the correct movie etc or is there a way to use php in the webplugin as well?

im gonna search thru the forums for more info, if you see some i missed please add here

Re: php and command line usage

Posted: 04 Feb 2008 15:52
by revolunet
please read the wiki and learn how vlm works