I\'m using mCamera.setDisplayOrientation(90); to rotate the camera.
mCamera.setDisplayOrientation(90);
This successfully changes the camera preview, but not the actual \"camera\" so the
Video stream is never rotated - it is recorded as it comes. See the docs: "Set the clockwise rotation of preview display in degrees. This affects the preview frames and the picture displayed after snapshot."
this might help you
mMediaRecorder.setOrientationHint()