Forum Replies Created

  • Goran Hanzek

    February 10, 2020 at 10:08 am in reply to: attaching onClick events to checkboxes with for loop

    It works perfectly with second solution.

    Thanks Andrei!

  • Goran Hanzek

    November 8, 2019 at 9:53 am in reply to: Essential Graphics and audio properties

    Did you find solution to audio levels problem in mogrt?

    I have the same problem. I created mogrt in AE where I have 1 editable text layer and 3 different backgrounds, each with it’s own wave file. I connected it to a slider so user can chose which background will be shown. I also connected audio levels to slider. So when slider 1 is active, video 1 is visible and 2nd and 3rd videos waves have audio levels set to -192 (for both channels).

    Like Julian said, it works perfectly in AE, but when imported to Premiere, only one sound is played everytime. Audio levels does not work. I even tried with time remapping to push other audio files out of the comp but it didn’t work either.

    I work in AE2018, but I have to save it in AE 2017 (14.2.1.34) version and export MOGRT from there since client has dosen workstations running version of premiere (CC2018, 12.0.0., build 224) which is not compatibile with AE 2018 MOGRTS.

  • Thanks for fast reply and solution!

    In the meantime I also managed to solve it in a different way.
    I just have to tweak indexOf a little bit so that it doesn’t import files that have mp4 in their filename.
    I added couple of parameters besides fileObj instanceof File

    Here is my solution:

    var a = Folder(filePath);
    if(a != null){
    var b = a.getFiles(importVideoExtension);
    var c = b.length;
    for(var i = 0; i < c; i++){
    imported[i] = importAFile(b[i]);
    imported[i].parentFolder = footage;
    }
    }

    function importAFile(fileObj){
    try{
    if((fileObj instanceof File) && ((fileObj.name.indexOf(".mp4") != -1) || (fileObj.name.indexOf(".mpg") != -1))){
    currImport = app.project.importFile(new ImportOptions(fileObj));
    return currImport;
    }else{
    return false;
    }
    }catch(e){}
    }

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