I can't recommend this freebie enough try out AutoMKV (
AutoMKV 0.92a - (DVD/TS/AVI/AVS to X264/XviD/WVC1 into MKV/MP4/WMV) update 27/11/2007 - Doom9's Forum).
It does WMV encoding and allows you to choose audio tracks with a drop-down menu. I THINK it supports OGM files for input, but I'm not sure. Give it a shot.
If you can't get it to work, just post your problem in that forum I just linked to and the guy who writes it will answer you in a matter of hours telling you exactly how to get what you want to do with it done.
That dude doesn't get paid for any of this, and what he does is monumental, so be sure to thank him
