Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Motion Blur switch on/off for All comps

  • Motion Blur switch on/off for All comps

     Brice Munn updated 1 week ago 5 Members · 7 Posts
  • Bentsi Beberashvili

    September 19, 2020 at 6:22 pm

    I work with AE and Premier together often. I setup multiple AE comps and bring them in to premier. I don’t like rendering them out because, clients always have changes and I also like changing things on the fly to sync to music or VO. The issue I have is with the motion blur switch. When I’m doing the rough, I want the motion blur off so the render times are quicker. But when I’m ready for the final output, I have to open up AE and go thru each and every comp to turn on/off the motion blur. I was wondering if there was a plug in or something that allowed me to turn on/off all motion blur from one button or location. Since, there’s no “Best Quality” option from premier where I render my work from.

  • Helena Masterson

    September 19, 2020 at 6:32 pm

    You could try precomping all the comps then set the motion blur on that one main comp.

  • Bentsi Beberashvili

    September 19, 2020 at 6:53 pm

    Thanks Helena, Yes, that makes sense. I just realized it and did a head smack. Tho, it’d still be nice to have a switch to do the same.

    Thanks again.

  • Brendon Murphy

    September 20, 2020 at 3:49 am

    I scripted out a quick control for toggling comp motion blur – code below. To install it:

    Open the script editor window under File>Scripts>Open Script Editor. Paste the code into the window and save the file somewhere. Move the file into the ScriptUI Panels folder and restart AE. You will then see the tool under your “Window” menu. The panel, shown in the image, is dockable.

    function disableMoBlur(){

    var items = app.project.items;

    for (var i = 1; i <= items.length; i++) {

    if (items[i] instanceof CompItem){

    app.project.item(i).motionBlur = false

    };

    };

    alert(“Motion Blur DISABLED On All Comps”);

    };

    function enableMoBlur(){

    var items = app.project.items;

    for (var i = 1; i <= items.length; i++) {

    if (items[i] instanceof CompItem){

    app.project.item(i).motionBlur = true

    };

    };

    alert(“Motion Blur ENABLED On All Comps”);

    };

    //set up dockable GUI

    {

    function myScript(thisObj) {

    function myScript_buildUI(thisObj) {

    var myPanel = (thisObj instanceof Panel) ? thisObj : new Window(“palette”, “Motion Blur Control”, undefined, {resizable:true});

    res = “group{orientation:’row’, alignment:[‘left’, ‘top’],\

    groupOne: Group{orientation:’column’, alignment:[‘left’, ‘top’],\

    myButton: Button{text:’Disable Comp Motion Blur’, alignment:[‘left’, ‘top’]},\

    myButton2: Button{text:’Enable Comp Motion Blur’, alignment:[‘left’, ‘top’]},\

    },\

    }”;

    //Add resource string to panel

    myPanel.grp = myPanel.add(res);

    //set up button functions

    var runFirstButton = myPanel.grp.groupOne.myButton;

    var runSecondButton = myPanel.grp.groupOne.myButton2;

    runFirstButton.onClick = function(){

    disableMoBlur();

    };

    runSecondButton.onClick = function(){

    enableMoBlur();

    };

    //Setup panel sizing and make panel resizable

    myPanel.layout.layout(true);

    myPanel.grp.minimumSize = myPanel.grp.size;

    myPanel.layout.resize();

    myPanel.onResizing = myPanel.onResize = function () {this.layout.resize();}

    return myPanel;

    }

    var myScriptPal = myScript_buildUI(thisObj);

    if ((myScriptPal != null) && (myScriptPal instanceof Window)) {

    myScriptPal.center();

    myScriptPal.show();

    }

    }

    myScript(this);

    };

  • Asim Ali

    May 28, 2021 at 9:00 pm

    Hi, I tried this script it gives an error “Unable to execute script at line 15. syntax error”

  • Asim Ali

    June 6, 2021 at 4:15 pm

    I tried this script but it gives an error “Unable to execute the script at line 15. syntax error” can you help me?

  • Brice Munn

    June 15, 2021 at 3:59 pm

    Second this! I usually workflow animations with no motion blur to make previewing along the way easier, and then go through and add it in bulk before my final export. Would love if one checkbox could do that!

    Also would love if motion blur with the C4D 3D Renderer was a thing, but that’s a whole different conversation.

Viewing 1 - 7 of 7 posts

Log in to reply.

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