this would probably be better answered in either the software or video forum... but as for your question, there are many sites on this topic but i find
this one to be a good one. personally, i use vobdec to rip the .vob files and flask to encode them