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

The video freezes when playing 4K 60fps video for a while #1915

Open Aunter1992 opened 6 days ago

Aunter1992 commented 6 days ago

Problem description:

1、When using the ExoPlayer API on the Android platform to play local 4K60 video, the video freezes after playing for several minutes, but the audio continues to play normally. 2、In the Unity scene, only the AVPro Video plugin is used. 3、Avprovideo version, ultra 3.0.3

Device (which devices are you having the issue with - model, OS version number):

Model: Galaxy s20 5G ; OSVersion:Android 13

Media (tell us about your videos - number of videos, resolution, codec, frame-rate, example URLs):

codec:h264 resolution:3840x2160 url:https://www.alipan.com/s/SmXc5c9QiBo frame-rate:60

System Information:

AVPro Video: v3.0.3 (plugin v3.0.0f1-ultra) Target Platform: Android Unity: v2021.3.16f1c1 WindowsEditor OS: Desktop - 82JK (LENOVO) - Windows 11 (10.0.22631) 64bit - ChineseSimplified CPU: 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz - 16 threads - 32535KB GPU: NVIDIA GeForce RTX 3050 Ti Laptop GPU - NVIDIA - Direct3D 11.0 [level 11.1] - 3977KB - 16384

MorrisRH commented 5 days ago

Which rendering API are you using? (Vulkan or OpenGLES) If you're using OpenGLES, have you set the texture mode to YCbCr 420 OES?

Aunter1992 commented 5 days ago

OpenGLES, used bgra。

Aunter1992 commented 5 days ago

I tried OES, but the same situation still occurs."

Chris-RH commented 5 days ago
  1. Is it reproducible in a new project running only AVPro Video?
  2. Can you send us the file you are testing with please to unitysupport@renderheads.com
  3. Can you provide a full logcat in txt format
Aunter1992 commented 5 days ago
  1. Is it reproducible in a new project running only AVPro Video?
  2. Can you send us the file you are testing with please to unitysupport@renderheads.com
  3. Can you provide a full logcat in txt format
  1. yes,It is reproducible in a new project running only AVPro Video 2.you can download 4k 60 from here: https://4kmedia.org/tag/60-fps/
  2. logAvpro.zip