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.