UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

[Android] Video with 96 kHz sampling rate has no sound on Meta Quest

Open MrRobar opened this issue 5 months ago • 2 comments

Unity version

2022.3.54f1

Unity editor platform

Windows

AVPro Video edition

Trial

AVPro Video version

3.2.6

Device hardware

Meta Quest 2/3

Which Android OS version are you using?

14

Unity Graphics API

OpenGLES 3

Video API

media3/ExoPlayer

Texture format

BGRA

Audio output

Unity

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

Apply to Mesh

Any other component configuration required to reproduce the issue.

No response

The issue

Videos with smapling rate of 96 kHz have no sound on Meta Quest 2/3. I set Video API to Exo Player in Android section in Platform Speicifcs. After I lauched build on Meta Quest 2/3 no audio was present in played video. I play video via Media Reference. Using ffmpeg I changed sampling rate of video to 48 kHz and sound appeared. Additionaly, changing Exo Player to MediaPlayer fixes sound problem, but perfomance drops down too much.

Steps to reproduce:

  1. Open demo project
  2. Open Demo_360Stereo scene
  3. Change Video API to Exo Player in Android Platform Specifics. Set Audio Output to Unity
  4. Build APK for Meta Quest, install and run it.

Media information

No response

Logcat output


MrRobar avatar Jun 17 '25 10:06 MrRobar