I need batch wav to mp2 encoding and best batch muxing auf m2v und mp2.

I want to do that, via folder actions. I can write the paths of m2v and mp2 files into the mux tools text fields, but I don't have an idea, how to get a known file to the open text field. pasting is not possible (scripting UI), open via file selection is to unsave and also not really and possible, and I have no idea, how to simulate drag&drop via Applescript.

So I thought, maybe I should use the direct terminal commands instead of scripting the UI of ffmpegX.

Can anyone give me the syntax for wav to mp2 encoding? I need, 192 kbit, mono, 48.000 Hz, CBR.

And how do I do muxing? Thanks and greetings,