Hi,
when I record a video in an app (sport.video) in landscape, the stored video shrinks/distorts to portrait view ratio. I tried every orientation (with/without auto-rotate, different device orientations), but the video always gets stored in portrait size:
The app forces to record in landscape.
To test other views, I used an app to force the recording in other orientations. Recording in landscape had no effect and had the same result as above. Recording in portrait had a similar effect to the video, it expands/distorts the video to landscape size (already while recording).
Is there maybe a setting where I can set the camera orientation?
Surface surface = new Surface(mTextureView.getSurfaceTexture());
mMediaRecorder.setPreviewDisplay(surface);
mMediaRecorder.setOutputFile(file.getAbsolutePath());
Demo provides two ways to use HDMI-IN.
(1) Use Camera2 API interface. The Camera interface can capture and record input video data. Up to 1080P@60.
(2) Use Tv API interface. The Tv interface can only display input video data and does not support setting resolution.
The app was not developed by me and so far I have never received a response from the developer. So I don’t have much hope that something will be adjusted in the app itself as it is not a problem with other android mobile phones.