I am creating a video in mp4 format from a sequence of images and an MP3 audio file. For performance reasons I switched from image2 option to image2pipe option and now video is creating OK but without an audio,
Is it possible at all to add an audio while pipe processing images or it should be done afterwards a separate step?
my FFMPEG command:
$command = $ffmpegpath ." -f image2pipe -pix_fmt rgb24 -r 20 -c:v png -i - ".
"-i " .$mp3path ." "
"-r 20 -vcodec libx264 -pix_fmt yuv420p ".
"-y " .$outputpath;