Fixed #5 Windows encoding and improved regex for finding video dimensions