• 0

aid with linux/php


Question

hi basically i keep getting exit code 127 ...... this is my bit of code (its a mix between cent OS and php) it works fine when the folders are in public html but wont work when im trying to store them offline... it wont encode.... any suggestions ?

// vb parameter can be omitted and let the program choosing a proper video bitrate
    $vb = $Width * $Height * ($Encoding==2?1.2:1.4) / 256;

	// please modify the path of fvec.exe if you did not use the default installation path
	$Command = "\"" . "/home/fvec/fvec\" " .
			"\"" . GetCurPath() . "/users/".$id."/".$FileName."\" " . 
			"\"" . GetCurPath() . "/users/".$id."/".$FileName."flv\"" . 
			" -vw " . $Width . " -vh " . $Height .
                        ($Encoding==2?" -h264":"").
			" -vz " . $Zoom .
			" -ac " . $Channels .
			" -tn " . "\"" . GetCurPath() . "/users/$id/$FileName.jpg\" " .
			" -tw 160".
			" -th 120".
            " -vb $vb".
            ($TrimStart==""?"":" -ss $TrimStart").
            ($TrimEnd==""?"":" -endpos $TrimEnd");

oh and current path () is /home/

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.