dBpowerAMP isn't scriptable through the command line, but it does have an API. I wrote a quick Delphi app to use hymn and dBpowerAMP to transcode my iTunes songs before the newer version of iTunes broke hymn. Maybe I can tweak it to do what you want it to...check back with me tomorrow.
_________________________
~ John