I have a 10 seconds video clip and 60 seconds audio clip, so when I mux it with
mkvmerge --output video.mkv ./a.mp3 ./a.mp4
The output file shows the video only for the first 10 seconds, and then the last frame is displayed for 50 seconds.
How can I loop the video in automatic mode so that it repeats for the whole 60 seconds with mkvmerge or any other command line tool (I need to automate it as I have to do it for 400 files)?