Add the possibility to specify the output directory per encoder