There could be several reasons why Android Exoplayer is producing distorted MP4 video on an ImageReader surface, despite playing smoothly on a SurfaceView on a Samsung Galaxy Tab S7. Some possible reasons are:
Compatibility Issues: ImageReader surface and SurfaceView might have different properties or configurations, leading to compatibility issues.
Hardware Acceleration: The video player might be using hardware acceleration on the SurfaceView while it might not be supported or enabled for the ImageReader surface.
ImageReader Properties: The ImageReader properties such as the size, format or buffer count, may not be optimal for playing the video.
Codec Issues: There could be a codec issue with the particular MP4 format or the video playback settings of the Exoplayer.
Processing Overhead: The ImageReader surface might be putting extra processing overhead on the system, leading to distortion or glitches in the video playback.
To troubleshoot the issue, it is recommended to check the system logs, compare the settings and configurations between the two surfaces, try different MP4 video formats, check for software or library updates or seek help from the Exoplayer community.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-09-12 11:00:00 +0000
Seen: 14 times
Last updated: Mar 29 '23
How can I quickly showcase my videos similar to Instagram reels?
How can I add a video to the lower right corner of my WordPress website?
What is the method for incorporating subtitles into a video utilizing the ffmpeg filter?
How can I print the video and audio codec of a video with ffprobe?
How to embed the YouTube API video player without related videos appearing at the end (rel=0)?
How can I create an iframe that is responsive, with a video embedded in it?