RedChris
RedChris

Reputation: 523

Recorded video is the wrong orientation

I'm using mCamera.setDisplayOrientation(90); to rotate the camera.

This successfully changes the camera preview, but not the actual "camera" so the recorded video is still sideways. Is their a way to do this?

Upvotes: 6

Views: 2687

Answers (2)

Pavan Jaju
Pavan Jaju

Reputation: 883

this might help you

mMediaRecorder.setOrientationHint()

Upvotes: 9

Marcin Orlowski
Marcin Orlowski

Reputation: 75635

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."

Upvotes: 1

Related Questions