should i change the script with this coding

$ff = $config[vdodir]."/".$vdoname;
if(move_uploaded_file($_FILES['field_uploadfile']['tmp_name'], $ff))
{ $mov = new ffmpeg_movie($ff);
video_to_frame($ff,$vid,&$mov,$listch[0]);
$duration=$mov->getDuration();
exec("$config[ffmpeg] -i $config[vdodir]/$vdoname -acodec mp3 -ar 22050 -ab 32 -f flv $config[flvdodir]/".$vid.".flv");

i get this on the original script