RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

Android use Exoplayer drop frame ,Version 3.0.3 ultra #1906

Closed Aunter1992 closed 1 week ago

Aunter1992 commented 1 week ago

The issue: On the Android platform, using the MediaPlayer API does not drop frames, but using ExoPlayer results in frame drops.

Testing method:

  1. Use AVPro Video to play a video file with frame counting.
  2. Use an iPhone camera to record the playback, with the recording option set to HD 60fps.
  3. Review the recorded video frame by frame to identify frame drop issues.

TestVideo:

https://github.com/RenderHeads/UnityPlugin-AVProVideo/assets/21072395/740d94ca-fd90-4cc8-8e10-93c378c4913f

Testing environment: Unity2021.3.16 AVProVideo ultra 3.0.3

Special note: Using the ExoPlayer compiled from the media3 1.1.0 source code to play this video and testing with the same method does not result in frame drops.