Recorded video is the wrong orientation

后端 未结 2 783
长发绾君心
长发绾君心 2021-01-13 00:21

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

This successfully changes the camera preview, but not the actual \"camera\" so the

相关标签:
2条回答
  • 2021-01-13 01:01

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

    0 讨论(0)
  • 2021-01-13 01:10

    this might help you

    mMediaRecorder.setOrientationHint()

    0 讨论(0)
提交回复
热议问题