All pastes #918157 Raw Edit

Something

public text v1 · immutable
#918157 ·published 2008-02-25 23:04 UTC
rendered paste body
        // Define Command
        $convert = "mencoder " .  $fileInfo['filelocation'] . " -of lavf -ovc lavc -lavcopts vcodec=flv:vbitrate=1000 -o " . $fileInfo['flvpath'] . " -oac mp3lame -lameopts abr:br=64 -srate 44100 -vf scale=" . $fileInfo['widthRes'] . ":" . $fileInfo['heightRes'] . " -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames";
        
        echo $convert . "<br/ >";
        
        // Execute Command
        echo system($convert);

----------------------------------------------------------------------------
When I use the echo'd commandline through shell command line from the same directory that this php script resides it works correctly, however the output from System says the Command Line is Incorrect, basically meaning that the variables are not being filled in. How can I fix this?