title: Android square video record with post proccessing
body: <p>I to allow users in my app to record video and then post process it. Basically all I need is to video to be square (low res, something about 400x400) and when recording is done then allow user to modify brightness/contrast.</p>
  
  <p>I did some research on that and found ffmpeg library which can do that. But I'm not sure if I am ok with its licensing. When I use ffmpeg do I have to release my app sources as well? My app will be free to download and use but I am not comfortable with its releasing sources.  </p>
  
  <p>Also about that square recording - as I am supporting API 14, android doesn't let me adjust resolution directly. There are 2 ways I think of:</p>
  
  <ol>
  <li>Record video file in 640x480, then resize/crop and after that allow user to do post processing. - totally need ffmpeg for that</li>
  <li>Capture CameraPreviewFrames - crop them as they go and render them into mp4 video, and after video is rendered then allow user to post process it further -  need ffmpeg for that as well.</li>
  </ol>
  
  <p>My question is then - may I use ffmpeg without any worries about licensing etc?
  Or is there any other library which allows me to do above and is open to use?</p>
  
  <p>Thanks very much</p>