If you can upload videos and they are not showing then there could be a variety of reasons as to why this is the case. The list below is not a complete exhaustive one but will help debug the most common problems.
======================================================================================================
1) Missing RequirementsIf you run the tester.php script and get "fail" on the first 3 items on the list then video will not convert. You should check that you have these requirements installed. If you have a dedicated server or a VPS you can check yourself by logging in as root and running
which ffmpegwhich mencoderwhich flvtool2If you get a path showing then you have the modules installed, if not then you need to set these up.
Click here for help with this.
Ensure that the file paths that you get are the same ones as specified in your admin area.
======================================================================================================
2) NO CLI supportCLI (command line interface) is the means by which the videos are converted in the background so that users don't have to wait while they are converted. When a video finishes uploading, CLI is used to run convertor.php in the background which goes to work converting the video.
You need to check that you have CLI support. to do this follow the steps below
a) Open
convertor.php and edit the two sections below to include your
own email address and remove the
// (commenting)
//CHECK POINT 1\\
//mail("you@yourdomain.com", "PHPmotion - Check Point 1", "Loaded OK", "From: Server <name@email.com>");
and also
//CHECK POINT 6\\
//mail("you@yourdomain.com", "PHPmotion - Check Point 6", "SCRIPT LOADED TO THE END", "From: Server <name@email.com>");
b) upload a video and when uploading is completed you
should get 2 emails from your server, if you get both emails it means that you have CLI support and the convertor.php was loaded correctly and as such this is not your current problem. If you dont get the emails then you don't have CLI for PHP and you should:
1) try and change the path to php in the file /classes/config.inc.php to
/usr/local/bin/php 2) if step (1) does not resolve the problem try this alternative solution.
http://phpmotion.com/forum/index.php?topic=954.0=====================================================================================================
3) Check your logsYou can also check your log file which is created in the folder
/logs. To enable logging do the following
a) Edit the file
classes/config.inc.php and change logging to
yes as shown below
$log_encoder = "yes"; //change to "yes" to create a log file of encoding (created in /logs)
b) upload a video and then download the log file. If you are getting errors and you decide to post a question in the forum, remember to include your log file.
=====================================================================================================
Need more help?
click here