I was just wondering if anyone knows of a command line encoder to encode AVI to MPG or from the DVD to MPG? I am new to this and am trying to make my own interface for my own personal use. I'm not looking for any warez files, just want to know if all encoders have interfaces or if there is an exe file i can pass the paremeters to.

Thanks!