Welcome Guest, Not a member yet? Register   Sign In
problem with shell_exec in a library.
#2

[eluser]antonumia[/eluser]
If by 'library' you mean a model you need to include it in your controller constructer:

function MYClassname(){
$this->load->model->modelname;
}

then in your function:

$PID = $this->modelname->functionname();


Also if you're doing flv encoding using ffmpeg you should also install flvtool2 to insert the metadata after the flv has been created e.g.

shell_exec("flvtool2 -UP ".$filepath );


Messages In This Thread
problem with shell_exec in a library. - by El Forum - 10-15-2008, 01:41 PM
problem with shell_exec in a library. - by El Forum - 10-19-2008, 04:47 AM
problem with shell_exec in a library. - by El Forum - 10-20-2008, 04:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB