How to know if vlc fails from php?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
panoramix
New Cone
New Cone
Posts: 9
Joined: 23 Nov 2006 12:21

How to know if vlc fails from php?

Postby panoramix » 14 Feb 2007 16:46

Hi,
I have a webserver in which I launch php to do some transcoding jobs using php exec() function... What I would like is being able to know if there is a failure in the transcoding option, and, if possible, to be able to know about the possible reason...
The transcoding parameters are passed in the request, and I'd like to be able to reply with some OK if everything goes ok, or some error message if it has failed...
Any suggestions?
Thanks so much!!!

bXn
Blank Cone
Blank Cone
Posts: 46
Joined: 08 Jun 2005 09:14

Postby bXn » 29 Mar 2007 09:58

could you post some of your code here ?
Image
Image

lokrain
New Cone
New Cone
Posts: 6
Joined: 09 Feb 2007 17:09

Postby lokrain » 18 Apr 2007 10:29

Use proc_open() function for user interaction or system() for getting only output of vlc. system() can be combined with ob_* functions.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 4 guests