title: I need to make a video that is 480 x 480, is this possible?
body: <p>I currently have a function that checks for all supported video sizes:</p>
  
  <pre><code>List&lt;Camera.Size&gt; cameraSizes = params.getSupportedPreviewSizes();
  for (int i = 0; i &lt; cameraSizes.size(); i++) {
  
                  Camera.Size cs = cameraSizes.get(i);
  
                  Log.i(TAG, cs.width + "x" + cs.height);
  
                  if (cs.width == 640 &amp;&amp; cs.height == 480) {
  
                      VIDEO_WIDTH = 640;
                      VIDEO_HEIGHT = 480;
  
                      break;
  
                  }else if (cs.width / 4 == cs.height / 3 &amp;&amp; cs.width &gt; 480) {
  
                      VIDEO_WIDTH = cs.width;
                      VIDEO_HEIGHT = cs.height;
  
                      break;
                  }
  } 
  </code></pre>
  
  <p>Now, if i have the rezolution of 640 x 480 available, is it possible to crop a square of 480x480 and only record that data?</p>