Can I control the in and out point of a layer with a keyframe?

Hi all, I'm working in a sort of template for a series of mograph videos. Some sort of motion typography work.
The animation is always the same but the only thing that changes is the length of the video (for legibility purposes).
I was wondering if I can control the in and out points of a layer with the keyframes from another layer.
Lets say Layer's A keyframe from slider 1 position in time is the out point (plus/minus an offset would be also great) of layer B.
I've been playing with expressions on a regular basis but I don't really know where and how to write an expression like that or if it's possible.
Thanks in advance

This should probably be moved to the expression forum then.
I'm not sure I understood the details of your project but here's a basis: you can do that with an expression in the layer's time remapping property. So if you want a layer to start playing at the second keyframe on another layer, you can try something like (writing in my browser, watch for mistakes):
//   The "number" of the keyframe (first, second, third, etc)
var index = 2;
//   The layer with the keyframes
var l = {pick-whip the layer with keyframes here};
//   Just a safety, check the layer has at least enough keyframes
if (l.numKeys >= index)
     //   If yes, the new time is the difference between the keyframe's time and the current time
    max(0, l.key(index).time-time);
else
     //   Doesn't matter, let's return 0
    0;

Similar Messages

  • In fcpX....how can I put an IN and OUT points in my sequence and after export a movie???

    In fcpX....how can I put an IN and OUT points in my sequence and after export a movie???

    You can't. You can't export part of a sequence. Duplicate it and remove the bits you don't want to export from the duplicate.

  • Color is changing the clips in and out points

    I tried to import into color a fcp7 sequence.  The original footage are quicktime clips.
    When the project opens in color, the in and out points of the clips are not there and it gives me the beginning of the clip.
    With other footage that I ingested in FCP I don't have a problem.
    Can someone explain this to me.
    Thanks

    >The original footage are quicktime clips.
    What FORMAT of Quicktime?  Because QT is just a container that can be one of a dozen codecs.  Color ony works with certain codecs, like ProRes, HDV, XDCAM, DVCPRO HD.  If the codec is anything but those...it will have serious problems.

  • Fcp x 10.0.9 I can't select in and out points while importing media, and scrubber won't work in event browser.

    I have two problems, and I have already un installed and reinstalled FCP X, and still have the issues.
    1) In the import media window I can no longer select my in and out points to import. Pressing  the "I" and "O" keys, I just get the audible error beep.
    2) in the event browser I can select the in and out points, but it will no longer scrub through the clip with the cursor.
    I do have OSX Mavericks installed, but the issue was prior to the install.
    Model Name:          MacBook Pro
      Model Identifier:          MacBookPro8,2
      Processor Name:          Intel Core i7
      Processor Speed:          2.2 GHz
      Number of Processors:          1
      Total Number of Cores:          4
      L2 Cache (per Core):          256 KB
      L3 Cache:          6 MB
      Memory:          16 GB
      Boot ROM Version:          MBP81.0047.B27
      SMC Version (system):          1.69f4
      Serial Number (system):          C02FV4Q9DF91
      Hardware UUID:          E3FD9128-C34D-5DA8-B18A-6AA9B541386E
      Sudden Motion Sensor:
      State:          Enabled
    David Cameron

    Tom, perhaps I used the wrong terminology, skimming not scrubbing. In the event browser on the thumbnails of my clips, I recall being able to skim to a point and then select the in and out points. It apparently is solved. I guess the reinstall fixed it. Well like taking your car to a mechanic its not making the clicking sound now.
    As far as the import. I think  by your response you solved the problem. I can select the in and out point when I import from a camera or my iphone, but I did not realize you could not select the in and out points from a video file already on my hard drive.
    I appreciate your responce, and have a great day.
    David Cameron.

  • Can clips retain last playhead position and in and out points like v7?

    Is there a setting that will enable the clips to retain the last playhead position and in and out points so that I don't have to find the place I left off at every time I go to that Clip? Basically how FCP 7 worked.
    Vince

    This is another area that's lacking in this great application, I'm afraid - but there are ways to keep the 'in and out' points at least.
    When you have marked them you simply press 'F' to mark your selection as a favourite. Then if you click the green bar that appears, your selection will immediately be highlighted.
    Alternatively, add keywords to your selection - then when you click the keyword collection in the event browser, the clips will be displayed, already trimmed.
    A third way is to trim away the unwnated footage in your clip. Lets say you have a long clip and you want to make multiple clips from it. You don't want the first three seconds of the clip and you also don't want the last one second . . . (follow this carefully - it works)!
    Move the playhead to your IN point and press the 'O' key (yes the 'O' key).
    Now press the backspace key and your clip is trimmed to the 'in' point. Now scroll to the out point and press the 'I' key (that's right). Move the playhead to the 'in' point of your next clip and press 'O'.
    Press Backspace and your clip stands on its own for all time.
    (You can even mark one frame 'Out' and the very next frame 'In' and this will work - you don't lose any frames).
    Sorry I can't help you with retaining the playhead position.
    Andy

  • In and out points

    Well I got the new iLife yesterday and I really am not "too depressed" with the new interface an controls. Once I figured out that by holding down the SHIFT KEY while using the mouse helps you with adjusting your in and out points.
    Now here is my gripe! Why can't we do like QuickTime, Final Cut Studio, Final Cut Pro, etc and *use the 'I' and 'O' keys to set in and out points* sheesh!!!
    Daniel C. Slagle
    Keeper of the "Unofficial" iMovie FAQ  
    http://iMovie.danslagle.com
    Message was edited by: Daniel Slagle

    Hi -
    In your browser, select all the clips you want to remove the in and out points on, so that they (and only they) are highlighted.
    Mouse over to the In Column, and Control-Click on a highlighted in-point from one of any of the highlighted clips. From the drop down menu, choose Clear In. That should clear all your in points on all your highlighted clips.
    Now mouse to the Out Column, and do the same, this time choosing Clear Out.
    You should be good to go.
    Hope this helps.

  • In and Out points not showing in source monitor

    I've noticed this in the past couple of days: setting in and out points in the source monitor, the indicators don't show in the time ruler.  In other words, even though I set the in and out points, it looks like nothing has been selected. 
    If I put the clip into the timeline, the in and out points I chose are respected, but they just don't seem to register in the source monitor, so I can't have confidence in what I have selected.
    If I open another clip in the source monitor, then go back to the one I was working on, magically the in and out points are there again.  Strange...
    At the same time, if I apply audio gain to a clip in the source monitor, it sometimes doesn't "take".  It shows that gain has been added, but there is no change in the sound volume when I play it back in the source monitor.  Again, if I put the clip in the timeline, the volume is as it should be and the waveform reflects this.
    So, is there some underlying bug affecting how clips are dealt with in the source monitor?
    I'm on the latest version of Premiere CC 7.2.1 on Windows 8

    Thanks for these suggestions.  I'll try and answer each one:
    Is the Source Monitor zoomed out to show the whole clip? If not, please zoom out to see if the In/Out points are getting painted in the wrong place initially.
    Yes, it is zoomed out.
    Do the clips have non-zero start timecode? If so, please try with a clip with zero-based timecode. (If you don't have one handy, you can create one fairly easily by exporting a sequence with start TC of 0;00)
    The problem is intermittent and in this project all the clips are DSLR .mov files.  The problem occurs with some of these and not others.
    Have you done anything like setting a custom start timecode or interpreting footage to change the frame rate?
    I haven't set a custom timecode.  It's true that there is a mix of 24p and 25p clips in the project, but surely this only presents issues in the timeline rather than the source monitor?  In any case, I haven't gone to interpret footage on these clips.
    Is this happening with all types of project items, including simple clips on disc, or only with certain items like merged clips, multicam sequences, subclips...?
    In this project, the only type of clip I'm using is simple clips.  There are nested sequences; I'm not sure, but possibly the problem has also presented itself when these are brought into the source monitor - but not exclusively with those.
    I hope this helps.  This is the first project I have worked on since the latest upgrade and I didn't come across this problem before.  As I say, it is intermittent, and it's hardly crippling - just annoying when it happens!
    Thanks

  • In and out point feature not working

    I am a teacher at a tech school and I teach Premiere Pro CS5.5  I teach my students how to use the in and out points in the source clip monitor and then to select the button to insert or overwrite that section to the time line.  I also teach them how to use the in and out point in the timeline monitor and then to select the button to lift or extract that section from the time line.  For some reason this works for most of the students, but not for all.  I actually had it happen to my project during a demonstration.  Sometimes the action that you wanted on the timeline will not happen.  The playhead may slide over like it worked, but the clip is not there or the extraction never happened.  I check all the other video tracks to try to see if it is on another track, but it is not.  The fact that it works for some students and not others, makes me think that maybe it has to do with the type of video clip they are working with (similar to the mono/stereo/5.1 differences with audio clips).  I have to be missing something.  Help!

    You didn't say Mac or Windows, but my experience on Mac is that some features of Pr 5.5.2 just stop working, and can only be brought back by an app relaunch, a reboot, or by trashing the preferences (Hold option down while launching from the Dock.).
    But... some of what you describe could also be caused by not selecting the track selectors in the Timeline panel properly.

  • Video after In and Out points Changed

    After opening up a video in the Viewer and setting In and Out points, and dragging it back to the Browser afterwards:
    1. I tried changing the name of the clip that I dragged back to the Browser, though it changed the names of the other clips in the Browser to the same name. Why?
    2. How come when you double-click on the new clip and it shows in the Viewer, it shows the In and Out points as well as the video from the original segment around it. Is this the way it is supposed to be? I thought it was supposed to just display the segment of video starting with the In point and ending with the End point.

    1. do some reading in the manual. Might try making the clip independent.
    2. Yes. I know it may seem weird, but it has some really powerful uses. Double click on a clip in the timeline, it loads in the viewer. You can then change your in and out points in the viewer and they will be reflected in the sequence. (with some limitations). If you want to "isolate" the material between an in and an out, check out "make subclip."
    This is very basic fcp stuff. Skim the manuals, explore the menus, you'll figure this stuff out pretty quickly.

  • Filters change in and out points?

    This is the first time this has happened.
    When I add certain 3rd party filters and/or composite a layer above my clip, the in and out points appear to change in the clip (i.e. a different portion of the clip is now in the time line.
    When I double click the clip, the incorrect portion of the clip is loaded into the Viewer window, but when I do a Match Frame, the correct portion of the clip is loaded in the Viewer window.
    Also, when the incorrect portion of the clip is loaded in the Viewer (like when I double click it to load), the current timecode display (upper right) is italicized. It is actuallly the correct timecode, but the video is incorrect and the timecode is italicized.
    I did a Save As..., created a new sequence and cut and pasted the contents of the problem sequence, and set up a new project and cut and pasted the sequence in there to see if there was corruption, but I had the same problem there. i also trashed FCP preferences.
    I have a Mac Pro dual Quad 3Ghz running OS X.5.4
    I searched everywhere for "filters changing in and out points" and "Italicized timecode" and everything else I can think of, and found nothing. Anyone have any ideas?
    Thanks!

    Have you tried trashing render files with Render Manager and re-rendering?
    rh

  • Are in and out points reliable in FCPX?

    On a few clips, I have selected the in and out point, and when looking at the selected clip in the keyword collection, see that the last frame is actually one frame into the next scene in the original clip.
    This behaviour also appears when skimming footage and sometimes when adding to the project and exporting.
    When I select an out point, should I in fact select the previous frame to the one I actually want to be the out point?
    Never had this in FCP7 - maybe I am missing something!

    I have tried to demonstrate this: http://youtu.be/3uoUeqZh_og
    In this demo, the output file and project are ok, but I have had situations where the extra frame is in the output file also. Unfortunately I can't re-produce that just now, but will let you know if I can.

  • Moving in and out points of layers into a new comp

    I'm in a bind. I'm creating a complex moving split screen scene. First I chose in and out points for all my video clips (about thirty of them) in Premiere Pro, and made a rough plan of what it should look like. Then I Dynamic-Linked it to After Effects.
    I left that comp alone and then created a new comp to create moving layer solids for the split screen animation. (Colored rectangles flying around.) So far so good. The plan was then to drag and drop the video clips onto the layer solids (which all have masks) but when I drag it over, it ignores the in and out point.
    Is there a way to get it to recognize the in and out point? The in and out points are just fine in the Dynamic Link comp. (Again, that comp is just a very rough cut with no resizing or animation. I just did it to get the timing down.) Thanks.

    You have to copy the layers in your original comp to maintain the
    in and out points. The other option is to open the footage on the footage
    ppannel and see if in and out points show up there. If they do you can copy and paste from that panel.

  • Getting rid of in and out points

    To slo mo a bunch of clips at one time, I am putting the clips in the timeline, using paste attributes and then transferring them back to the browser to edit into my music video. After completing that step, they already have an in and out point. The in point in the beginning of the clip and the out point at the end of the clip. That means to do a cross dissolve, I have to delete the in and out points. I want to use paste attributes, but I hope I can transfer them back into my browser without the in and out points. Is that possible? Thanks for the help.

    Pressing the Option and X keys together will remove In an Out points.
    Option is marked "alt" on some keyboards.

  • In and out points in Color

    I cannot figure out how to take the in and out point out of the timeline in Color. Any suggestions?
    Thanks,
    Ryan

    You can't. The in/out points are merely for how the playback works - the timeline either plays the entire clip or the entire timeline - really the in/out is meaningless as long as you came from FCP

  • Cannot delete clips in timeline using in and out points

    Can't delete or trim clips clips in the timeline when I use the in and out points. Can't figure out this flaw. Its as if final cut does not recognize the ine in and out points. I 've been using the razor to make edits, but when a come across a flash frames and need in and out points to delete the flashframe, I'm in trouble.
    Thanks

    Hi -
    You are missing a step.
    Set the in and out points on the section you want to delete:
    Then type Option-A to select the area within the In and Out Point:
    Then press the small delete key or Shift+ Regular Delete Key and it will delete the section you've designated with an In and Out and pull up the rest of the edit:
    MtD

Maybe you are looking for