Is it possible to put varibles in exec command?, because ive tried and had no luck.
I need to put a varible file name into it, the file name varible is working but it thinks that its non-php, heres what i have:
<?php
exec('mencoder vids\$filename -o vids\encoded\$filename.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc \ -lavcopts vcodec=flv:vbitrate=7000:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \ -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames');
echo '<h3>Encoding Successful</h3>';
include 'ftp.php';
?>