-
Convert Problem
My problem is this, if i upload a video all ok, the video is convert ok but after upload i cant not view the video, the thumbail apears ok but when i touch play the video stop at moment.
If then i executed the convert command that apears into debug.txt the command works ok and then the video work perfect.
Why if the command is same only work the video when i executed the command in the ssh session?
-
Problem
I make a script with:
<?php
$cmd = "/usr/local/bin/mencoder /home/httpd/vhosts/videosmios.com/httpdocs/video/25.wmv -o /home/httpd/vhosts/videosmios.com/httpdocs/flvideo/25.flv -of lav$
$last_line = system($cmd, $retval);
echo '
</pre>
<hr />Last line of the output: ' . $last_line . '
<hr />Return value: ' . $retval;
?>
when i executed this script return value 127 but the video was not encoded, but by command line the comnand is ok.
I have all necesary packages installed.
If i executed into command line:
php convert.php all ok and return 0, after the video is ok.
-
It means you are missing a variable or its not guided to the right spot i had the same trouble earlier. My mencoder was not guided to the right place.
-
Problem is your mencoder not properly installed. You can ask your web host or server admin to run the command on server command prompt and see if video is getting converted to FLV. If not they need to reinstall mencoder/mplayer.