public VideoFormat ToVideoFormat () { return new VideoFormat (pixelFormat, height, width, framesPerSecond); } }