To set your video/audio settings once in avidemux, and then to encode a batch of videos automatically.
That being said, up to my knowledge, there are 2 APIs :
avidemux_cli.exe --help
The official documentation has an example in full tinypy (with lots of implicit procedures) , but if like me, you don’t feel confident in tinypy, the easiest way is to mix automatically-generated tinypy and another scripting language using the command line.
I fact, I already wrote the scripting part, but without any GUI ...
See Script for batch processing of multiple video with avidemux (2018)
November 2019 update : I received a mail from pipiscrew who also wrote a script in batch to automate the video conversion : https://www.pipiscrew.com/works/avidemux-cmd-script-for-batch-conversion/