Location: PHPKode > projects > Multimedia2Multimedia > mm2mm/include/step5.php
<?php
if ( $config['htmlcomm'] == true ) echo ("<!-- step5.php BEGIN -->
");


$ffmpeg_in_progress = shell_exec("ps aux | grep -v grep | grep ffmpeg | grep www-data -c");
$ffmpeg_in_progress = $ffmpeg_in_progress[0];
$ffmpeg_in_progress = (int)$ffmpeg_in_progress;
if ( $ffmpeg_in_progress == 0 ) {
	echo ("				<iframe src=\"".$config['IncludeFolder']."/convert.php\" name=\"convert\" frameborder=\"0\" scrolling=\"no\" width=\"0px\" height=\"0px\"></iframe>
");
// 	echo ("				<iframe src=\"".$config['IncludeFolder']."/convert.php\" name=\"convert\" frameborder=\"1\" scrolling=\"yes\" width=\"800px\" height=\"500px\"></iframe>
// ");
// 	require ($config['IncludeFolder']."/convert.php");
}

echo ("				<iframe src=\"".$config['IncludeFolder']."/progressbar.php?lang=".$config['Language']."\" name=\"progressbar\" frameborder=\"0\" scrolling=\"no\" width=\"306px\" height=\"50px\"></iframe>
");

echo ("<br><br>");
/*

$job = fopen("/tmp/mm2mm/job.php","r");
$commandline = fgets($job);
fclose($job);
// $commandline = "\"".$commandline."\"";

echo($commandline."<br><br>");

// $command_reject = shell_exec($commandline);

echo ("<pre>
Progress:

\"");

// shell_exec($commandline);
// echo $command_reject;

// if ( ( $ready2go_final == true ) AND ( $ready2go_destination == true ) ) {
// 	if ( $config['debug_messages'] == true )
// 		echo($commandline);
// 		else
// 		exec($commandline);
// 	}




echo ("\"</pre>
");*/

if ( $config['htmlcomm'] == true ) echo ("<!-- step5.php END -->
");
?>
Return current item: Multimedia2Multimedia