I want to change the video width and height.The default out put of video file is 720x1280. I want to change it to 1280x720.But If I change the width and height in below line of code it stretches the video.
MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, 1280, 720);
setVideoSize() in CameraGLView Class call twice first time width=1280 and height=720 and second time width=720 and height=1280.
I want to change the video width and height.The default out put of video file is 720x1280. I want to change it to 1280x720.But If I change the width and height in below line of code it stretches the video. MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, 1280, 720);
setVideoSize() in CameraGLView Class call twice first time width=1280 and height=720 and second time width=720 and height=1280.