For which reason?
Considering mkv (which is good) I doubt you want to do that for portability.
I really like staxrip as it automatically downloads and configures the best open source apps available. Converting to h.264 however isn't "quick" - on a common machine you might get close to "realtime" encoding (~25 FPS).