ERROR: Problem with MENCODER - No Videos converted.
Warning: Invalid argument supplied for foreach() in /home/cyberglo/infomatic.us/components/com_hwdvideoshare/converters/__ConversionTools.php on line 222
Cita:
esta es la función que tiene el problema y en el log me aparece esto function reset($row, $filename_original, $path_new)
{
$sqlaa = "UPDATE ".$row->dbprefix."hwdvidsvideos SET approved='queuedforconversion' WHERE video_id = '$filename_original'";
@mysql_query($sqlaa) or die('error: ' . mysql_error());
if (@file_exists($path_new)) {
@unlink($path_new);
}
return true;
}
{
$sqlaa = "UPDATE ".$row->dbprefix."hwdvidsvideos SET approved='queuedforconversion' WHERE video_id = '$filename_original'";
@mysql_query($sqlaa) or die('error: ' . mysql_error());
if (@file_exists($path_new)) {
@unlink($path_new);
}
return true;
}
MENCODER INPUT
/usr/local/bin/mencoder /home/cyberglo/infomatic.us/components/com_hwdvideoshare/converters/../../../hwdvideos/uploads/originals/byl9ypcvpkjal6kh.wmv -o /home/cyberglo/infomatic.us/components/com_hwdvideoshare/converters/../../../hwdvideos/uploads/byl9ypcvpkjal6kh.flv -of lavf -oac mp3lame -lameopts abr:br=64 -ovc lavc -ofps 25 -lavcopts vcodec=flv:vbitrate=600:mbd=2:mv0:trell:v4mv:cbp:l ast_pred=3 -vf scale=320:240 -srate 22050
MENCODER OUTPUT
sh: /usr/local/bin/mencoder: No such file or directory
sh: /usr/local/bin/mencoder: No such file or directory
sh: /usr/local/bin/mencoder: No such file or directory
sh: /usr/local/bin/mencoder: No such file or directory
Espero que alguien me ayude