what I am trying to do is merge audio and picture files on ffmpeg multiple times. For example, this line of code (I can't post the link, but search for Combine one image + one audio file to make one video using FFmpeg on Google) allows me to merge one audio and picture file in order to create one 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)
Code for reference:
- Code: Select all
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
Thank you to anyone that helps.