public static int getWidth(string output) { int width = 0; Dictionary <string, int> wh = VideoUtil.getWidthAndHight(output); if (wh.Count > 0) { width = wh["width"]; } return(width); }
public static int getHeight(string output) { int height = 0; Dictionary <string, int> wh = VideoUtil.getWidthAndHight(output); if (wh.Count > 0) { height = wh["height"]; } return(height); }