Hi folks i am trying to obtain the frames of video, convert it into an image and do some image processing and to display the same immediately. Its more like a mirror app. Now the problem is device's orientation while recording video. How can i change it to portrait mode? Any idea?