Recording video on Android using JavaCV (Updated 2014 02 17)
I'm trying to record a video in Android using the JavaCV lib. I need to record the video in 640x360. I have installed everything as described in README.txt file and I followed the example as below: https://code.google.com/p/javacv/source/browse/samples/RecordActivity.java In this example, the video size is this: private int imageWidth = 320; private int imageHeight = 240; In my case, I need to record a video in 640x360 H.264. (UPDATE) I have reverted my code and kept exactly like in the example, just changing imageWidth and imageHeight to 640x360. Now I'm getting the video like this image: