Media Capture, how to use ConfigurationData

I’m trying to use ConfigurationData object, and can’t get my head around how to actually use it. I’m trying to change the width and height of my video file. Please help! Many thanks!