I am using PHP to invoke the FFMPEG command using exec (). the script that initiates this command is called from another PHP script using
proc_close(proc_open('php /phpdirectory/process.php &', array(), $foo));
This works great. The ffmpeg command is called and run "in the background", leaving the first script to return to the user and in this case continue to download files. What if I use a machine with multiple cores? How can I optimize things so that I can call the ffmpeg process for each core? Or will the multi-core process of the machine still split the work between the cores and speed up the process?
Is anyone
source
share