Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }