I want to put all my movies from DVD's and Blurays on a machine running Mezzmo. What is the best format to convert them into?

Right now I'll watch them from my PS3. But later it might be an Xbox, a Samsung TV, an IPad or an Android fridge.

So Mezzmos transcoding features sounds great. But what is the best base format for Mezzmo to work with? Any format that will give better performance or better quality?

Any input would be greatly appreciated.