Ask Your Question
0

What could be causing Android Exoplayer to produce distorted mp4 video on an ImageReader surface, despite the video playing smoothly on a SurfaceView on a Samsung Galaxy Tab S7?

asked 2022-09-12 11:00:00 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-03-29 02:00:00 +0000

plato gravatar image

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:

  1. Compatibility Issues: ImageReader surface and SurfaceView might have different properties or configurations, leading to compatibility issues.

  2. 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.

  3. ImageReader Properties: The ImageReader properties such as the size, format or buffer count, may not be optimal for playing the video.

  4. Codec Issues: There could be a codec issue with the particular MP4 format or the video playback settings of the Exoplayer.

  5. 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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2022-09-12 11:00:00 +0000

Seen: 14 times

Last updated: Mar 29 '23