I want to reproduce this command
ffmpeg -i image.png -i audio.wav -acodec libvo_aacenc -vcodec libx264 output.flv
with PHP-FFMpeg
I can't find in documentationa way to add multiple input file (-i image.png -i audio.wav
)
I found a simply solution (hack): to add the second input as a filter
$video = $this->ffmpeg->open($imageSource);
$video->addFilter(new SimpleFilter(['-i ', $audioSource]));
it seems to works as expected