Hi Bryan.
I have used same command, just changed the path of audio and video source files. But result are still same.
Now i am using your "EMS_Web_UI" core library that are written in php to call "lanuchProcess" method.
Please see the our code that are also written in php and if you find anything incorrect. Please suggest for the same.
Also i have attached the core library file(Note: As php ext not supporting so adding as txt file)
Someone wrote:
require ‘evoapi-core.php’;
// Set the strict warnings and notices to off
error_reporting(E_ALL ^ (E_NOTICE | E_STRICT));
// Display the necessary header for the JSON responses
//header(‘Content-Type:text/plain:charset=utf-8’);
// Before anything else, check if we have php-curl installed
if (!function_exists(‘curl_init’)) {
echo json_encode(array(‘success’ => false, ‘description’ => ‘<br /> Kindly install/enable php-curl module and try again. <br /> This standard module allows the webserver to communicate with the EMS.’));
exit();
}
// Instantiate EMS functionalities
$ip_address = "127.0.0.1";
$api = new EvoCoreAPI(‘http://’ . $ip_address . ‘:7777/’);
$fullBinaryPath = ‘/usr/bin/evo-avconv’;
$keepAlive = ‘0’;
$arguments = ‘-i /var/www/html/videostreaming1_recording.mp4 -i /var/www/html/Kalimba.mp3 -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 /var/evostreamms/media/OutFile21.mp4’;
$environmentVariables = ”;
$result = $api->launchProcess($fullBinaryPath, $keepAlive, $arguments, $environmentVariables);