No internet connection
  1. Home
  2. Packages
  3. Scheps Dolby Atmos - Batch Export MP4

How Do You Wait For The Exports In Dolby Atmos Renderer

By Gabriel Lundh @Gabriel_Lundh
    2021-12-06 15:41:17.373Z

    Hi @Andrew_Scheps !
    I know you said no support for this package, but I just had to ask:
    I've been trying to come up with a solution for 2 years on having Soundflow wait for the renders to finish, before moving on to the next task. As almost no Baby Elements are exposed in the renderer, this is so hard.
    Now my export scripts with re-renders are working with manual prompts instead of automatic wait times.

    Would you mind sharing your approach?
    Thanks for the brilliant Atmos Panel Last week, so much good information!!!

    All the best,
    Gabriel

    • 59 replies

    There are 59 replies. Estimated reading time: 29 minutes

    1. Andrew Scheps @Andrew_Scheps
        2021-12-06 15:49:59.240Z

        Hi Gabriel,

        For my export scripts I basically stay in a While loop waiting for something known to happen. As you say, there aren't many UI elements that are exposed, but for instance, when I'm waiting for a dialog to open I just keep checking for a radio button or something like that.

        Waiting for render or export operations to complete is trickier. Rather than waiting for anything to happen in the renderer I am actually waiting for the files to appear in the Finder. For instance, when exporting MP4s, the files doesn't exist in the destination directory until the export is completed, so just keep checking to see if the file exists, and when it does I move on. Exporting re-renders is trickier because the file is created right away and then updated throughout the export, so I have to keep checking the modification date to see when the renderer has stoped updating it.

        It's always about finding the one thing that changes at the end of a process, no matter where it is or even if it's directly related to the process, and then watching it.

        Hope that helps,
        Andrew

        1. GGabriel Lundh @Gabriel_Lundh
            2021-12-06 15:58:19.992Z

            Hi @Andrew_Scheps !
            Thank you so much for your prompt and clear response!
            I wish my head was wired the way yours are!!
            That totally makes sense. Sounds tricky to look for the modification date update to finish, but I'll maybe find some code around.

            I have a longer export script that is based on you genius Stereo Bounce Script found on this forum.
            But I modified it to export an ADM, Open that ADM when finished in PT, in the renderer, Export MP4 and Binaural (with manual prompts for now) then Throwing the ADM in the trash to spare my hard drive disk space, then it copies the MP4 to my iCloud Files. So I can listen to it in Spatial...
            Horribly complicated, but saves so much time. So thanks for the inspiration there Andrew!

            All the best,
            Gabriel

            1. Andrew Scheps @Andrew_Scheps
                2021-12-06 16:05:18.706Z

                Glad I could (sort of) help. You could always change your workflow a little to print all your ADMs first, then call a preset from this package to do the exporting, then do your copying and cleanup.

                1. GGabriel Lundh @Gabriel_Lundh
                    2021-12-06 16:21:05.981Z

                    I just updated the script with the file wait for line. OMG. I've been waiting for this day so long, works like a charm!
                    Now I just have to figure out how to write the Modification Date script....
                    I use this script for revisions, and quick listens in Spatial - not for final deliverables. So I sort of need it to be on a per project basis.

                    Thank you so much Andrew!!
                    All the best,
                    Gabriel

                    1. Andrew Scheps @Andrew_Scheps
                        2021-12-06 16:46:23.808Z2021-12-06 17:56:57.484Z

                        I'll give you that one for free, it took me a long time to get it right. The function gets passed in the full path to the ADM file (as admPath)

                         let targetFileBin = admPath.split('.').slice(0, -1).join('.') + '_Binaural.BIN.wav'
                            while (!sf.file.exists({ path: targetFileBin }).exists) {
                                //Wait for our file to be created in the Finder
                                sf.wait({ intervalMs: 250 });
                            }
                            //Now wait for it to stop being written to
                            let modTime = Date.parse(String(sf.file.getFileInfo({ path: admPath }).fileInfo.lastAccessTimeUtc));
                        
                            while (true) {
                                //Wait for our file to stop being written to
                                sf.wait({ intervalMs: 1000 });
                                let newModTime = Date.parse(String(sf.file.getFileInfo({ path: admPath }).fileInfo.lastAccessTimeUtc));
                                if (newModTime == modTime) break;
                                modTime = newModTime;
                            }
                        

                        That should do it.

                        1. GGabriel Lundh @Gabriel_Lundh
                            2021-12-06 16:49:00.210Z

                            Andrew, you are THE BEST!!
                            Thank you so much for this. I would never have nailed that my self!

                            You Rule!
                            All the best,
                            Gabriel

                            1. MMick Boggis @Mick_Boggis
                                2021-12-09 22:33:58.211Z

                                Hi I wonder if you could help me ? I'm using @Andrew_Scheps batch export and I never get past 1 re render export. I have 10-15 ADMs in a bounce folder and point to that and all starts well and MP4s get produced without issue but after 1 Binaural re render has occurred the process fails. Is this because I then have a non ADM file in the folder ? Is there a way to get around this do you know ? If you are happy to help I would be grateful as I have approx 200 to do. Also if I have not been clear enough please let me know !!
                                Thanks very much

                                1. Andrew Scheps @Andrew_Scheps
                                    2021-12-09 22:39:26.857Z

                                    Hi Mick,

                                    Can you be specific about how it fails? A screen recording is always helpful too.

                                    Thanks,
                                    Andrew

                                    1. MMick Boggis @Mick_Boggis
                                        2021-12-10 02:46:10.840Z

                                        Thanks for the reply Andrew, I'll provide clearer info and a screen recording later on today.
                                        Thanks for getting back to me, really appreciated.

                                        1. In reply toAndrew_Scheps:
                                          GGabriel Lundh @Gabriel_Lundh
                                            2021-12-12 13:28:38.135Z

                                            Hi again Andrew!
                                            I actually had the same problem as @Mick_Boggis here, regarding the package to fail while running it. I managed to make it work at one test, but could not make it work after that test.

                                            Therefore, the script you provided did also fail while run in my larger script. Now I've done some testing and realised:
                                            The fileInfo.lastAccessTimeUtc does not refresh that often in the middle of the Re-render export, which ment that the old mod time == new mod time before the export is done, hence continuing, canceling the bounce.

                                            I solved it by instead using the .lastWriteTimeUtc on the targetFileBin instead, which refreshed every 1000ms!

                                            So the full part of the script for me is now:

                                            sf.keyboard.press({
                                                keys: "numpad enter, numpad enter",
                                            });
                                            
                                            var admPath = bounceDir + "/" + fileNameWithoutExtension + ".wav";
                                            
                                            
                                            let targetFileBin = admPath.split(".").slice(0,-1).join(".") + '_Binaural.BIN.wav';
                                            while (!sf.file.exists({ path: targetFileBin }).exists) {
                                                    //Wait for our file to be created in the Finder
                                                    sf.wait({ intervalMs: 250 });
                                                    
                                                }
                                                
                                                //Now wait for it to stop being written to
                                            let modTime = Date.parse(String(sf.file.getFileInfo({ path: targetFileBin }).fileInfo.lastWriteTimeUtc));
                                            
                                            while (true) {
                                                    //Wait for our file to stop being written to
                                                    sf.wait({ intervalMs: 1000 });
                                                    let newModTime = Date.parse(String(sf.file.getFileInfo({ path: targetFileBin }).fileInfo.lastWriteTimeUtc));
                                                    if (newModTime == modTime) break;
                                                    modTime = newModTime;
                                            }
                                            

                                            I think your package worked while testing it on my Mac Pro, which is not using the internal drive for my projects, but failed while testing on my Macbook, using the internal drive.
                                            Could the AccessTime refresh more often if It's checking the external drive state?

                                            Thanks a lot for the help again, Andrew!
                                            All the best,
                                            Gabriel

                                            1. Andrew Scheps @Andrew_Scheps
                                                2021-12-12 13:50:31.440Z

                                                Hi @Gabriel_Lundh , good sleuthing. On my system access time seems to refresh more consistently than write time. I'll make a template version of the script so you can specify your own wait time to get something that will work on your system.

                                                1. GGabriel Lundh @Gabriel_Lundh
                                                    2021-12-12 13:55:27.519Z

                                                    You are fantastic @Andrew_Scheps !!

                                                    Thanks again for the inspiration!
                                                    All the best,
                                                    Gabriel

                                                    1. Andrew Scheps @Andrew_Scheps
                                                        2021-12-12 13:56:23.170Z

                                                        It's in the store now.

                                                        1. GGabriel Lundh @Gabriel_Lundh
                                                            2021-12-12 13:59:40.025Z

                                                            I sincerely do not think there is a faster human being alive than you, Andrew!

                                                            Thanks again!

                                                            1. Andrew Scheps @Andrew_Scheps
                                                                2021-12-12 14:00:17.053Z

                                                                Christian is waaaaaaaaaaaaay faster!

                                                                1. In reply toGabriel_Lundh:
                                                                  Andrew Scheps @Andrew_Scheps
                                                                    2021-12-12 14:00:28.474Z

                                                                    Let me know if it works for you.

                                                                    1. GGabriel Lundh @Gabriel_Lundh
                                                                        2021-12-12 14:08:37.484Z

                                                                        Haha, that might be true! I just did some testing with the wait time at different values.
                                                                        Unfortunately, it seems as the problem persists, even with a long wait time like 10000ms.
                                                                        Hard to do any trouble shooting on my end without the whole script. It just seems as if the modTime == newModeTime. The script goes all the way (I get the success log), but it cancels the bounce once the wait time in the loop is over.

                                                                        1. Andrew Scheps @Andrew_Scheps
                                                                            2021-12-12 14:23:59.709Z

                                                                            Hmmm, it's working here even if I go down to 100mSec, but fails like you're describing at 10mSec. What format drive are you writing to? I'll try switching it to write time and we can try that.

                                                                            1. In reply toGabriel_Lundh:
                                                                              Andrew Scheps @Andrew_Scheps
                                                                                2021-12-12 14:43:56.471Z

                                                                                @Gabriel_Lundh I found a different way to do it! Just published, see if this works for you. Should be faster too.

                                                                                1. GGabriel Lundh @Gabriel_Lundh
                                                                                    2021-12-12 14:56:37.407Z

                                                                                    Works like a CHARM! Would you mind sharing the different approach?
                                                                                    Fantastic, Andrew!!

                                                                                    All the best,
                                                                                    Gabriel

                                                                                    1. Andrew Scheps @Andrew_Scheps
                                                                                        2021-12-12 15:43:24.053Z

                                                                                        I found a UI element in the progress window in the Renderer that I could wait for it to disappear.

                                                                                        1. GGabriel Lundh @Gabriel_Lundh
                                                                                            2021-12-12 16:23:36.125Z

                                                                                            Aaa! Perfect!
                                                                                            Thanks a lot Andrew!

                                                                                            All the best,
                                                                                            Gabriel

                                                                                          • In reply toGabriel_Lundh:
                                                                                            Andrew Scheps @Andrew_Scheps
                                                                                              2021-12-12 16:25:45.785Z

                                                                                              @Mick_Boggis check out the latest version of the package in the store and see how it works for you. Thanks!

                                                                                              1. MMick Boggis @Mick_Boggis
                                                                                                  2021-12-12 17:09:08.539Z

                                                                                                  Hi Andrew, thanks for keeping me in mind. I'm going to do a screen recording of my issue. What seems to be the stumbling block is that the Re-renders are being exported to the same folder as the ADMs already exist in therefore causing the process to stop after one complete export .I hope that's clear enough but will do a screen recording in a minute to hopefully make it obviuos.
                                                                                                  Thanks again for taking the time to help, I really do appreciateit..
                                                                                                  Mick

                                                                                                  1. Andrew Scheps @Andrew_Scheps
                                                                                                      2021-12-12 17:17:03.879Z

                                                                                                      Hi Mick, if the new version fails as well let me know. The problem isn't that they are being exported to the same folder, that's how it works for everybody,

                                                                                                      1. MMick Boggis @Mick_Boggis
                                                                                                          2021-12-12 19:03:19.826Z

                                                                                                          Hi Andrew, sorry for the delay. Heres a link to a screen recording of what i have badly explained !! https://1drv.ms/v/s!Au4wM6eMPWgqp54fTz1-HWQG-koAOw?e=GRjonh
                                                                                                          Many thanks for the help and tine,
                                                                                                          Mick

                                                                                                          1. In reply toMick_Boggis:
                                                                                                            Andrew Scheps @Andrew_Scheps
                                                                                                              2021-12-12 19:21:16.774Z

                                                                                                              Is that with the latest version of the package?

                                                                                                              1. MMick Boggis @Mick_Boggis
                                                                                                                  2021-12-12 19:37:51.188Z

                                                                                                                  Yes Andrew I saw your earlier post and uninstalled the version I was running and installed the latest one

                                                                                                                  1. Andrew Scheps @Andrew_Scheps
                                                                                                                      2021-12-12 20:01:18.332Z

                                                                                                                      @Mick_Boggis Just published a new one that should work...

                                                                                                              2. In reply toMick_Boggis:
                                                                                                                Andrew Scheps @Andrew_Scheps
                                                                                                                  2021-12-12 19:38:53.334Z

                                                                                                                  Hi Mick. I see the problem! For some reason your Renderer is naming the file re_render.BIN, mine names it binaural.Bin. Working on a fix now...

                                                                                                                  1. MMick Boggis @Mick_Boggis
                                                                                                                      2021-12-12 23:13:24.237Z

                                                                                                                      Hi Andrew,firstly thankyou SO much for he time and application you have put into helping me out, really appreciated. No need for you to work on a fix, I have changed the re render from re_render.BIN, to binaural.Bin. and all is BEAUTIFUL !!!
                                                                                                                      Thanks again and all my very best,
                                                                                                                      Mick

                                                                                                                      1. Andrew Scheps @Andrew_Scheps
                                                                                                                          2021-12-12 23:45:21.877Z

                                                                                                                          Out of curiosity, where do you change that? In other news it should work either way now.

                                                                                                                          1. MMick Boggis @Mick_Boggis
                                                                                                                              2021-12-14 12:08:51.818Z

                                                                                                                              Hi Andrew, sorry for the tardy reply. I changed it in the Re-renders window then clicked "Properties" for the Offline BIN Bounce which brings up a pop up window where you can change the name. HTH and thanks again for helping out.
                                                                                                                              Best wishes,
                                                                                                                              Mick

                                                                                                              3. In reply toAndrew_Scheps:
                                                                                                                GGabriel Lundh @Gabriel_Lundh
                                                                                                                  2022-02-09 10:58:47.909Z

                                                                                                                  Hi Andrew!

                                                                                                                  Sorry to bother you in this thread again, but just wanted to check with you:
                                                                                                                  I used your batch Script when doing deliverables for an album yesterday and it failed me three times during the album (when it failed, I took out all the sucessful re-renders and ADMs and just left the unfinished ADMs in the Folder the the script uses).

                                                                                                                  When thinking of it I realised I'm using the Production Suite Renderer for these exports, and you are using the Mastering suite or the Remote for the Mastering Suite, Right?
                                                                                                                  Maybe that's where it fails/reacts differently.

                                                                                                                  Totally understand if you do not want to, but it would be incredibly helpful if I you were able to post the script, so that I could do some troubleshooting on my end.

                                                                                                                  You rule, thanks for everything.
                                                                                                                  All the best,
                                                                                                                  Gabriel

                                                                                                                  1. Andrew Scheps @Andrew_Scheps
                                                                                                                      2022-02-11 22:49:58.212Z

                                                                                                                      Hi @Gabriel_Lundh ,

                                                                                                                      It definitely doesn't work with the Renderer Remote app, it has to be run on the same machine as the files, but it shouldn't matter which version. The fact that some of them exported ok confirms that. Can you give me some more information about what went wrong? When you re-tried those ADMs did it work?

                                                                                                                      Thanks,
                                                                                                                      Andrew

                                                                                                                      1. GGabriel Lundh @Gabriel_Lundh
                                                                                                                          2022-02-15 12:38:50.541Z

                                                                                                                          Hi @Andrew_Scheps !
                                                                                                                          Sorry for taking so long time to get back to you.
                                                                                                                          I wanted to make a proper test again.
                                                                                                                          The problem is the same as I had when trying my own version of the script - it does not seem to understand when the Binaural is actually done. At this link the script fails to go further after the second song:
                                                                                                                          https://vimeo.com/677674409/1944d927f9
                                                                                                                          I had to cancel the script. This is on my main machine with the files working from a super fast PCI SSD in Raid.
                                                                                                                          Do you have any ideas?

                                                                                                                          All the best,
                                                                                                                          Gabriel

                                                                                                                          1. Andrew Scheps @Andrew_Scheps
                                                                                                                              2022-02-15 20:36:17.557Z

                                                                                                                              Hey @Gabriel_Lundh ,

                                                                                                                              That's pretty weird, it never times out on my system. Basically I'm waiting for the progress bar to disappear, and that seems to work well on my system. Previously I was waiting for the files to stop being written to, but that was a lot more error prone.

                                                                                                                              Will it always fail on that one ADM or will it sometimes do it properly?

                                                                                                                              Thanks,.
                                                                                                                              Andrew

                                                                                                                              1. GGabriel Lundh @Gabriel_Lundh
                                                                                                                                  2022-02-17 11:11:56.955Z

                                                                                                                                  Hey @Andrew_Scheps !
                                                                                                                                  The wierdness continues. I just did some additional tests and it seems like the script only fails on songs where the track name has any of the ÄÅÖ in it.
                                                                                                                                  This is extremely wierd as you're not looking at the path any more for this step. Every other track (which does not include ÄÅÖ) of the album runs smoothly.
                                                                                                                                  Any thoughts?

                                                                                                                                  Thanks as always!
                                                                                                                                  All the best,
                                                                                                                                  Gabriel

                                                                                                                                  1. Andrew Scheps @Andrew_Scheps
                                                                                                                                      2022-02-17 13:00:26.953Z

                                                                                                                                      Even weirder is that I just tested here with a file called Test Ä and it worked fine. Let me keep trying to break it...

                                                                                                                                      1. GGabriel Lundh @Gabriel_Lundh
                                                                                                                                          2022-02-17 13:12:50.196Z

                                                                                                                                          That is beyond me!!
                                                                                                                                          Thank you for trying to brake it, haha!

                                                                                                                                          You rule!

                                                                                                                                          1. Andrew Scheps @Andrew_Scheps
                                                                                                                                              2022-02-17 13:33:01.331Z

                                                                                                                                              I haven't found anything yet, but I changed the code to be more robust when clicking buttons in the dialogs (which is where it seems to get stuck).

                                                                                                                                              Try 1.0.5 and let me know!

                                                                                                                                              1. GGabriel Lundh @Gabriel_Lundh
                                                                                                                                                  2022-02-18 09:14:52.007Z

                                                                                                                                                  Hi @Andrew_Scheps !
                                                                                                                                                  I just ran the script on one of the error prone ADMs on the previous version of your package but on my mobile rig instead. Same problem - got stuck. However, after updating to 1.0.5 it WORKED!
                                                                                                                                                  Cannot wrap my head around why this worked and why it only fails on just some tracks. But great work!
                                                                                                                                                  I have not managed to script any of the Export or Cancel buttons reliably - i just press Enter or Esc until I get out of dialogs. Impressed by your skills as always!

                                                                                                                                                  Thanks!!
                                                                                                                                                  All the best,
                                                                                                                                                  Gabriel

                                                                                                                                                  1. Andrew Scheps @Andrew_Scheps
                                                                                                                                                      2022-02-18 10:42:26.478Z

                                                                                                                                                      So glad it's working!

                                                                                                                                                      For all the buttons I'm doing mouse clicks relative to the window. The key for the buttons is figuring out what anchor point to use so that no matter what size the window is the button is always the same number of pixels from that anchor. And for these scripts I had to make the click type down and up and click count 2. No idea why, but that's how it became consistent.

                                                                                                                                                      1. GGabriel Lundh @Gabriel_Lundh
                                                                                                                                                          2022-02-18 11:03:45.720Z

                                                                                                                                                          You're the man!
                                                                                                                                                          Thanks for letting me know, I've experienced the same thing with the Press keys - now having a while loop clicking until the menu Item Exists...

                                                                                                                                                          Hope you get a fantastic weekend, Andrew!
                                                                                                                                                          All the best,
                                                                                                                                                          Gabriel

                                                                                                                                                          1. In reply toAndrew_Scheps:
                                                                                                                                                            RRicardo Cutz @Ricardo_Cutz
                                                                                                                                                              2022-04-27 14:32:36.193Z

                                                                                                                                                              Hi Andrew and Gabriel I jsut found out this thread today trying to find out a way to batch export adm, mp4 bin's etc...
                                                                                                                                                              I installed thre free pack from Andrew and I'm getting this error just after selecting the folder with the ADM

                                                                                                                                                              27.04.2022 11:23:35.52 [Backend]: Logging error in action (01) ClickMenuAction: ClickMenu Element UI required

                                                                                                                                                              My RMU is in another computer, so I was trying to run it throug the Remote.

                                                                                                                                                              Mine version is 3.7

                                                                                                                                                              thanks for any tips - I can't script like you guys... just made my way around doing macros!

                                                                                                                                                              1. Andrew Scheps @Andrew_Scheps
                                                                                                                                                                  2022-04-27 14:34:27.783Z

                                                                                                                                                                  Hi @Ricardo_Cutz ,

                                                                                                                                                                  It won't work with the renderer Remote, you have to run it locally. The remote version has a really weird way of navigating to and opening files.

                                                                                                                                                                  Thanks,
                                                                                                                                                                  Andrew

                                                                                                                                                                  1. RRicardo Cutz @Ricardo_Cutz
                                                                                                                                                                      2022-04-27 14:45:52.637Z

                                                                                                                                                                      Thanks for the very fast answer Andrew!
                                                                                                                                                                      I was imagining that would be the case!

                                                                                                                                                                      If you don't mind me asking you a tip about this particular scenario:
                                                                                                                                                                      28 tracks in the same session - pre mixed live tracks just being "mastered" to atmos, do you imagine some way to batch bounce the ADM's and them do the mp4/Bin?

                                                                                                                                                                      I work 100% in post, so I made a macro to export donwmixes from 5.1, import, rename, clean up and I was just imagining that with bounce adms it would be more or less the same, my case is that I need to manually repeat the code to each reel I got, so I was imaging the work having for exemple 28 tracks ...

                                                                                                                                                                      There is a way to tell soundflow, please repeat it until X timecode? Or until you don't find any clip or a specific marker in the timeline?

                                                                                                                                                                      Thanks for your very nice soundflow work!

                                                                                                                                                                      1. Andrew Scheps @Andrew_Scheps
                                                                                                                                                                          2022-04-27 16:52:01.310Z

                                                                                                                                                                          You would have to script it, but there are ways to tell SoundFlow to do something for each clip on a track, so if you set up a track with a clip for each time range you wanted to print, thee it could walk through the session printing ADMs.

                                                                                                                    • S
                                                                                                                      In reply toGabriel_Lundh:
                                                                                                                      Stefan Boman @Stefan_Boman
                                                                                                                        2022-06-20 14:18:24.976Z

                                                                                                                        Hi @Andrew_Scheps !

                                                                                                                        First off a big thanks for all the fantastic apps!!
                                                                                                                        The stuff you made probably saves me about an hour of super boring stuff every day. Especially Bounce factory!

                                                                                                                        I know you said there's no support for this one and I respect that, but I thought I'd throw this our there to see if someone can help out.
                                                                                                                        I'm doing a lot of Atmos mix these days and would love to be able to do the MP4s and binaurals as a batch.
                                                                                                                        Your export script is really unstable on my rigg and I can't quite figure out why it's so moody for me.

                                                                                                                        Seems to work about 50% of the cases and often stops in the middle of a batch.

                                                                                                                        I'm running Monterey cause I have a Mac studio(if that could affect that).

                                                                                                                        Anyway, a huge thanks for everything!! And hope someone can help out with this :)

                                                                                                                        Here's one of the missed export:
                                                                                                                        20.06.2022 14:53:30.47 [Backend]: >> Command: Default Preset [user:ckzzay4qe000042101j7rrm7n:ckvpgb73f0001gi10cpijbru7#ckw0p1sa00000ct10oi3k26n1]

                                                                                                                        20.06.2022 14:53:37.10 [Backend]: Checking for running apps with bundle 'com.dolby.atmos.renderer'

                                                                                                                        20.06.2022 14:53:37.10 [Backend]: NSArray.ArrayFromHandle count = 1

                                                                                                                        20.06.2022 14:53:38.15 [Backend]: Error in WaitOnAsync:
                                                                                                                        System.NullReferenceException: Object reference not set to an instance of an object.
                                                                                                                        at SoundFlow.Shortcuts.Ax.AxNodes.AxElementArrayIndexedItem.DoInvalidate() + 0x4a
                                                                                                                        at SoundFlow.Shortcuts.Automation.Actions.WaitForElementAction.b__22_0() + 0x44
                                                                                                                        at SoundFlow.Shortcuts.Automation.Actions.Wait.d__0.MoveNext() + 0x20
                                                                                                                        Logging error in action (01) WaitForElementAction: Element was not found or removed after waiting 2000 ms

                                                                                                                        20.06.2022 14:53:38.15 [Backend]: Logging unknown error in action (02) RunCommandAction: Batch convert ADMs: Line 57

                                                                                                                        20.06.2022 14:53:38.15 [Backend]: !! Command Error: Default Preset [user:ckzzay4qe000042101j7rrm7n:ckvpgb73f0001gi10cpijbru7#ckw0p1sa00000ct10oi3k26n1]:
                                                                                                                        Error waiting for the dialog to close (Batch convert ADMs: Line 57)
                                                                                                                        Element was not found or removed after waiting 2000 ms

                                                                                                                        20.06.2022 14:53:38.15 [Backend]: << Command: Default Preset [user:ckzzay4qe000042101j7rrm7n:ckvpgb73f0001gi10cpijbru7#ckw0p1sa00000ct10oi3k26n1]

                                                                                                                        1. In reply toGabriel_Lundh:
                                                                                                                          Chris Tabron @Chris_Tabron
                                                                                                                            2024-07-17 04:05:31.610Z

                                                                                                                            i'm resuscitating this old thread in case any kind soul has been able to get this to work in latest DAR version 5.3. i keep getting stuck at

                                                                                                                            16.07.2024 23:56:07.15 [Backend]: !! Command Error: Default Preset [user:default:clypav5cb0001ng10nsmtc88d#ckw0p1sa00000ct10oi3k26n1]:
                                                                                                                            MouseClickAction requires valid UIElement (Batch convert ADMs v5.0: Line 98)

                                                                                                                            can't figure it out, though i'm definitely a sound flow editing Noob.

                                                                                                                            thanks in advance
                                                                                                                            chris

                                                                                                                            1. Andrew Scheps @Andrew_Scheps
                                                                                                                                2024-07-17 07:25:23.699Z

                                                                                                                                Hey @Chris_Tabron ,

                                                                                                                                Update the package and you should see a script for version 5.3. Lemme know!

                                                                                                                                1. Chris Tabron @Chris_Tabron
                                                                                                                                    2024-07-17 14:27:32.118Z

                                                                                                                                    hmm, i don't see an update available. i thought 1.0.8 was the latest one for this package.

                                                                                                                                    1. Andrew Scheps @Andrew_Scheps
                                                                                                                                        2024-07-17 14:36:15.323Z

                                                                                                                                        1.0.8 is the latest. You;'re running the 5.0 script though. (Batch convert ADMs v5.0 is in the error message)

                                                                                                                                        1. Chris Tabron @Chris_Tabron
                                                                                                                                            2024-07-17 15:04:24.436Z

                                                                                                                                            ah, pilot error sorry!

                                                                                                                                            getting a new error now on the latest script

                                                                                                                                            17.07.2024 11:02:58.03 [Backend]: Logging unknown error in action (02) RunCommandAction: Batch convert ADMs: Line 63
                                                                                                                                            !! Command Error: Default Preset [user:clym90dwu0001nn103gqh8nw5:ckvpgb73f0001gi10cpijbru7#ckw0p1sa00000ct10oi3k26n1]:
                                                                                                                                            Could not find menu item: File->Export Audio->MP4 (Batch convert ADMs: Line 63)

                                                                                                                                            1. Andrew Scheps @Andrew_Scheps
                                                                                                                                                2024-07-17 15:09:51.887Z

                                                                                                                                                That's the very original one. Try Batch convert ADMs v5.3

                                                                                                                                                1. Chris Tabron @Chris_Tabron
                                                                                                                                                    2024-07-17 15:21:25.108Z

                                                                                                                                                    i'm sure i'm missing something obvious, but i don't see that in my soundflow editor. just 5.0 and the OG. i tried uninstalling and reinstalling the package, too. facepalm

                                                                                                                                                    1. Andrew Scheps @Andrew_Scheps
                                                                                                                                                        2024-07-17 15:27:25.255Z

                                                                                                                                                        Weird! Just re-published as 1.0.9, see if that works...

                                                                                                                                                        1. Chris Tabron @Chris_Tabron
                                                                                                                                                            2024-07-20 00:06:44.205Z

                                                                                                                                                            that 5.3 script worked lovely, thank you. i can't seem to get it to export re-renders (i only have the 1 BIN necessary) and it throws the following error:

                                                                                                                                                            !! Command Error: Default Preset Duplicate [user:clyqnrvy30000mf10jmta6x0d:clur78ipn0000et10iwx6xr4s#clyt2yv100000mp10tu5e9grq]:
                                                                                                                                                            MouseClickAction requires valid UIElement (Batch convert ADMs v5.3: Line 177)
                                                                                                                                                            Couldn't get item #0 as the array length was 0 - sf.ui.app('com.dolby.atmos.renderer').windows.whoseTitle.is('Export re-renders').first.buttons.whoseTitle.is('Browse').first (AxElementArrayIndexedItem)

                                                                                                                                                            you've already gone far beyond the non-existent warranty on this, so no worries if you don't get to it. being able to batch export mp4 is already a dream and i'm very appreciative.

                                                                                                                                                            C

                                                                                                                                                            p.s. that Audiomovers Binaural switching script is SO tight :)

                                                                                                                                                            1. Andrew Scheps @Andrew_Scheps
                                                                                                                                                                2024-07-20 09:08:12.223Z

                                                                                                                                                                Ah, I never even checked the code for ReRenders, I always export from Pro Tools when I bounce the ADM. I'll have a look!