1

My app takes a video capture from the front camera and saves it to SD. Although the preview is just fine (after being rotated 90 degrees), the end result is tilt sideways.

Is there a way to save it properly?

JustAGuy
  • 5,151
  • 11
  • 41
  • 55
  • 1
    Do you want to (a) rotate camera input as it's being recorded, (b) do a second pass that rotates the video, or (c) rotate a video for playback? What API are you using for capture? – fadden Feb 25 '15 at 01:09

1 Answers1

1

What is being user for the recording? In case is it MediaRecorder take a look at the method setOrientationHint() and set it accordingly.

Kirill K
  • 771
  • 6
  • 17
  • Yes that function looks like what I need. I will test it out soon and accept your answer if applicable. Thanks – JustAGuy Feb 25 '15 at 18:59