I have one folder with 30 videos, and another with 4. I want to merge the 30 first video as an intro to the 4, in order to create 120 different videos. In other words, imagine letters are intro videos and numbers the base video.

Folder 1: A, B, C ...

Folder 2: 1, 2, 3, 4

Output: A1, A2, A3, B1, B2, B3, C1, C2, C3 ...

How can I do this? Thank you!

  • Need to know your OS. Does "cross-merge" mean you want a crossfade?
    – llogan
    Feb 24, 2020 at 21:26
  • @llogan I'm using iOS, but can go to Windows if needed. I didn't mean crossfade, but simple merge across many different videos. Thanks so much for your advice :)
    – Don Bosco
    Mar 3, 2020 at 13:45
  • Do all inputs have the same attributes?
    – llogan
    Mar 3, 2020 at 18:35

1 Answer 1


With Merge you mean to concatenate...

Intro_A + Video_1

Intro_B + Video_1

Intro_C + Video_1

Intro_A + Video_2 and so on

I have a bash script that can do that.

Do you have a shell ready?

  • I don't have a shell, I'm completely new to all of this! More than willing to put in the research and learn though :) Thanks so much Drake
    – Don Bosco
    Mar 3, 2020 at 13:44
  • You're welcome. On what system are you using ffmpeg at the moment?
    – drake7
    Mar 3, 2020 at 16:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.