Forum Replies Created

  • Gary Sweeney

    May 19, 2023 at 11:18 am in reply to: Layer In & Out Time Automation

    Hi Andy, this worked perfectly, thank you!

    I was able to tweak what you had in the file to do both the in & out times using the script below.

    // Get the selected parent and child layers

    var parentLayer = app.project.activeItem.selectedLayers[0];

    var childLayer = app.project.activeItem.selectedLayers[1];

    // Check if both layers are selected

    if (parentLayer != null && childLayer != null) {

    // Set the in point and out point of the child layer to match the parent layer

    childLayer.inPoint = parentLayer.inPoint;

    childLayer.outPoint = parentLayer.outPoint;

    }


    Then I was able to edit the script to look down through a mass selection and sequence through the layers to run the script multiple times using the script below.

    // Get the selected layers

    var selectedLayers = app.project.activeItem.selectedLayers;

    // Check if there are at least two layers selected

    if (selectedLayers.length >= 2) {

    // Loop through the selected layers in pairs

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

    var parentLayer = selectedLayers[i];

    var childLayer = selectedLayers[i – 1];

    // Set the in point and out point of the child layer to match the parent layer

    childLayer.inPoint = parentLayer.inPoint;

    childLayer.outPoint = parentLayer.outPoint;

    }

    Thanks for sending me down the right path and saving me a lot of time.

  • Gary Sweeney

    March 19, 2019 at 1:37 pm in reply to: New Editing Bay – Advice Needed

    Hi Michael,

    Yes I had come across Puget in my research and it is very tempting going down that route, seems to be far more cost efficient. I do need a mac for certain software that I use unrelated to video editing/production so will always have to have one so possibly having a pc for the video side and a mac for the other bits would be the way to go.

    Thanks for the School of Motion link, very informative! ????

  • Gary Sweeney

    March 19, 2019 at 1:33 pm in reply to: New Editing Bay – Advice Needed

    The machine will mainly be used to create graphics that overlay video in After Effects that will then be exported and combined into videos with a max length of 30 mins in Premiere Pro.

    It will be used in presentations on screens up to 69 inches down as far as your standard 13/15 inch laptop screen.

    The work is time sensitive and normally have no more than 1 to 2 days to complete, speed is essential.

    Software used will be After Effects (heavily), Premiere Pro, Photoshop, Bridge, Media Encoder etc. Basically the Adobe CC 2018 package.

    Source files are generally .mov no more than 100MB each.

    The nature of my work shouldn’t change too much in the future, these videos will always have to be made.

  • Gary Sweeney

    March 13, 2019 at 10:32 am in reply to: Opacity control from data in .json

    That sounds exactly what I need Dan.


    (The error message is only down to not having the json loaded on this screenshot, it does work)

    My set up is shown in the images above, I have a main project showing a map and then 3 projects overlaying within it.
    In the project folders are the person’s heads which will move to the locations depending on the data.
    So there are times where different people will be in the same location but in different projects.
    The text layer at the top of the project is an invisible text layer that references the row in my json file required.

    What would be the way to put everything in an invisible text layer, calculate where everybody should be and then publish a list?
    I also assume this way would speed up the preview speed as it is very very slow at the minute.

    Gary

  • Gary Sweeney

    March 12, 2019 at 2:00 pm in reply to: Opacity control from data in .json

    Thanks again Dan, I’m an idiot.

    The next issue I have is I’ve ended up with 2 or more images overlapping each other.
    You don’t know of a way the images can be offset if they happen to be in the same location?

  • Gary Sweeney

    March 12, 2019 at 12:29 pm in reply to: Opacity control from data in .json

    Thanks Scott, this also works perfectly too.

    If you also have time for the other question I asked Dan above it would be appreciated.

  • Gary Sweeney

    March 12, 2019 at 12:26 pm in reply to: Opacity control from data in .json

    Hi Dan,

    Yes that works perfectly, really appreciate the help! I have another question if you have the time.

    I want to position the same image layer in a specific position depending on the data.
    I’ve put the code in below and it’s not having it when I had the ‘else if’ lines in but will work with just the if line & the else line at the end.

    input = footage(“datafile.json”).sourceData[46].CITY;

    if (input == “London”){[625.5,100.75]}
    else if (input == “Dublin”){[625.5,200.75]}
    else if (input == “Glasgow”){[625.5,300.75]}
    else if (input == “Cardiff”){[625.5,400.75]}
    else if (input == “Belfast”){[625.5,500.75]}
    else {[0,0]};

    Thanks
    Gary

    PS – Also what do you recommend is the best way forward in terms of learning all there is to know about this?

    input = footage("datafile.json").sourceData[46].CITY;

    if (input == “London”){[625.5,100.75]}
    else if (input == “Dublin”){[625.5,200.75]}
    else if (input == “Glasgow”){[625.5,300.75]}
    else if (input == “Cardiff”){[625.5,400.75]}
    else if (input == “Belfast”){[625.5,500.75]}
    else {[0,0]};

  • Hi Scott,

    Thanks for the reply, I think I understand what you are saying, I’m just struggling to figure out how to link my json to the input part.

    I should’ve attached my json file in the last post, here is what I’m working with.
    12559_pitchmap.json.zip
    Zone 1 represents an individual receiving a ball & Zone 2 is where it goes.

    Sorry for the lack of knowledge, just starting to get my head around it.

    Thanks

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