No announcement yet.

2D PIP is keyframeable - here's how

  • Filter
  • Time
  • Show
Clear All
new posts

  • 2D PIP is keyframeable - here's how

    Let me try to de-mystify... :)

    First off, stay away from the Motion Keyframe tab for now. It's just going to frustrate you.

    So let's get started!
    1. Put a clip in the timeline above a color bar clip (this isn't required, but it will help see things more easily later)
    2. Be sure to position the timeline cursor at the start of the clip (this will make it less confusing later)
    3. Apply Picture in Picture to the Keyer track of the clip
    4. Open the Picture in Picture settings
      The image appears scaled down in the dialog's preview.
    5. Put the cursor over the edge of the image - it will change to resize cursor and you can click and drag to resize. No problem.
    6. Now click somewhere else in the dialog's preview (say, to the right).
      Now you should have a checkerboarded image of the frame with a square in the middle with an E under it. This is now the new End position.
      The original location should have a point in the middle with an S above it. This is the Start position.
      Congratulations, you have now defined a motion path for the Picture in Picture!
    7. Put the cursor over the edge of the End position, and resize it.
    8. Move the picture location by putting the mouse over the square in the middle (it will get an orange outline), then click and drag. Careful! If you click something other than the square, you'll define yet another keyframe.
      To delete a keyframe, put the cursor over the square so it gets an orange outline, right-click, and choose Delete (or hit the Delete key).
    9. Now move the timeline cursor back and forth - you can see the picture-in-picture will scale from the Start to the End points and move to the appropriate position.

    Okay, play with that for a while... Once you have that mastered, continue reading onto the oddity that is the Motion Keyframe tab...

  • #2
    So, you think you're ready for the Motion Keyframe tab? Good! No bad!!

    BTW: You probably noticed (or maybe not) that right-click gives you other options like Layout|Center and such... if not, go check that out. It affects the selected (if any) keyframe position.

    Well, okay anyway, whatever, let's go.
    1. Add a Picture-in-Picture.
    2. Add three keyframes. You should have a Start position (marked with S), an End position (marked with E), and another position in-between.
    3. Scrub the timeline cursor to the center (middle) of the clip.
      Unless you happened to put the keyframe exactly in the lengthwise middle of the motion path (the line between points), you'll notice that at the middle of the clip does not correspond to the keyframe set between the Start and End positions.
      In fact, the middle of the clip corresponds to the halfway point of the motion path between the Start and End positions.
      It's like if you took the motion paths and put them all in a straight line. The middle of that straight line is position of the PiP at the middle of the clip.
      This is important. If you don't understand the above, play with it until you do.
    4. Now, go to the Motion Keyframe tab.
      You'll see a gray diagonal line, a vertical (up-down) red line and a horizontal (left-right) red line in a graph.
      The gray diagonal line we'll get to later - ignore it for now.
      The vertical red line corresponds to the timeline cursor. Scrub the timeline cursor and watch it move because you don't believe me.
      The horizontal red line corresponds to that in-between keyframe (you know, the one between the S and the E keyframes).
      The bottom of the graph corresponds to the Start position keyframe.
      The top of the graph corresponds to the End position keyframe.
      That's why you don't see three red horizontal lines and just one. If you had four keyframes, you'd see two red horizontal lines, etc.
    5. Okay, now for the gray line. The gray line represents the progression of the movement from start to end (vertical axis), from the beginning to the end of the clip (horizontal axis).
    6. Scrub the timeline cursor so the horizontal red line, the vertical red line and the gray line all cross at the same point.
      Now look at the PiP preview - you'll see that the image is at the in-between keyframe you set.
    7. Now, click somewhere in the graph (not on the end points of the gray line). This will create a new point on the line, highlighted in orange.
    8. Move the point so it appears on the red horizontal line at a different position (not where the two red lines cross).
    9. Now move the timeline cursor toward where new node. Notice how the position of the PiP is moves toward the in-between keyframe position and meets it when the timeline location and the in-between keyframe location (horizontal red line) meet.
      What you are defining by changing the gray line is the progression from the Start position to the End position. When the gray line crosses a horizontal red line, the PiP "hits" a defined keyframe.
    10. Add another node to the gray line by clicking somewhere else.
      Move the node so the gray line "rides" the red horizontal line (make the gray line flat at that point).
      Scrub the timeline cursor through.
      Notice how the clip "holds" at the keyframe position where the gray line is "riding" the red horizontal line.
    11. Now, add another node to the gray line, between the two points on the red horizontal line, and drag it so it under the red horizontal line.
      Scrub through. You should see the PiP progress to the first keyframe position, then back-track a bit, then move back to the first keyframe position, then continue to the End position.
      Hopefully this is making some sense now...
    12. Okay, last thing...
      Click in the PiP preview to add another PiP keyframe.
      Notice how another red horizontal line appears in the Motion Keyframe graph?
      The old End position has now become another in-between keyframe, and the position you added the new keyframe is now the new End position.
    13. The first red horizontal line that was there has now moved! This is because when you added another keyframe, the overall length of the motion path changed. So the position of the lines (remember it's relative from start at bottom to end at the top) has changed too.
    14. Move the nodes on the gray line so the line crosses the red lines at the desired time in the clip.

    As you can see, Motion Keyframe is quite tedious because it isn't time-based like the other keyframers.

    Thus, the best strategy is to define all your keyframes ("hit" points) first, then go into Motion Keyframe and adjust the gray progression line so PiP "hits" the keyframe locations at the right times.

    Have fun, and don't let your head explode.


    • #3
      Very good!
      However I think that this sticky must go to the Edius Neo category as well...
      In Edius Neo this is the only solution for keyframes...
      Aristotelis Bafaloukos
      Systems Engineer, Video Editor, 3D Artist
      BEng (Hons), MSc, MBCS



      • #4
        This thread applies to all 2d PnP keyers.

        It originates from the good-ole days of RexEdit. (I think Brandon is reaching (wisely) for the newbies)
        Rusty Rogers | Films
        >TYAN S7025 - 32GB RAM, 2 x Xeon X5690's, 4 x 10k video HD's, Win10 x64, BM DecklinkHD, nVidia TITAN, 12TB DroboPro w/iSCISI connection
        >RAZER BLADE - QHD+ - 16GB RAM, i7-6700HQ Quad, 512GB SSD, Win10 x64, GeForce GTX 1060 6GB

        An inglorious peace is better than a dishonorable war.
        Twain - "Glances at History" 1906


        • #5
          I copied the thread over to the Neo section too. :)


          • #6
            2d Pip

            Nicely explained Brandon.

            If I remember rightly this is also how it was done in Let's Edit, with which I always found it very simple and quick to do some good PIP effects.
            Roger D


            • #7
              You're absolutely correct Roger. Aside from some very minor changes, 2D PiP has been the same from RexEdit, through StormEdit, Let's EDIT, and right into today's EDIUS.


              • #8
                Layout Tool

                Hi Brandon,
                Would'nt it be better to use the layout tool with key frames so you have the keyer track available for other usefull things? I have found the layout tool to be awsome. Depending on how you use it you wind up getting a lot more real time play back.



                • #9
                  I think you will find that Brandon's post pre-dates EDIUS v5, which added keyframes to the layout tool.


                  • #10
                    Kenneally is correct...
                    So is Dan. However, there are a few things in 2D PIP that Layout cannot currently do, like edge and shadow. That said, however, if you can do it in Layout, do it in Layout - it's more efficient.


                    • #11
                      They managed to carry that over from Rex days, but could do RexRT explode effects, or Photo Album


                      • #12
                        Can you explain by pictures or video because it easy :)

                        or if there a video in youtube

                        Thank you for the Explanation

                        I really appreciate it
                        (: Hi