I have an application where the the user can record video. The app is designed to be used in portrait. The camera preview is fine however when I watch the video back is is rotated to the side.I know you cannot modify the camera stream, and the way you could do it is to rotate the video after which would be a heavy task. I was asking do you know how the standard android camera gets around this, on the normal camera you can record portrait and the recorded video is portrait.
Any help would be appreciated.