REALLY stuck and not sure what else I can do...
I have installed mencoder (and ffmpeg, flvtool2 and lame) in /usr/USER/bin and lame libs are availabel in /usr/USER/lib.
I am calling mencoder via exec in php like so...
exec('home/USER/bin/mencoder /home/USER/SITE.com/mediatmp/64.mpg -o /home/questijn/SITE.com/flvideo/11.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=390:290 -srate 22050',$op,$r);
which returns $op => Array(); - empty array - and $r =>127
Using teh exact same command in the shell the app runs successfully and creates the flv. IN order to make all teh shared libs availabel I have added:
to the .bash_profile file in /usr/USER. I also have the same settings in further .bash_profile files in /usr/USER/etc AND /usr/USER/etc/profile.
one point - don't know how relevant it is but if I run
the output is:
Array (  => /usr/local/bin:/usr/bin:/bin )
can anyone suggest a reason why I can't run these apps from php? am I missing some permission problem or similar?
Any help would be greatfully recieved and will pay the person who gives me the solution!!! I am that hacked off with it now!