I'm trying to merge audio and picture files on ffmpeg multiple times. For example, this line of code (taken from Combine one image + one audio file to make one video using FFmpeg) allows me to merge one audio and picture file in order to create one mp4:
ffmpeg -loop 1 -i image.jpg -i audio.wav -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest out.mp4
I am wondering if it is possible to add a second set of audio and pictures and have them play right after the first set of the audio and picture (Video plays with picture 1 displayed and audio 1 played then it goes over to picture 2 and audio 2). Is this possible?