Code for my Dec. 2011 MSDN Article - "Saving and Reusing Video Encoding Settings"