Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Show two videos simultaneously

  • Show two videos simultaneously

    Posted by Alessandro Thüler on July 30, 2016 at 10:49 am

    Hi there!

    I need your help:

    I’m trying to merge two video sequences into one by alternating each sequence every frame.
    I have basically the same sequence twice, one is shot in daylight and the other one by night.
    Example:
    frame 1- video 1 | frame 2 – video 2 | frame 3 – video 1| frame 4 – video 2 … and so on.

    In my head it looks something like this.

    I’m not sure how to achieve this effect. Maybe masking one of the two sequences every other frame? Expressions?

    Feedback would be very much appreciated.
    Cheers. A

    Alessandro Thüler replied 10 years, 1 month ago 3 Members · 3 Replies
  • 3 Replies
  • Mike Sevigny

    July 30, 2016 at 12:34 pm

    If you have the layers placed in the timeline on top of each other, you can add this expression to the Opacity of the top layer:
    currTime = Math.round(time/thisComp.frameDuration);
    if (currTime%2 != 0) {value=0}else{value=100}

    Mike Sevigny

  • Kalleheikki Kannisto

    July 30, 2016 at 2:07 pm

    Every second frame will be very fast, 5 frames each alternating would be more like it. Adjustable frame count would be something like this:

    freq=5;
    currTime = Math.round(time/thisComp.frameDuration);
    if (currTime%(2*freq)

  • Alessandro Thüler

    August 1, 2016 at 10:57 am

    Awesome, thanks very much to the both of you!
    I will try out these two variations as soon as possible.

    Cheers. A

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy