VideoView does not support video rotation, even if the composite matrix is set correctly and the rotation attribute is used.
What you can do is use TextureView and set its rotation = "90" attribute (for example). Then it will rotate the frames, but the aspect ratio is what you need to deal with yourself. For this you can use textTureView.setScaleX ((screenHeight * 1.0f) / screenWidth)
Read more here: Android video review rotation
source
share