I'm only merging a single audio/video file. The problem is that, my video file is of 40 seconds & audio file is of 28 seconds. So for remaining 12 (40 - 28) seconds – I want to repeat audio for the remaining part from 0 second. How do I that? Is there a direct way to do this?
P.S. I'm using AVComposition for this. And code from here.