Exemplo n.º 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);
        }
Exemplo n.º 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);
        }