ffmpeg addsubtitle
<pre><code>/usr/bin/mencoder -sub /var/www/html/webservice/addsubtitle/subtitle.srt -utf8 -subfont-text-scale 4 -oac mp3lame -lameopts cbr=128 -ovc lavc -lavcopts vcodec=mpeg4 -ffourcc xvid -o /var/www/html/webservice/upload/videoxplode_rt17ah2ce.mov /var/www/html/webservice/upload/e111105_022234.mov 
</code></pre>

<p>I have added for subtitle some videos using above code. If i can put directly comments line working fine, But i have used above same code using php, that time i got "127" came to me. I am using 64 bit server. Find below code using php..</p>

<pre><code>exec ("/usr/bin/mencoder -sub $titlefile -utf8 -subfont-text-scale 4 -oac mp3lame -lameopts cbr=128 -ovc lavc -lavcopts vcodec=mpeg4 -ffourcc xvid -o $newvideo $filepath",$out, $succ);" "
</code></pre>

<p>Please anybody can help me on this regards.</p>

<p>Sorry for bad english...</p>
