Effect or script to smoothly center a layer after motion stabilization

Suppose I've used the motion tracker to perfectly stabilize a feature of interest. As a result, the feature is dead still within the frame. What I'm trying to achieve is to stabilize the jerky motion but preserve the overall motion of the feature around the frame.
For example, suppose that at the start of the footage, the feature is in the left half of the frame, then moves to the right, and then to the top. After stabilization, the feature is stationary while the layer is shifted to the right, then to the left, then to the bottom to compensate. What I'd like to see instead is that it stays generally in the left half, then generally in the right, then at the top, like it did initially, only with sudden jerks smoothed out.
To do what I want, I'm now thinking of having the (stabilized) layer get gently "pulled" towards the center of the frame, so that sudden shifts due to the stabilization are still there, but overall the layer returns to the center eventually.
Another way of looking at this is that I'd like to apply a high-pass filter to the tracked path, removing low-frequency motion from the path.
Does anyone know of a ready-made effect or script to achieve this?

You're overthinking this. Retaining smooth motion while remove jerky motion is built into the Warp Stabilizer effect. You don't need to run a script afterward or anything. I show how to remove jerks while retainng a camera pan in this video:
http://www.video2brain.com/en/lessons/overview-of-warp-stabilizer-effect
I strongly recommend that you work your way through these materials before trying to use the Warp Stabilizer effect:
http://blogs.adobe.com/toddkopriva/2011/04/warp-stabilizer-in-after-effects-cs5-5.html

Similar Messages

  • How to link layers in After Effect by script?

    Hi!
    Is it possible to link one layer to another in After Effect by script?
    I would build the custom effect with parameter like "Gradient Wipe" have: Gradient Layer.
    The idea is: this connection is independent from the layer number. That mean any layers delete, re-ordering etc will not affect this connection.
    Thank you in advance!

    Seems I've found the way...
    I've used "Layer" parameter:
    But there is another question:
    How to update the "old" Custom Effect in my AE projects?
    The problem is:
    If I'm changing the Custom Effect's content in PresetEffects.xml (adding the new parameter) then I can't load the old projects with old Custom Effect on layers.
    Can I avoid this?

  • How to do a very smooth slo-mo in after effects

    How do a very smooth slo-mo in after effects....please help i really need this.....tnx

    1) The Effect Way
    Take you clip and drag in onto the new composition icon
    Enter the composition settings
    Set it to twice its current length
    Exit Comp settings
    Drag THAT composition onto a new composition and go to FX>Time and drag TimeWarp onto the layer.
    If you use the default settings your clip will become half speed.
    Please refer to the Manual to understand the parameters.
    Now render your movie out.
    2) The up to double or tripple Fps way
    Drag your clip onto the new composition icon
    Let us assume that your clip is i.e. 29.97
    Enter the composition settings and set Frames Per Second to either the double or triple amount of the current clip's Fps.
    Extend the length of your composition accordingly.
    Exit composition settings
    Enable Frame Blending and make sure you set it to pixel motion.
    Render the video out (make sure the frame rate is set to that of the composition)
    After rendering out, import the movie again which is now either 59.94 or 89.91 (Depending on double or tripple)
    Select it and choose (right-click) interpret footage - in the dialog select your original FPS - in this case 29.97
    Exit out of interpret footage dialog
    Now drag it on to a new comp icon. It will play back in nice slow motion
    PLEASE, refer to manual on Pixel motion etc along with any other term you dont understand.
    To get optimum and best results you would typically want to use a combination of both above scenarios.
    But that would be too much right now... Given that you are inexperienced in creating SM....
    Experiment with it and in no time you will have marvelous SM.
    Hope this helps

  • A Script to Find and Replace Layer Names

    Are there any scripts to find and replace layer names?
    There is an excellent script available for Photoshop which allows you to not only replace words in layer names, but also insert words as Prefixes, Suffixes and Sequential Numbers.
    The illustrator version of this script only allows sequential numbering: It doesn't offer find and replacing of words.
    Ideally, it would be great if there was something that could do multiple find and replaces in one go:
    (e.g.
    You have layers like this Car, Dog, Bat
    You enter: car(Option1), dog(Option2), Bat(Option3)
    Your layers then become: Option1, Option2, Option3).

    big_smile, that's a very good start! Step 1 of Learning How To Script is indeed, adjusting an existing simple script to make it do more complicated things. (And usually then "break something", which is also a required part of the process.)
    You are correct in your observation this is repetitive stuff. For one or two different items that wouldn't be a problem, but in longer lists you soon get lost.
    The usual way of working with find-change lists is to build an array:
    var layernames = [
    [ 'FHairBowlBoy *Hair', 'Hairboy1' ],
    [ 'FHairCurlyafroBoy *Hair', 'Hairboy2' ],
    [ 'FHairSpikyBoy *Hair', 'Hairboy3' ],
    The general idea is to loop over all names, check if the current layer name is "layernames[i][0]" (the left column) and if so, rename it to "layernames[i][1]" (the right column). If you know how to write a loop in Javascript, then you can implement this right away.
    However ..
    A more advanced way to do this doesn't even need loop to over all layernames -- instead you can immediately "get" the correct name per layer! It's magic! Almost!
    The trick is to use a Javascript object instead of an array. Javascript objects are nothing special; Illustrator's 'layers' is an array of objects, and each object "layer" has a property "name", whose value you can read and set. What I do here is create a new object, where the "name" part is the original layer name and its value is the new layer name. All you need to check for per each layer is if there is a property 'object.originalLayerName', and if so, assign its value to that layer name.
    This looks a bit like the array above, except that (1) you use {..} instead of [..] to create an object, and (2) you add "name:value" pairs instead of "value" only (actually, the 'name' of a value in an array is simply its number).
    So this is what it looks like:
    // JavaScript Document
    var doc = app.activeDocument;
    // name indexed object
    var layernames = {
    'FHairBowlBoy *Hair':'Hairboy1',
    'FHairCurlyafroBoy *Hair':'Hairboy2',
    'FHairSpikyBoy *Hair':'Hairboy3'
    // loop through all layers
    for (var i = 0; i < doc.layers.length; i++)
    //Set up Variable to access layer name
    var currentLayer = app.activeDocument.layers[i];
    if (layernames[currentLayer.name])
      currentLayer.name = layernames[currentLayer.name];
    Enjoy!

  • Photoshop Elements 7 - How do I align/center a layer?

    I'm using Photoshop Elements 7. How do I align/center a layer vertically or horizontally on a page?

    Are you adding objects to a blank layer? If so bring up the ruler then drag and drop guides to your center and any additional points. You can also set so that objects automatically snap to the guide lines.
    If you want to align visually similar images on top of each other, there is no auto-align like in CS5. The only work around is to lower the opacity of the top layer and then use the move tool to align by eye.
     

  • Outline of After Effects CS4 scripting changes

    Here's a link to a blog post that provides information about the new and changed features in a sparse outline format:
    "After Effects CS4 scripting changes"

    > We use no compression because the LED signs will not take any file that is compressed. I assumed that meant there was no codec involved. Is there a codec applied in CS6, even though it is uncompressed?
    What Rick and I are getting at is: when you render from AE, in the Export Settings dialog there is a codec field; what do you set that to?
    Quick terminology lesson. Codec and compression are not the same thing. When you encode video, you are always using a codec. Most codecs use compression, but some do not. "None" or "Uncompressed" codecs do not use compression.
    After Effects does not add any compression other than what you specifiy in the Export Settings dialog. There should not be a significant difference between the files produced from AE CS4 and AE CS6. AVI, as a format, has not changed in many years. In other words, we know of no difference that would specifically cause this problem.
    If the LED sign software has a problem with an AVI from AE CS6, we need to know the requirements of the LED sign software and how that AVI is failing it. So far all you have told us is "other people say it doesn't work".

  • After Effects customize template with web browser?(layer name giving a variable names)?

    After Effects customize template with web browser?(layer name giving a variable names)?
    so many web sites provideing this service ...online intro makers
    please help me .what plugins using .how to setup this kind of service?

    Sir please see these sites...
    (www.makewebvideo.com,
    templates.introchamp.com.....)
    some sites are in online ...these are using AE for render

  • Adobe After Effects CS4 Scripts

    Hi,
    I have Adobe After Effects CS4
    Does anybody know where I can download
    Some Free After Effects Scripts?
    Like, Cubes, Cylinders, etc?
    Thanks
    Phillip

    See "Where to find additional useful scripts" for a listing of some of my favorite resources for scripts.
    I'm confused by the "Like Cubes, Cylinders, Etc." part of your message. You specifically want to use scripts to make cubes and cylinders? Whatever the case, you can probably find what you're looking for with the After Effects Community Help search. For example, this search for 'script cube' pulls up several useful results that provide links to projects and scripts for making 3D cubes in After Effects.

  • Create new layer after active layer

    Using scriptlistener I can create a new layer called "newlayer" after the active layer. So far so good.
      var id197 = charIDToTypeID( "Mk  " );
      var desc49 = new ActionDescriptor();
      var id198 = charIDToTypeID( "null" );
      var ref41 = new ActionReference();
      var id199 = charIDToTypeID( "Lyr " );
      ref41.putClass( id199 );
      desc49.putReference( id198, ref41 );
      var id200 = charIDToTypeID( "Usng" );
      var desc50 = new ActionDescriptor();
      var id201 = charIDToTypeID( "Nm  " );
      desc50.putString( id201, "newlayer" );
      var id202 = charIDToTypeID( "Lyr " );
      desc49.putObject( id200, id202, desc50 );
      executeAction( id197, desc49, DialogModes.NO );
    However, without the script listener we have
      var layerRef = app.activeDocument.artLayers.add()
      layerRef.name = newlayername
      layerRef.blendMode = BlendMode.NORMAL
      // Move the new layer after the current layer
      layerRef.moveAfter(app.activeDocument.artLayers[layerIndex])
    The moveAfter command needs an index, which would mean looping though all the layers till to find the active layer (since we can't access that throughthe DOM). This seems a bit long winded to me. Or am I missing a trick here?

    Well I would just use the scriptlistener code but if you don't want to for some reason you should make a reference to the activeLayer before add the new layer. Then use that reference as the moveAfter argument. The moveAfter method needs a layer object not a layer index. You need the index only because you are trying to supply that layer object by index.
    layerRef.moveAfter(someLayerRef);
    Also ( not that it really matters ) when scripting was first added there were several methods for moving a layer, moveAfter() was one of those. Those methods were combined into one method and the old methods are no longer documented in the javascript reference. So below is the documented way to move the layer.
    layerRef.move(someLayerRef, ElementPlacement.PLACEAFTER);

  • The inbound calls to our call center is drop after putting it on hold or transfer

    Dear All;    
    Good day  
    The inbound calls to our call center is drop after putting it on hold or transfer the call to another agent. The MOH file is playing till 21 sec only then call drop . the agent cant resume the call again. The MOH file is running from Gateway (multicast).
    No problem in outbound calls.
    I urgent need you help
    Should you require any more information , please do not hesitate to contact me.
    Thanks & Best Regards,
    Muhammad Fathy,
    IT Network Manager
    ALEXBANK
    A subsidiary of Intesa Sanpaolo Group
    Head office: B210-F1, Smart Village , KM 28 Cairo-Alex Desert Road, Egypt.
    Cell:      +201017288844.
    Office:  +202-35311300   Ext: 8090.
    eMail:   [email protected]
    i To maintain a paperless environment, please don't print this e-mail unless you really need to.

    Typically you have a codec or media resource issue to track down.  IE, MTP, region, location, gateway trunk to trunk to call or something in that area.   Bypass UCCX and do the same call without this app... does it happen with a normal call?

  • My Game Center went away after the last back-up. How do I get it back?

    My Game Center went away after the last back-up. How do I get it back?

    It's on your iPad somewhere. It cannot be deleted.
    Swipe from screen to screen to look for it.
    You can also reset the home screen layout and the icon will reappear - but the home screen will return to the way that it looked when you first activated your iPad.
    Settings>General>Reset>Reset Home Screen Layout.

  • How to zoom in model to add and subtract layer after a degree

    How to zoom in model to add and subtract layer after a degree

    Hi SionReaver.
    Here is a link to the webcam's support page. It includes the user guide and contact information if any issues arise.
    support page
    I hope this helps.
    -- Chauntain
    I work on behalf of HP.
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS THUMBS UP on the left to say “Thanks” for helping! .

  • Application failed to return status record to ALE layer after Idoc procesed

    Hi,
    I am loading a full load to Product category (hierarchies) through process chain.
    One of the load failed with the following error. The Idoc has status 51 in BW.
    Can some suggest me the process for correcting this.
    Thanks
    No status record was passed to ALE by the application
    Message no. B1358
    Diagnosis
    The application failed to return a status record to the ALE layer after the IDoc was processed.
    This is due to an error in the application function module which processed the inbound IDoc.
    Procedure
    If you wrote the application function module yourself, you need to change the program.
    If the function module in question is a standard application function module, you should consult SAP.

    Hi
    If this is standard code then you will have to write code to populate the status message in exit. But in case of custom code, the above mentioned solution is best (if coding logic is correct). I have given this solution to many queries and all worked.
    Thanks
    Anuraag

  • Workflow issue - How do you stop Illustrator selecting the top layer after every save?

    Hi There,
    One of the great things about layers is the ability to have elements in a locked layer above the layer you're working on. However, everytime Illustrator finishes saving, it selects the very top layer and if that layer is locked, then you're constantly making a trip to the layers palatte to select the layer you were working on before the save - I must have to do this 50-100 times an hour.
    Is there a way to force Illustrator to remember the layer you were working on before the save - and have it return to that layer after the save?
    Any pointers in the right direction would be much apprciated.
    Cheers
    Ben

    Thanks for the answers - would love to pin this down.
    Right now I'm working on a laptop so I have the layers panel in a list view - and use the F7 shortcut to open it (see screenshot attached).
    But as mentioned, I've noticed this behaviour from at least CS3 (maybe earlier) and on my workstation I just have the layers panel open on the right side.
    One thing that maybe different from most people is that I grew tired of moving from one side of the screen to the other so from CS2 onwards, I've had the main toolbar docked to the right as per the screenshot - on both my workstation and laptop.

  • Mouse cursor refuses to leave center of monitor after awakening.

    Mouse cursor refuses to leave center of monitor after awakening.
    So it requires a hard reboot since I can't access the menus, etc.
    The cursor simply refuses to move away from a central region and if I try to move it out of this area the cursor snaps back.
    Has anyone else heard of a similar problem?
    I'm using USB Overdrive with my Logitech MX Performance mouse and OS X 10.6.5.
    Never had this problem before... ever... in over a decade of using Macs, many years in using USB Overdrive, and over a year of using my Logitech mouse and quite a while using 10.6.5.
    The only change that I made before this began happening was to install Portal... but even after not using it for over a week this still occurs.
    I have used Snow Leopard Cache Cleaner to delete the cache files and this seems to cure the problem for a day or more.
    I haven't been able to narrow it down to any specific app that might be causing the corruption/conflict since it happens so infrequently (once a day makes it hard to narrow it down).
    I've done extensive searches on the web for others having similar problems and though I've read that many people have had jumping cursor problems I haven't found anyone with a similar limited/focused area cursor problem.
    TIA for any suggestions/references.
    Ron

    I just thought of one other change that I made just before this began happening... I installed the latest Java update from Apple.

Maybe you are looking for

  • 16:9 widescreen issue

    I have a movie in 16:9 and in DVD Studio pro it looks widescreen and through a projector and on a computer it is widescreen but on my tv it is anamorphically smushed. Is this just a problem with the TV-DVD player communication or do i need to somethi

  • I lost the audio on my video clips

    my video clips are no longer being recognized within my imovie

  • Convert a stored procedure to mapping in owb

    Hi All, We have stored procedures which are called in a mapping of OWB to load a target table. I want to get rid of those stored proc and use a normal mapping there where in from the ammoing itsekf I can load the data in the target table. Do we have

  • Iphoto will not play my videos

    After I import my videos into iphoto, they look like they are in there, but the will not play. I'm very worried as these are videos of my daughter as a baby. Some of them are 6 or more years old and used to play, now they won't. Others are new and ha

  • Blank log in screen (blue screen with clouds)

    Hello, I have already scoured throughout the forums and tried every solution I have seen to no avail. I am running Windows 7, 32 BIT. Internet Explorer 11 The following is a list of procedures I have already tried: -tried to register the javascript .